Monitor Beans [message #14684] |
Thu, 05 July 2007 16:15 |
jpastore
Messages: 21 Registered: July 2007 Location: South Florida
|
Junior Member |
|
|
I would like to start by saying I'm new to contributing to open source projects. I've definitely used enough over the past decade and always wanted to be able to give something back. I did a little looking around and couldn't find something that would monitor bean counters so I wrote a quick and dirty perl script to run in a cronjob and email me if the bean counters increase or the disk quota goes over 80%.
If anyone would like to modify/improve this script feel free...I hope this helps other people as it has us with the numerous issues that arose from using openvz and not knowing that these bean counters are the source of the problem.
We've quickly resolved any issue where things didn't work when we were trying to get them going, but for stuff like ProFTPd where we need feed back from users...and we all know how well that works out...this has proven to keep us in a more proactive support situation.
CRON entry:
MAILTO=jpastore@mydomain.com
0,15,30,45 * * * * /opt/monitor_beans/monitor_beans.pl
Comments welcome...
|
|
|