[mrtg] Re: MRTG + Cisco Catalyst Port Name

Winter, R. Stephen SWinter at becu.org
Tue Jul 22 17:55:54 MEST 2003


This is what I get on my Cat 6500:

# Created by 
# cfgmaker --ifref=name --global 'Options[_]:bits,growright' --no-down xxxxx at pollux

Target[pollux_5_1]: #5/1:xxxxx at pollux:
SetEnv[pollux_5_1]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[pollux_5_1]: 125000000
Title[pollux_5_1]: Traffic Analysis for 5/1 -- pollux
PageTop[pollux_5_1]: <H1>Traffic Analysis for 5/1 -- pollux</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>pollux in Tukwila Data Center</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>RStephen Winter</TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>Gigabit Ethernet (117)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>5/1</TD></TR>
   <TR><TD>Port Name:</TD>  <TD>pollux_5-1_1stFlr</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>1000.0 Mbits/s</TD></TR>
 </TABLE>


-----Original Message-----
From: Barakat, Mehmet-Hasan [mailto:hbarakat at kpmg.com]
Sent: Tuesday, July 22, 2003 8:45 AM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] MRTG + Cisco Catalyst Port Name


I've been having this issue for a while now. I am running MRTG 2.10.0pre3 on
a RH9 box to graph Catalyst 4000/6000 port utilization. I get all the stats
I need, however, the field for ifName and ifDescr come out blank on the
port-graph page. I would like them to appear in the commonly used <mod/port>
and "CiscoCatalystPortName" format. 

I have tried every possible combination of --ifref=name, --ifref=nr,
--ifref=descr etc. and --ifdesc=name, --ifdesc=descr etc. with no success.

If I use --ifref=name (and some other permutations), inside the .cfg file
I've noticed an error that says it skips all the ports because "ifref=name
is not unique". But my port names should be appearing as 1/1, 1/2, 1/3 and
my descriptions should be Peter's Port, Susan's Printer etc. they are in
most cases unique.

What ends up happening is that I get 300 ports names 192.168.1.1_1 through
300 on the index page, which is no way to monitor ports. Each drill down
graph page then has no identifying feature that tell me it's port 5/34 or
"Susan's Printer" to distinguish it from other ports. 

I've noticed when I run mrtg to create the graphs, the "Walking
CiscoCatalystPortName section skips by really quickly compared to say
"Walking ifspeed". 

Can anyone suggest something to help me out? I want the index page to
classify graphs by <mod/port>.

Thanks!

-Hasan




*****************************************************************************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. 

If you are not the intended recipient, any disclosure, copying, distribution
or any action taken or omitted to be taken in reliance on it, is prohibited
and may be unlawful. When addressed to our clients any opinions or advice
contained in this email are subject to the terms and conditions expressed in
the governing KPMG client engagement letter.         
*****************************************************************************

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