[mrtg] Problem with CPU Graphing with MRTG
patgrogan at grogotech.bpa.nu
Wed Jul 30 07:11:03 CEST 2008
I am new to mrtg, but despite that I have managed to get mrtg to display
nearly all the data I need. However when it comes to CPU I unable to get any
data displaying in my graph.
Here is my mrtg configuration for the cpu measurement. I put this together
from a couple of different examples I found on the internet. I have repeated
the same OID twice as I only want to graph the single figure:
# Active CPU Measurement
188.8.131.52.4.1.3184.108.40.206.0&220.127.116.11.4.1.318.104.22.168.0:community at site
Title[site.cpu]: CPU Load
PageTop[site.cpu]: <H1>Active CPU Load %</H1>
YLegend[site.cpu]: CPU Utilization
Legend1[site.cpu]: Active CPU in % (Load)
When I check the log file, the top line has an accurate figure:
[mrtg at sitemanager ]$ head -1 site.cpu.log
1217393401 50 50
[mrtg at sitemanager ]$ snmpget -v 1 -c community site
22.214.171.124.4.1.3126.96.36.199.0 SNMPv2-SMI::enterprises.3188.8.131.52.0 = INTEGER:
[mrtg at sitemanager ]$
However I never see any of the data displayed on the graph.
Any ideas would be most appreciated.
More information about the mrtg