[mrtg] Linux cpu monitoring

Max Hetrick maxhetrick at verizon.net
Thu Jan 17 14:00:05 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Neil Lathwood wrote:

> I've been trying to graph some linux cpu values to find out the cpu %
> usage of a server. I've searched the archives and got what I thought was
> the correct config. However the results I am getting back are hitting
> the 1000's rather than say 12%.

Hi, Neil.

I'm graphing Linux CPU load with this config option and it displays as
0.0 to 100.0 on the graph. Try this one.

Target[desktop1]:
1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:public at desktop1 +
1.3.6.1.4.1.2021.11.52.0&.1.3.6.1.4.1.2021.11.52.0:public at desktop1 +
.1.3.6.1.4.1.2021.11.51.0&.1.3.6.1.4.1.2021.11.51.0:public at desktop1
MaxBytes[desktop1]: 100
Title[desktop1]: CPU LOAD
PageTop[desktop1]: <H1>Active CPU Load %</H1>
Unscaled[desktop1]: ymwd
ShortLegend[desktop1]: %
YLegend[desktop1]: CPU Utilization
Legend1[desktop1]: Active CPU in % (Load)
Legend2[desktop1]:
Legend3[desktop1]:
Legend4[desktop1]:
LegendI[desktop1]:  Active
LegendO[desktop1]:
Options[desktop1]: growright,nopercent

You may need to change the OID value for the specific CPU parameter you
have listed.

Regards,
Max

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHj1FVIXSX/6LmsXkRAqiAAJ4uNv4345tPk9FpPUJd2x03gEo6tQCgkg1n
4a/T03avys3L+X5ywZzFwDw=
=VTDj
-----END PGP SIGNATURE-----



More information about the mrtg mailing list