[mrtg] Re: Confused! 5509 Blues!

Vern Dias tvdias at charter.net
Tue Dec 30 12:46:10 MET 2003


----- Original Message ----- 
From: "Stephen Hughes" <stephen at belfastcityairport.com>
To: <mrtg at list.ee.ethz.ch>
Sent: Tuesday, December 30, 2003 3:20 AM
Subject: [mrtg] Confused! 5509 Blues!


> Hello all.
>
> This is my second posting to the mailing list. Im afraid i will probably
annoy most of you all but i have no where else to turn to:)
>
> I have a Cisco 5509. I want to monitor ports on it. I have done an ifindex
on the router and have the ifnumbers. I went to Somix, got the template they
provide. It simply will not work (see below for error). I had no problem
what so ever monitoring some Cisco 1924 switches with somix's templates.
What is different about the 5509?
>
> I am quite new to SNMP i must admit and it is by far the complicated thing
i have ever come across. (or maybe i am as stupid as i look ;) )
>
> Also... I can do an snmpwalk fine.. i have absolutely no idea how to tell
what info from a walk is usefull to me for to monitor ports....
>
>
> Here is the error i am getting:
>
> SNMP Error:
> Received SNMP response with error code
>   error status: noSuchName
>   index 1 (OID: 1.3.6.1.2.1.2.2.1.10.114)
> SNMPv1_Session (remote host: "57.30.254.3" [57.30.254.3].161)
>                   community: "bhdpub"
>                  request ID: -897006547
>                 PDU bufsize: 8000 bytes
>                     timeout: 2s
>                     retries: 5
>                     backoff: 1) at D:/Mrtg/bin\..\lib\mrtg2/SNMP_util.pm
line 486
> SNMPGET Problem for ifInOctets.114 ifOutOctets.114 sysUptime sysName on
bhdpub at 57.30.254.3::::::v4only at mrtg line 1798
> ERROR: Target[aaa][_IN_] ' $target->[0]{$mode} ' did not eval into defined
data
> ERROR: Target[aaa][_OUT_] ' $target->[0]{$mode} ' did not eval into
defined data
>
> WARNING: Skipping Update of aaa, inlast is not defined
> WARNING: Skipping Update of aaa, outlast is not defined
>
>
> Here is the script i am running. (i have shortened it until i get it
working)
>
> WorkDir: d:\output
> Refresh: 300
> RunAsDaemon: Yes
> EnableIPv6: no
> Interval: 5
>
> Target[aaa]: 114:bhdpub at 57.30.254.3
> MaxBytes[aaa]:  12500000
> Options[aaa]:  bits, unknaszero
> Title[aaa]:  Fiber Port 1 (Module 3)
> PageTop[aaa]:  <H1>Fiber Port 1 (Module 3)</H1>
> YLegend[aaa]:  Port Utilization
> LegendI[aaa]:  In
> LegendO[aaa]:  Out
> Legend1[aaa]:  Inbound Bits
> Legend2[aaa]:  Outbound Bits
> Legend3[aaa]:  INBOUND Max value per interval on graph
> Legend4[aaa]:  OUTBOUND Max value per interval on graph
> Colours[aaa]:  GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
> WithPeak[aaa]:  ymw
>
>
> If anyone could assist me i would be most grateful. I apologise to those
who have read this far and are pissed off:)
>
> Thankyou
>
>
> Stephen Hughes
> Systems Engineer
>
> Belfast City Airport

Instead of

Target[aaa]: 114:bhdpub at 57.30.254.3

try

Target[aaa]: #S/P:bhdpub at 57.30.254.3

where S is the slot or module number (1-9) and P is the port #

Index numbers can change if you add or remove a module.

Vern

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