[mrtg] Problem with CPU Graphing with MRTG
Steve Shipway
s.shipway at auckland.ac.nz
Thu Jul 31 00:56:02 CEST 2008
> # Active CPU Measurement
> Target[site.cpu]:
> 1.3.6.1.4.1.3224.16.1.2.0&1.3.6.1.4.1.3224.16.1.2.0:community at site
> MaxBytes[site.cpu]: 100
> Options[site.cpu]: growright,nopercent,nolegend
...
> [mrtg at sitemanager ]$ snmpget -v 1 -c community site
> 1.3.6.1.4.1.3224.16.1.2.0 SNMPv2-SMI::enterprises.3224.16.1.2.0 = INTEGER:
> 50
Probably, what you are seeing is a graph of all zeros apart from the occasional 1 or 2, right?
You've missed out the 'gauge' option. This is required since the OID you are monitoring is not a Counter, you want to graph its value directly (as opposed to a network 'total bytes' counter, where you want to graph the rate of change, which is the default with MRTG)
Steve
More information about the mrtg
mailing list