Page 1 of 1

Low Bandwidth Reading from Cisco Switches

Posted: Sun Nov 13, 2011 2:50 pm
by arnab.roy
Hi Guys,

I am facing a weird issue, our customers are complaining that bandwidth graphs are showing low readings, althought the contour of the graph is similar to their expectations but the scale is wrong. I am running r1.8. The port that we are monitoring is a cisco gigabit port. Anybody knows how I can proceed with troubleshooting this. I am using the switch monitoring wizard and does detect the correct port speed so I am a bit confused. Any help would be appreciated.

Cheers
Arnab

Re: Low Bandwidth Reading from Cisco Switches

Posted: Mon Nov 14, 2011 8:06 am
by lanware
Are you using SNMP v2c? There's a caveat with needing to use 64bit counters for Cisco interfaces:

http://www.cisco.com/en/US/tech/tk648/t ... 69ac.shtml

Check the plugin to see if there's an extra switch for setting 32 or 64 bit counters. SNMP v2c introduced a 64 bit counter, so maybe just setting this will work fine.

Re: Low Bandwidth Reading from Cisco Switches

Posted: Tue Nov 15, 2011 11:35 am
by nscott
Also, on top of lanware's question, is it orders of magnitude off or just a scalar factor off?

Re: Low Bandwidth Reading from Cisco Switches

Posted: Sat Nov 19, 2011 5:13 pm
by arnab.roy
Hi Guys,

I am aware of the Cisco 64 bit counter issue, unfortunately the way XI seems to grab the graphs from mrtg , isnt very straightforward if I understand it converts mrtg->rrd-> check rrdtraf ....then dumps the output into nagios perfdata format, which pnp then converts into graphs. Can you point me where / how I can see the actual output graphs from mrtg? I dont see the standard mrtg html output anywhere?

Cheers
Arnab

Re: Low Bandwidth Reading from Cisco Switches

Posted: Mon Nov 21, 2011 11:32 am
by mguthrie
The mrtg rrd files are in:
/var/lib/mrtg

You can query any rrdfile and fetch "Today's" information by running:

Code: Select all

rrdtool fetch </path/to/rrdfile> AVERAGE
mrtg.cfg is at /etc/mrtg/mrtg.cfg