On 12/21/2010 10:25 AM, Matt wrote:
I check system load like so:
[root@server cron.daily]# w 10:07:33 up 4 days, 15:01, 2 users, load average: 4.22, 3.17, 3.09
I would like to to graph the 3.17 5 minute average with MRTG. Anyone know of some examples of doing this?
Where you should start depends on how much else you would like to monitor. Cacti is probably the easiest thing to set up for a small number of machines and not unreasonable for a single host monitoring itself. I like OpenNMS but it is overkill for a small setup.
I already have MRTG installed and am somewhat familiar with it. Graph interfaces with it. I was thinking an MRTG config and perhaps a shell script for it to call.
You can do that - but if you install cacti it is already set up with the web interface to view it and a framework to add other things. You do need to set up snmpd if you haven't already - although it has been a while since I used cacti - it might have something special for localhost collection.