i am looking for a free server load monitoring tool which will email me about the load on the server on a frequent interval.
Please let me know if there is any such free software to install on the server.
An help is greatly appreciated.
i am looking for a free server load monitoring tool which will email me about the load on the server on a frequent interval.
Please let me know if there is any such free software to install on the server.
An help is greatly appreciated.
create a cronjob from the uptime command if thats all you need.
crontab -e
* */1 * * * (cd /usr/bin; ./uptime 2>&1 | mail -s "System load" your.email.com)
The above example will email the load and uptime to you every hour. "System load" is the email subject and of course change your email to your real address.
You can mail yourself a report the same way with any command you like such as netstat, ps and top or anything you like.
if you need extensive monitoring you can take look at the www.nagios.org
hope that helps
Affordable Linux Server Managament Solution
http://www.linuxnetworkcare.com/services/cpanel.php
[ Phone: 647-722-5303 MSN : sutha@linuxnetworkcare.com AIM : xerophytev skype:ksutha5]
you could consider a VPS over a whm. Its not much more but you have your own operating system to setup and root access.
jayh38,
I have 2 VPS and 2 dedi elsewhere, but I need this simple reseller WHM as well.
Any other way/script to log server load on this setup?
Many thanks,
- Vince
does your host allow php commands such as shell_exec? if yes it may be worth writing a php script to get the uptime and e-mail it to you, and run that on a cron?
As Nickp666 says, you can call a php script to do the job for you if your provider allows that. I personally do not on my servers. As a matter of fact, I do not even show system status to clients in cpanel or whm either. Out of site out of mind and it saves many headaches. Its only my business and concern to manage my boxes. My clients need not worry about things out of their control. All they know is their heavy forum scripts and photo pages load lightning fast and they are happy.
good luck
Custom bash script is a great, low resource usage option. Munin is a resource muncher IMO.
Upload Guardian 2.0 - Sign up for our early beta
ServerProgress - Server security, consulting and assistance
here is a simple bash monitoring script...
#!/bin/bash
load=`uptime | awk '{print $(NF-2)}' | cut -d. -f1`
if [ $load -gt 4 ]
then
echo `uptime` | mail -s "server load is $load" email@domain.tld
fi
Cacti (http://cacti.net/) is an excellent open source monitoring tool with great community support. You could even install it locally on the server you speak of... the footprint is small and overhead is minimal.
If it applies to you, it also comes RTR (ready to run) as a virtual machine (http://virtualappliances.net/products/cacti.php)
-Sean