Search the web
Sign In
New User? Sign Up
mrtg
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[mrtg] Re: MRTG & MIB usage - need help   Message List  
Reply | Forward Message #36904 of 36905 |
[mrtg] Re: MRTG & MIB usage - need help


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?

[..snip..]

> 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.

[..snip..]

> ### CPU Utilization ###
>
> Target[192.168.1.1-CPU]:
> adUnitCpuUtil&adUnitCurrentCpuUtil:public@...:::::2
> Title[192.168.1.1-CPU]: CPU Utilization
> MaxBytes[192.168.1.1-CPU]: 100
> Options[192.168.1.1-CPU]: integer gauge noo
> PageTop[192.168.1.1-CPU]: 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\
@192.168.1.1:::::2

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.

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

Hope this helps out some ...

-Kelsey

--
Unsubscribe mailto:mrtg-request@...?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




Sat Oct 15, 2005 3:38 pm

khudson@...
Send Email Send Email

Forward
Message #36904 of 36905 |
Expand Messages Author Sort by Date

I'm not familiar with the Adtran snmp stuff, but are you sure it supports SNMP verion 2? Have you tried it using using version 1? Kevin ... From: Nik DuVall...
Hart, Kevin
KHart@...
Send Email
Oct 15, 2005
5:11 am

... [..snip..] ... Looks good. [..snip..] ... aha. herein lies your problem: adUnitCpuUtil is a class, where adUnitCurrentCpuUtil is an identifier, you...
kelsey hudson
khudson@...
Send Email
Oct 15, 2005
5:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help