[mrtg] MRTG & MIB usage - need help

Nik DuVall nik.duvall at gmail.com
Thu Oct 13 23:00:23 MEST 2005


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



More information about the mrtg mailing list