[mrtg] Getting collisions on CISCO : problem using mrtg and OID

Michaël Tahot Michael.Tahot at activcard.fr
Fri Nov 8 03:18:47 MET 2002

I'm a newby to MRTG, here is my problem : 
    I'm trying to gather collisions from my CISCO boxes using MRTG
    I have found a sample script on SOMEX but when I run the script with
    encounter a problem
    Does anyone has an idea ? 
    Thanks in advance
Here is the script 
# cisco - locIfCollisions
# This configuration was generated by
# Somix Technologies, Inc (www.somix.com <http://www.somix.com> ) - Dynamic
Template Assembler
# Example CFGNAME : [DEVICE NAME]-cisco_locIfCollisions
WorkDir: /var/www/html/mrtg/test
blic@ <mailto:blic at>
MaxBytes[]: 100000
Title[]: - cisco
PageTop[]: - cisco
# NOTE: You may need to change the options below to reflect this type of MIB
Options[]: unknaszero
YLegend[]: locIfCollisions
Legend1[]: locIfCollisions
Legend2[]: .
Legend3[]: Max value per interval on graph
Legend4[]: .
LegendO[]: .
WithPeak[]: ymw

Here is the problem I encounter 
[root at conf]# env LANG=C ../bin/mrtg mrtg-collision.cfg
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID:
SNMPv1_Session (remote host: "" [].161)
                  community: "public"
                 request ID: -1718300897
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 458
SNMPGET Problem for
ptime sysName on  <mailto:public at> public at
 at ../bin/mrtg line 1620
WARNING: skipping because at least the query for
on did not succeed
ERROR: Target[][_IN_] ' $$target[0]{$mode} ' did not eval into defin
ed data
ERROR: Target[][_OUT_] ' $$target[0]{$mode} ' did not eval into defi
ned data
WARNING: Skipping Update of, inlast is not defined
WARNING: Skipping Update of, outlast is not defined
Michaël Tahot 
IT Manager 

24-28 Av du Général De Gaulle 
92156 Suresnes Cedex 

http://www.activcard.com <http://www.activcard.com/>  
Phone  : + 33 1 42 04 84 00 
Fax       : + 33 1 42 04 84 84 

The Information in this email and any attachments is confidential and may
also be legally privileged. If you are not the intended recipient, you must
not read, copy, use, or disclose that information, and you are not
authorized to retain it in any form nor to re-transmit it, and you should
destroy this email unread.


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

More information about the mrtg mailing list