[mrtg] Wrong Port #s! (CISCO)
Mohamed Salameh
mohamed at divinesword.com
Wed Dec 25 20:56:23 MET 2002
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
More information about the mrtg
mailing list