[mrtg] cisco switches, etherchannel, and artificially lowgraph values?

McDonald, Dan Dan.McDonald at austinenergy.com
Fri Mar 21 16:18:19 CET 2008

On Fri, 2008-03-21 at 10:47 -0400, Kettler, Matt wrote:
> I’ve got an odd problem with my interface graphs never reaching their
> proper peak.. They all seem to be scaled down inappropriately.
> For starters, I’ve pointed cfgmaker at a variety of ordinary Cisco
> switches.  I’ll be using examples from a Cisco 4948 running
> 12.2(20r)EW1, but I’ve seen the same affects on 3750’s 12.2(25r)SE1.

Both of those are pretty old versions of code.  The 3750 tree, in
particular, has been riddled with snmp bugs.

> I’ve got MRTG running in daemon mode at 5 minute intervals.
> When I run cfgmaker, I use this basic form:
> cfgmaker --global 'WorkDir: /var/mrtg/work' --global
> 'Options[_]:bits,growright' --global 'WithPeak[_]: wmy' --no-down
> --show-op-down --output  switchname.cfg community at switchname

You need to specify snmp version 2.  Otherwise, your gigabit and gig
etherchannel interface counters will roll over more than twice in a 5
minute period, and you will get about 170mb/s.

cfgmaker --global 'WorkDir: /var/mrtg/work' --global
'Options[_]:bits,growright' --global 'WithPeak[_]: wmy' --no-down
--show-op-down --output  switchname.cfg community at switchname:::::2

Daniel J McDonald, CCIE #2495, CISSP #78281, CNX
Austin Energy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20080321/0798059c/attachment.bin 

More information about the mrtg mailing list