[mrtg] Re: Help with Cisco Switches

Håkan Lindholm hakan at spray.se
Thu Sep 27 21:42:10 MEST 2001

Brian wrote:
> To get ports that are down, or do not show any traffic I had to add a
> Bandwidth statement to the switches on every interface.  
> Bandwidth=100000000
> for 100 Mb and 1000000000 for Gig ports.  hope this helps.

Is that for IOS switches?  (2900 XL and 3500 XL series)

For CatOS switches (aka "set IOS" based; that is 4000, 5000 and 6000
series), the "--no-down" cfgmaker option works.

Randall wrote:
> I have asked this before, but I would like to see if anyone 
> has any new ideas.
> I cannot seem to get ALL of the ports off of my cisco 
> switches.  I can get sc0 and maybe one GIG port.  Can
> someone please help??

Are all ports up?  Otherwise, use options "--no-down" or "--show-op-down".

> /mrtg/bin/cfgmaker --global "Options[_]: growright,bits" \
> --global "WorkDir: /mrtg/data" --ifdesc=descr --ifref=descr \
> --descint --subdirs=bb6509aswitch 
> --output=/mrtg/cfg/bb6509aswitch.cfg test at bb6509a

Which CatOS switches, "--ifdesc=descr" should be replaced by

Most probably, your the targets you want are just commented out in
bb6509aswitch.cfg. Open it up in your fav editor and remove the #'s and
correct the "MaxBytes" option and "Max Speed" in the "PageTop" HTML code.

> /mrtg/bin/indexmaker --title=BB6509aswitch --enumerate \
> --sort=title --show=day  --section=descr \
> /mrtg/cfg/bb6509aswitch.cfg > /mrtg/data/bb6509aswitch.html

Does this one work for you if you get the bb6509aswitch.cfg right?
I don't use indexmaker myself. My 1000+ targets needs more structure.
Maybe you should try without "--section=descr".

Hope this help. Please tell us how things are going further.


                                          SPRAY NETWORK SERVICES AB
       System, Network and Security Architecture and Administration
              for Lycos Europe (http://pressroom.lycos.de/english/)
*  S o l a r i s  *  I O S  *  L i n u x  *  W i n d o w s   N T  * 

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