[mrtg] Get CPU and Harddrive Utilization

Pfirter Lukas lp at rpag.ch
Fri Jun 15 16:03:34 CEST 2007


Hi guys,

Thanks for help, looks like "laLoadInt" was what I needed for CPUs.
I found the corresponding OID on http://its.magik.ch/pages/mrtg-snmpd.txt: 1.3.6.1.4.1.2021.10.1.5.1
--> Target[server]: 1.3.6.1.4.1.2021.10.1.5.1&1.3.6.1.4.1.2021.10.1.5.1:COMMUNITY at IP
On windows, the OID for this was: 1.3.6.1.2.1.25.3.3.1.2.2. I think the one for Linux is net-snmp specific.

The HD works almost under the same OID as under Windows.
http://snmpboy.msft.net/pub/mrtg.cfg.txt says: 1.3.6.1.2.1.25.2.3.1.6.1
For my environment, the following worked:
Target[webser11-hdd]: 1.3.6.1.2.1.25.2.3.1.6.4&1.3.6.1.2.1.25.2.3.1.6.4:COMMUNITY at IP / 1.3.6.1.2.1.25.2.3.1.5.4&1.3.6.1.2.1.25.2.3.1.5.4:COMMUNITY at IP * 100

I think different harddrives on one server have a different last digit of the OID 1.3.6.1.2.1.25.2.3.1.6.X

Thanks again,
Lucas




-----Ursprüngliche Nachricht-----
Von: Michael Schwartzkopff [mailto:misch at multinet.de] 
Gesendet: Freitag, 15. Juni 2007 11:47
An: Pfirter Lukas
Betreff: Re: [mrtg] Get CPU and Harddrive Utilization

Am Freitag, 15. Juni 2007 11:07 schrieb Pfirter Lukas:
> Hi list,
>
(...)
> But I didn't find out anything about the specific OIDs I need for CPU 
> and HDD utilization. Did you ever query CPU/HDD on your linux box with 
> net-snmp installed?
> I could use an example config file to see the OIDs I need...
> Thanks!
>
> Lucas

See:
http://www.linuxmagazin.de/heft_abo/ausgaben/2006/03/fernsicht

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

--
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42



More information about the mrtg mailing list