black123

Member
Dec 28, 2006
15
0
151
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.
 

arabws

Member
Dec 28, 2006
8
0
151
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.
Try to use Munin Service Monitor
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
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.
 

mambovince

Well-Known Member
Jan 15, 2005
193
0
166
London, UK
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)
Hi,
I thought I'd try that from within cPanel cron setup, but it cuts it off, and I suppoe it won't work anyway on a reseller account?
(cd /usr/bin; ./uptime 2>&1 | mail -s
- Vince
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
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

Well-Known Member
Mar 3, 2006
1,212
0
166
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
 

voidsecurity

Member
Mar 1, 2007
6
0
151
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 protected]

fi