[mrtg] Re: Getting collisions on CISCO : problem using mrtg and O ID

Bishop, Dean dean.bishop at tcdsb.org
Fri Nov 8 13:48:31 MET 2002


good morning,

	i am not sure why there is, what appears to be an E-mail address in
your config's target parameter.  is this just an E-mail formatting problem
or does this exist in your config?

if it is in your config, remove it.  Ala:
Target[10.0.0.1]:
1.3.6.1.4.1.9.2.2.1.1.25.25&1.3.6.1.4.1.9.2.2.1.1.25.25:public at 10.0.0.1


hope this helps,
dean


--
dream outloud
-----Original Message-----
From: Michaël Tahot [mailto:Michael.Tahot at activcard.fr]
Sent: Thursday, November 07, 2002 9:19 PM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Getting collisions on CISCO : problem using mrtg and OID


Hello, 
 
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
MRTG, I 
    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
 
Target[10.0.0.1]: 1.3.6.1.4.1.9.2.2.1.1.25.25&1.3.6.1.4.1.9.2.2.1.1.25.25:pu
blic@ <mailto:blic at 10.0.0.1> 10.0.0.1
MaxBytes[10.0.0.1]: 100000
Title[194.98.219.1]: 10.0.0.1 - cisco
PageTop[10.0.0.1]: 10.0.0.1 - cisco
 
# NOTE: You may need to change the options below to reflect this type of MIB
 
Options[10.0.0.1]: unknaszero
YLegend[10.0.0.1]: locIfCollisions
ShortLegend[10.0.0.1]:
Legend1[10.0.0.1]: locIfCollisions
Legend2[10.0.0.1]: .
Legend3[10.0.0.1]: Max value per interval on graph
Legend4[10.0.0.1]: .
LegendI[10.0.0.1]:
LegendO[10.0.0.1]: .
Colours[10.0.0.1]: GREEN#00eb0c,BLUE#EEEEEE,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[10.0.0.1]: 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: 1.3.6.1.4.1.9.2.2.1.1.25.25)
SNMPv1_Session (remote host: "10.0.0.1" [10.0.0.1].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 1.3.6.1.4.1.9.2.2.1.1.25.25 1.3.6.1.4.1.9.2.2.1.1.25.25
sysU
ptime sysName on  <mailto:public at 194.98.219.1> public at 194.98.219.1
 at ../bin/mrtg line 1620
WARNING: skipping because at least the query for 1.3.6.1.4.1.9.2.2.1.1.25.25
on
 10.0.0.1 did not succeed
ERROR: Target[10.0.0.1][_IN_] ' $$target[0]{$mode} ' did not eval into defin
ed data
ERROR: Target[10.0.0.1][_OUT_] ' $$target[0]{$mode} ' did not eval into defi
ned data
WARNING: Skipping Update of 10.0.0.1, inlast is not defined
WARNING: Skipping Update of 10.0.0.1, outlast is not defined
-------------------------------------------------------
Michaël Tahot 
IT Manager 
ActivCard 

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

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

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