[mrtg] Get CPU and Harddrive Utilization

Max Hetrick btmanmeh at verizon.net
Fri Jun 15 16:24:02 CEST 2007


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

Pfirter Lukas wrote:

> 
> CPU:enterprises.2021.10..., i.e. laLoadInt
> HDD: enterprises.2021.9... i.e. dskPercent
> 

I got the CPU load to work this way:

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

It's been running now for about 25 minutes, and I'm wathcing my system
monitor. It's dead on with the load.

The reference I used was this:

http://net-snmp.sourceforge.net/tutorial/tutorial-5/mrtg/index.html

Regards,

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

iD8DBQFGcqECHoeeepPau2ERAu8YAKDWRqkftvgyqtugiLoHIXQcfa1qRQCeP64K
h1PRxXu67DQLLT9xb0q1320=
=i4LW
-----END PGP SIGNATURE-----



More information about the mrtg mailing list