[CentOS] Graphing System Load MRTG

lhecking at users.sourceforge.net lhecking at users.sourceforge.net
Tue Dec 21 16:41:45 UTC 2010


Matt writes:
> I check system load like so:
> 
> [root at 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?

$ uptime
 16:40:45 up 7 days, 54 min, 20 users,  load average: 0.17, 0.17, 0.12
$ snmpget -c community -v2c localhost UCD-SNMP-MIB::laLoadInt.1
UCD-SNMP-MIB::laLoadInt.1 = INTEGER: 14
$ snmpget -c community -v2c localhost UCD-SNMP-MIB::laLoadInt.2
UCD-SNMP-MIB::laLoadInt.2 = INTEGER: 17
$ snmpget -c community -v2c localhost UCD-SNMP-MIB::laLoadInt.3
UCD-SNMP-MIB::laLoadInt.3 = INTEGER: 11
$ 



---------------------------------------------------------------
This message and any attachments may contain Cypress (or its
subsidiaries) confidential information. If it has been received
in error, please advise the sender and immediately delete this
message.
---------------------------------------------------------------




More information about the CentOS mailing list