[mrtg] MRTG + Cisco Catalyst Port Name

Barakat, Mehmet-Hasan hbarakat at kpmg.com
Tue Jul 22 17:44:45 MEST 2003


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



More information about the mrtg mailing list