[mrtg] Re: MRTG & MIB usage - need help

kelsey hudson khudson at tsss.org
Sat Oct 15 17:38:39 MEST 2005

From: Nik DuVall:
> I am trying to get the CPU Utilization from my Adtran NetVanta 1224R, yet I
> have not figured out how to setup my config file properly.  Can someone
> please help me do so? 


> Adtran MIB file I am using can be found on the web at
> http://www.adtran.com/adtranpx/Doc/0/J5NCO4DS9D3KL06RTN3SL96D0C/adunit.mib

Looks good.


> ### CPU Utilization ###
> Target[]:
> adUnitCpuUtil&adUnitCurrentCpuUtil:public at
> Title[]: CPU Utilization
> MaxBytes[]: 100
> Options[]: integer gauge noo
> PageTop[]: dummy

aha. herein lies your problem:

adUnitCpuUtil is a class, where adUnitCurrentCpuUtil is an identifier, 
you probably want something like:

adUnitCpuUtil.adUnitCurrentCpuUtil.0&adUnitCpuUtil.adUnitCurrentCpuUtil.0:public at

as your target. If that doesn't work, try removing the .0 from the end 
of the OID. It also appears as though you're running windows. If you 
have the cygwin tools installed or access to a unix box with the 
net-snmp utils installed, you might want to load that MIB into snmpwalk 
and walk the device's tree. That way, you'd know exactly which OID to probe.

> ================
> C:\MRTG\bin>perl mrtg test.cfg
> Daemonizing MRTG ...
> Do Not close this window. Or MRTG will die
> Use of uninitialized value in concatenation (.) or string at
> C:/MRTG/bin\..\lib\

Hope this helps out some ...


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list