[mrtg] Re: Need some help

McDonald, Dan Dan.McDonald at austinenergy.com
Thu Feb 27 15:28:16 MET 2003


I've dabbled with monitoring our ONS 15454's, but the mibs are really poorly
written, and I'm not quite certain what data you can get from them.  Since
it is sonet, you don't really get traffic stats, since it just transmits
idles if it has no other data.

The one thing I was really hoping to get from the box was alarms, but they
are completely broken until ONS version 4.0....

If you want to try monitoring the ports that are listed, just set a
reasonable maxbytes value and uncomment everything.  But I imagine the
reason that ifSpeed is zero is that the ifInOctet counters don't increment
for any ports other than the ethernet blade.

You can dig into the transmission mibs, though, and on occassion find
something useful there about BERs.

Daniel J McDonald, CCIE #2495, CNX
Lan/Wan Integrator
Austin Energy
1.512.322.6739
dan.mcdonald at austinenergy.com


-----Original Message-----
From: Layne Meier [mailto:lmeier at ajc.com]
Sent: Wednesday, February 26, 2003 8:11 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Need some help



I am trying to use MRTG to monitor a Cisco ONS (Optical Network  
Switch).  This ONS is a carrier class switch used in  
telecommunications.  The ONS is sitting on an OC-48 sonnet ring and is  
tied to an identical ONS at our remote location over an OC-3 overlay.   
The OC-3 overlay is a 155Mb connection.

I downloaded the Cisco SONNET mibs from Cisco's website and used  
cfgmaker to make a configfile with a statement to Load MIBs using the   
LoadMIBs: /location/mibname.mib line file for this ONS box.

If I look at the config file, I get the following:



# Created by
# /usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir:  
/usr/local/www/ITWeb/MRTG' --global 'Options[_]: growright, bits'  
--global 'Unscaled[_]: ymw' --global 'Refresh: 300' --global 'Interval:  
5' --global 'WriteExpires: Yes' --global 'LoadMIBs:  
/usr/local/mrtg-2/mibs/CISCO-SONET-CAPABILITY.mib,/usr/local/mrtg-2/ 
mibs/CISCO-SONET-EXT-CAPABILITY.mib,/usr/local/mrtg-2/mibs/CISCO-SONET- 
MIB.mib' --dns-domain=coxnews.net --community=***** --show-op-down  
--no-down fcpp-ons


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

WorkDir: /usr/local/www/ITWeb/MRTG
Options[_]: growright, bits
Unscaled[_]: ymw
Refresh: 300
Interval: 5
WriteExpires: Yes
LoadMIBs:  
/usr/local/mrtg-2/mibs/CISCO-SONET-CAPABILITY.mib,/usr/local/mrtg-2/ 
mibs/CISCO-SONET-EXT-CAPABILITY.mib,/
usr/local/mrtg-2/mibs/CISCO-SONET-MIB.mib

######################################################################
# System: ONS-FCPP
# Description: Cisco 15454 03.03-001K-15.01
# Contact: Brandon Anastasoff 404-557-4495 / Phil Groen 404-557-4452
# Location: 72 Marietta St., Atlanta GA 30303
######################################################################


### Interface 1 >> Descr: '' | Name: '' | Ip: '***.***.26.15' | Eth: ''  
###
### The following interface is commented out because:
### * has a speed of  which makes no sense
### * got 'Received SNMP response with error code
###       error status: noSuchName
###       index 1 (OID: 1.3.6.1.2.1.2.2.1.10.1)
###     SNMPv1_Session (remote host: "fcpp-ons" [***.***.26.15].161)
###                       community: "public"
###                      request ID: -1020141238
###                     PDU bufsize: 8000 bytes
###                         timeout: 2s
###                         retries: 5
###                         backoff: 1)' from interface when trying to  
query
#
# Target[fcpp-ons.coxnews.net_1]: 1:public at fcpp-ons:
# SetEnv[fcpp-ons.coxnews.net_1]: MRTG_INT_IP="***.***.26.15"  
MRTG_INT_DESCR=""
# MaxBytes[fcpp-ons.coxnews.net_1]: 0
# Title[fcpp-ons.coxnews.net_1]: Traffic Analysis for 1 -- ONS-FCPP
# PageTop[fcpp-ons.coxnews.net_1]: <H1>Traffic Analysis for 1 --  
ONS-FCPP</H1>
#  <TABLE>
#    <TR><TD>System:</TD>     <TD>ONS-FCPP in 72 Marietta St., Atlanta  
GA 30303</TD></TR>
#    <TR><TD>Maintainer:</TD> <TD>Brandon Anastasoff 404-557-4495 /  
Phil Groen 404-557-4452</TD></TR>
#    <TR><TD>Description:</TD><TD>  </TD></TR>
#    <TR><TD>ifType:</TD>     <TD> ()</TD></TR>
#    <TR><TD>ifName:</TD>     <TD></TD></TR>
#    <TR><TD>Max Speed:</TD>  <TD>0.0 Bytes/s</TD></TR>
#    <TR><TD>Ip:</TD>         <TD> ***.***.26.15  
(fcpp-ons.coxnews.net)</TD></TR>
#  </TABLE>

I find it quite interesting that cfgmaker created a complete config  
file for this ONS box, but commented out every line because "The  
following interface is commented out because: * has a speed of which  
makes no sense".

Any suggestions, or any one else using MRTG to monitor commercial grade  
telco equipment?

Thank you,
Layne Meier
Atlanta Newspapers, Inc.

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