[mrtg] Re: Wrong Port #s! (CISCO)

Brander, Eric Eric.Brander at ACS-INC.com
Thu Dec 26 16:00:14 MET 2002


I could be wrong, but it appears that you are confusing port number with
instance number.    Try adding "--ifdesc=name" on your cfgmaker line and see
if that helps to label the ports correctly.  Might need "-descint" too, but
I'm not certain on that.

 -----Original Message-----
From: 	Mohamed Salameh [mailto:mohamed at divinesword.com] 
Sent:	Wednesday, December 25, 2002 1:56 PM
To:	mrtg at list.ee.ethz.ch
Subject:	[mrtg] Wrong Port #s! (CISCO)


Hey!

I'm using MRTG2.9.22 and fecthing information from a CISCO 2950(24port)
and a 2900XL(12port).

On the 2950, when I retreive the port information, port 1 is indeed the
ethernet port 1, and the VLAN is on port 26

However, on the 2900XL, the VLAN is on port 1! So all ethernet ports are
phased by one! This kind of creates an inconsistency in my graphs, since
the plug #1 is no longer associated to port #1 through SNMP!

Anyway around this? Is this normal for the 2900XLs?

Another problem I'm having is despite having added --no-down and
--show-op-down, MRTG refuses to display the unused ports from the
2900XL!

Here is my cfgmaker command line: (switch1 is 2950, switch2 is 2900XL)
/usr/local/mrtg-2/bin/cfgmaker --no-down --show-op-down \
--global "LogDir: /var/log/mrtg" \
--global "HtmlDir: /web/mrtg.netelligent.ca" \
--global "ImageDir: /web/mrtg.netelligent.ca/image" \
--global "RunAsDaemon: Yes" \
--global "Interval: 5" --global "Refresh: 300" \
--global "Options[_]: growright, avgpeak, bits, noinfo, integer"
netel at switch1.netelligent.ca \
--no-down --show-op-down \
--global "LogDir: /var/log/mrtg" \
--global "HtmlDir: /web/mrtg.netelligent.ca" \
--global "ImageDir: /web/mrtg.netelligent.ca/image" \
--global "RunAsDaemon: Yes" \
--global "Interval: 5" --global "Refresh: 300" \
--global "Options[_]: growright, avgpeak, bits, noinfo, integer"
netel at switch2.netelligent.ca \
--output="/usr/local/mrtg-2/conf/mrtg.cfg"

--
Mohamed Salameh <mohamed at netelligent.ca>
http://www.netelligent.ca
 

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