Pat ACT
2008-07-30 04:56:28 UTC
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:
# 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:***@site
MaxBytes[site.cpu]: 100
Options[site.cpu]: growright,nopercent,nolegend
Title[site.cpu]: CPU Load
PageTop[site.cpu]: <H1>Active CPU Load %</H1>
Unscaled[site.cpu]: ymwd
ShortLegend[site.cpu]: %
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:
[***@sitemanager ]$ head -1 no-tdc.cpu.log
1217393401 50 50
[***@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
[***@sitemanager ]$
However I never see any of the data displayed on the graph.
Any ideas would be most appreciated.
Thanks,
Pat Grogan
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:
# 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:***@site
MaxBytes[site.cpu]: 100
Options[site.cpu]: growright,nopercent,nolegend
Title[site.cpu]: CPU Load
PageTop[site.cpu]: <H1>Active CPU Load %</H1>
Unscaled[site.cpu]: ymwd
ShortLegend[site.cpu]: %
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:
[***@sitemanager ]$ head -1 no-tdc.cpu.log
1217393401 50 50
[***@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
[***@sitemanager ]$
However I never see any of the data displayed on the graph.
Any ideas would be most appreciated.
Thanks,
Pat Grogan