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

Hart, Kevin KHart at helixtechnology.com
Sat Oct 15 06:52:36 MEST 2005


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


-----Original Message-----
From: Nik DuVall [mailto:nik.duvall at gmail.com] 
Sent: Thursday, October 13, 2005 5:00 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG & MIB usage - need help

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 CONFIG CONTENTS
======================
snmp-server chassis-id "Adtran_NV1224R"
snmp-server enable traps snmp
snmp-server source-interface vlan 1
snmp-server community public RO NMS
snmp-server community private RW NMS
snmp-server host 192.168.0.1 traps version 2c public

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




MRTG CONFIG FILE CONTENTS
=========================
WorkDir: C:\InetPub\wwwroot\MRTG
LogFormat: rrdtool
PathAdd: C:\mrtg\rrdtool\rrdtool\Release
LoadMIBs: C:\mrtg\bin\adunit.mib
RunAsDaemon: yes
EnableIPv6: no

######################################################################
# System: nduvall-adtran-nv1224r
# Description: NetVanta 1224R, Version: 10.01.00.SC, Date: Wed Aug 17
14:02:05 2005
# Contact: Nik DuVall 334-745-4486
# Location: 178 LEE RD 126, Salem, AL 36874
######################################################################

### CPU Utilization ###

Target[192.168.1.1-CPU]:
adUnitCpuUtil&adUnitCurrentCpuUtil:public at 192.168.1.1:::::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




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\
mrtg2/SNMP_util.pm line 1266, <MIB> line 66.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1588.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1605.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1613.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1623.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1632.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 1642.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 2124.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3646.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3663.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3671.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3681.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3690.
Use of uninitialized value in concatenation (.) or string at
C:/MRTG/bin\..\lib\
mrtg2/SNMP_util.pm line 1266, <MIB> line 3700.
cannot encode Object ID .30.3.4: first subid too big in Object ID 30.3.4 at
mrtg
 line 1921
ERROR: Target[192.168.1.1-cpu][_IN_] ' $target->[2]{$mode} ' did not eval
into d
efined data
ERROR: Target[192.168.1.1-cpu][_OUT_] ' $target->[2]{$mode} ' did not eval
into
defined data


Regards,
Nik DuVall




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

This message is intended only for the use of the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential, and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, or the employee or agent
responsible for delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, please delete it and notify Helix Technology
Corporation immediately.

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