On 01/05/2011 09:33 PM, Jobst Schmalenbach wrote: > On Tue, Dec 21, 2010 at 10:09:30AM -0600, Matt (lm7812@xxxxxxxxx) 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? > Make yourself a script, include this: [...] That is doing it the hard way. Use scripts only if there isn't an OID for what you want. Target[hostname_load]: laLoadInt.2&laLoadInt.2:community@host:::::2 RouterUptime[hostname_load]: community@host:::::2 MaxBytes[hostname_load]: 30000 Title[hostname_load]: System Load Factor[hostname_load]: 0.01 YTicsFactor[hostname_load]: 0.01 YLegend[hostname_load]: System Load Legend1[hostname_load]: Load Legend2[hostname_load]: Legend3[hostname_load]: Legend4[hostname_load]: LegendI[hostname_load]: Load LegendO[hostname_load]: ShortLegend[hostname_load]: load Options[hostname_load]: gauge,growright,nopercent Directory[hostname_load]: hostname Make sure you load the correct MIB otherwise you might have to use the OID instead of the symbolic name. LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt -- Benjamin Franz _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos