First of all, I want to say thanks to Ben for his relentless support helping other users with their issues and constantly providing updates to the memCron code base due to some of the recent DreamHost PS changes. After spending the weekend polishing up the improvements contributed by Ben and Bret, memCron 0.6 is finally here.
Here’s a list of notable changes:
- Removed dependency on modules with built-ins and system utilities, including SendMail, LWP etc.
- Get memory info from /proc/meminfo
- Get current memory size from API rather than OS
- New option to disable updates
- New options to send out notification when changing memory setting or getting API errors
- New chart formatting options: target memory, cached memory
- Now display http server name instead of actual PS name on the graph page for extra security
Download: memCron 0.6 (34.12 KB)
Please give this new version a try if you’re having issues with the older versions.
To upgrade, follow step 1-3 listed here. FYI, the old “zscore.pl” is no longer used and can be safely removed.
{ 2 trackbacks }
{ 120 comments… read them below or add one }
← Previous Comments
Brett I would like to try ASIS the VPSmonitor&Reboot VBScript you mentioned before.
Dreamhost turns to be NightmareHost with those VPSfreezing scripts that finally force webmasters to increase memory limits and pay more to DH.
Are those scripts for good, or they are just a sneaky way for DH to make more money ?
OK… here’s the link for the Windows VBScript VPS monitor. Provided ASIS. This is a .wsf file and there are instructions at the top for configuring.
http://pastebin.com/LRs3iaCa
PsManager has served my resizing and rebooting needs quite well:
http://www.7is7.com/software/dreamhost/psmanager.html
I have set it to run per minute.
Is there a way to set the emails per hour, bec I get email every minute. lol
Thanks.
Put this line before your crontab entry:
MAILTO=”"
That disables output from the job, but it should continue to send you alerts when it changes the memory if you have that option on in the config.
I would like to receive email every hour, not every minute.
Well, memcron wasn’t originally designed to produce email. An alert option was added at some point to alert you when a change was made, that’s all that exists currently. I’m not the official maintainer, but I did add some time-based code in recent changes I made, so I’ll add it to my list for the next time I work on it. It shouldn’t be too hard to add that as a configurable feature, especially considering that I added all the job output to the alert messages in the last round. Just a matter of generating an alert every x minutes.
OK… one more try here. The memcron.pl had an issue with the process counter, so here’s the fixed version: http://pastebin.com/LsRw1rKQ
← Previous Comments