| Computers Forum Index » Computer - DCOM - Net Management » CPU monitoring with MRTG... |
|
Page 1 of 1 |
|
| Author |
Message |
| Pat ACT... |
Posted: Wed Jul 30, 2008 4:56 am |
|
|
|
Guest
|
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:community at (no spam) 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:
[mrtg at (no spam) sitemanager ]$ head -1 no-tdc.cpu.log
1217393401 50 50
[mrtg at (no spam) 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
[mrtg at (no spam) sitemanager ]$
However I never see any of the data displayed on the graph.
Any ideas would be most appreciated.
Thanks,
Pat Grogan |
|
|
| Back to top |
|
|
|
| Niels Baggesen... |
Posted: Wed Jul 30, 2008 10:19 pm |
|
|
|
Guest
|
Pat ACT <patgrogan at (no spam) grogotech.bpa.nu> wrote:
Quote: 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:community at (no spam) site
MaxBytes[site.cpu]: 100
Options[site.cpu]: growright,nopercent,nolegend
If the value returned is really the load in %, you should add gauge to
your options.
/Niels
--
Niels Baggesen -- at (no spam) home -- Århus -- Denmark -- niels at (no spam) baggesen.net
The purpose of computing is insight, not numbers -- R W Hamming |
|
|
| Back to top |
|
|
|
|