[mrtg] Cisco ONS 15454

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Wed Dec 19 10:02:10 CET 2007


The index numbers for an interface are not fixed.
In a way you are lucky that the number you use in the MRTG cfg is not currently in use, for how do you discover a graph is showing data from an other interface than the page you are looking at tells you?

To avoid changing index numbers you can use the name or description of the interfaces.
See http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html and http://oss.oetiker.ch/mrtg/doc/cfgmaker.en.html for details. (search for Interface description)

HTH,

Jan.

-----Original Message-----
From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Willeat, Todd
Sent: Tuesday, December 18, 2007 5:34 PM
To: mrtg at lists.oetiker.ch
Subject: Re: [mrtg] Cisco ONS 15454


Some more details...

Here is the section of the mrtg config file for the ONS interface:

### Interface 20482 >> Descr: 'sonet_5/1' | Name: '' | Ip: '' | Eth: '' ### ### The following interface is commented out because: ### * got 'Received SNMP response with error code ###       error status: noSuchName ###       index 1 (OID: 1.3.6.1.2.1.2.2.1.10.20482) ###     SNMPv1_Session (remote host: "stl-ons.smrcy.com" [xx.xxx.xx.x].161) ###                       community: "XXX" ###                      request ID: 1666478639 ###                     PDU bufsize: 8000 bytes ###                         timeout: 2s ###                         retries: 5 ###                         backoff: 1)' from interface when trying to query # 
# Target[stl-ons.smrcy.com_sonet_5_1]: \sonet_5/1:XXX at stl-ons.smrcy.com: # SetEnv[stl-ons.smrcy.com_sonet_5_1]: MRTG_INT_IP="" MRTG_INT_DESCR="sonet_5/1" # Directory[stl-ons.smrcy.com_sonet_5_1]: stl-ons.smrcy.com # MaxBytes[stl-ons.smrcy.com_sonet_5_1]: 311040000 # Title[stl-ons.smrcy.com_sonet_5_1]: Traffic Analysis for sonet_5/1 -- STL-ONS # PageTop[stl-ons.smrcy.com_sonet_5_1]: <h1>Traffic Analysis for sonet_5/1 -- STL-ONS</h1> #                      <div id="sysdetails"> #                                  <table> #                                              <tr> #                                                          <td>System:</td> #                                                          <td>STL-ONS in </td> #                                              </tr> #                                              <tr> #                                                          <td>Maintainer:</td> #                                                          <td>NEG</td> #                                              </tr> #                                              <tr> #                                                          <td>Description:</td> #                                                          <td>sonet_5/1  </td> #                                              </tr> #                                              <tr> #                                                          <td>ifType:</td> #                                                          <td>sonet (39)</td> #                                              </tr> #                                              <tr> #                                                          <td>ifName:</td> #                                                          <td></td> #                                              </tr> #                                              <tr> #                                                          <td>Max Speed:</td> #                                                          <td>2488.3 Mbits/s</td> #                                              </tr> #                                  </table> #                      </div>

Here is the output of snmpwalk against the ONS for OID 1.3.6.1.2.1.2.2.1.10:

IF-MIB::ifInOctets.1 = Counter32: 0
IF-MIB::ifInOctets.3 = Counter32: 0
IF-MIB::ifInOctets.6 = Counter32: 0
IF-MIB::ifInOctets.7 = Counter32: 0
IF-MIB::ifInOctets.8 = Counter32: 0
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInOctets.10 = Counter32: 0
IF-MIB::ifInOctets.11 = Counter32: 0
IF-MIB::ifInOctets.12 = Counter32: 0
IF-MIB::ifInOctets.13 = Counter32: 0
IF-MIB::ifInOctets.14 = Counter32: 0
IF-MIB::ifInOctets.15 = Counter32: 0
IF-MIB::ifInOctets.16 = Counter32: 0
IF-MIB::ifInOctets.17 = Counter32: 0
IF-MIB::ifInOctets.18 = Counter32: 0
IF-MIB::ifInOctets.19 = Counter32: 0
IF-MIB::ifInOctets.20 = Counter32: 0
IF-MIB::ifInOctets.21 = Counter32: 0
IF-MIB::ifInOctets.22 = Counter32: 0
IF-MIB::ifInOctets.23 = Counter32: 0
IF-MIB::ifInOctets.24 = Counter32: 0
IF-MIB::ifInOctets.25 = Counter32: 0
IF-MIB::ifInOctets.26 = Counter32: 0
IF-MIB::ifInOctets.27 = Counter32: 0
IF-MIB::ifInOctets.28 = Counter32: 0
IF-MIB::ifInOctets.29 = Counter32: 0
IF-MIB::ifInOctets.30 = Counter32: 0
IF-MIB::ifInOctets.31 = Counter32: 0
IF-MIB::ifInOctets.32 = Counter32: 0
IF-MIB::ifInOctets.33 = Counter32: 0
IF-MIB::ifInOctets.34 = Counter32: 0
IF-MIB::ifInOctets.35 = Counter32: 0
IF-MIB::ifInOctets.36 = Counter32: 0
IF-MIB::ifInOctets.37 = Counter32: 0
IF-MIB::ifInOctets.38 = Counter32: 0
IF-MIB::ifInOctets.39 = Counter32: 0
IF-MIB::ifInOctets.40 = Counter32: 0
IF-MIB::ifInOctets.41 = Counter32: 0
IF-MIB::ifInOctets.42 = Counter32: 0
IF-MIB::ifInOctets.43 = Counter32: 0
IF-MIB::ifInOctets.44 = Counter32: 0
IF-MIB::ifInOctets.45 = Counter32: 0
IF-MIB::ifInOctets.46 = Counter32: 0
IF-MIB::ifInOctets.47 = Counter32: 0
IF-MIB::ifInOctets.48 = Counter32: 0
IF-MIB::ifInOctets.49 = Counter32: 0
IF-MIB::ifInOctets.50 = Counter32: 0
IF-MIB::ifInOctets.51 = Counter32: 0
IF-MIB::ifInOctets.52 = Counter32: 0
IF-MIB::ifInOctets.53 = Counter32: 0
IF-MIB::ifInOctets.54 = Counter32: 0
IF-MIB::ifInOctets.55 = Counter32: 0
IF-MIB::ifInOctets.56 = Counter32: 0
IF-MIB::ifInOctets.57 = Counter32: 0
IF-MIB::ifInOctets.58 = Counter32: 0
IF-MIB::ifInOctets.59 = Counter32: 0
IF-MIB::ifInOctets.60 = Counter32: 0
IF-MIB::ifInOctets.61 = Counter32: 0
IF-MIB::ifInOctets.62 = Counter32: 0
IF-MIB::ifInOctets.63 = Counter32: 0
IF-MIB::ifInOctets.64 = Counter32: 0
IF-MIB::ifInOctets.65 = Counter32: 0
IF-MIB::ifInOctets.66 = Counter32: 0
IF-MIB::ifInOctets.67 = Counter32: 0
IF-MIB::ifInOctets.68 = Counter32: 0
IF-MIB::ifInOctets.69 = Counter32: 0
IF-MIB::ifInOctets.70 = Counter32: 0
IF-MIB::ifInOctets.71 = Counter32: 0
IF-MIB::ifInOctets.72 = Counter32: 0
IF-MIB::ifInOctets.73 = Counter32: 0
IF-MIB::ifInOctets.74 = Counter32: 0
IF-MIB::ifInOctets.75 = Counter32: 0
IF-MIB::ifInOctets.76 = Counter32: 0
IF-MIB::ifInOctets.77 = Counter32: 0
IF-MIB::ifInOctets.78 = Counter32: 0
IF-MIB::ifInOctets.49154 = Counter32: 0 IF-MIB::ifInOctets.49155 = Counter32: 0 IF-MIB::ifInOctets.49156 = Counter32: 0 IF-MIB::ifInOctets.49157 = Counter32: 0 IF-MIB::ifInOctets.49158 = Counter32: 2986218791 IF-MIB::ifInOctets.49159 = Counter32: 1341531710 
IF-MIB::ifInOctets.49160 = Counter32: 0 IF-MIB::ifInOctets.49161 = Counter32: 0 IF-MIB::ifInOctets.53250 = Counter32: 0 IF-MIB::ifInOctets.53251 = Counter32: 0 IF-MIB::ifInOctets.53252 = Counter32: 0 IF-MIB::ifInOctets.53253 = Counter32: 0 IF-MIB::ifInOctets.53254 = Counter32: 0 IF-MIB::ifInOctets.53255 = Counter32: 10942 IF-MIB::ifInOctets.53256 = Counter32: 0 IF-MIB::ifInOctets.53257 = Counter32: 0

As you can see Interface 20482 does not show a response...

________________________________________
From: Willeat, Todd 
Sent: Thursday, December 13, 2007 1:01 PM
To: 'mrtg at lists.oetiker.ch'
Subject: Cisco ONS 15454

Hello all,

We have recently installed 2 Cisco ONS 15454 boxes to connect a new OC-48. I am trying to use mrtg to monitor the OC-48 link, but when mrtg polls for In and Out packets, it does not receive a response from the ONS. Also, the GigE ports connecting the ONS to out Catalyst 6500 switches are being reported as 100Mb/s. I have tried using both SNMP v1 and v2 with the same results. The problem is only with the ONS boxes and I can successfully receive information from out switches. Has anyone been able to monitor an ONS successfully or have any suggestions on where to look?

Thanks!

_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_________________________________________________________

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
_________________________________________________________

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
_________________________________________________________



More information about the mrtg mailing list