On Wed, 2009-10-21 at 16:31 +0530, Gayan S. Amarasiri wrote: > Hi, > > I am using cfgmaker command to monitor interface traffic in Cisco > switches. I need to know that can I limit the interface speed to > 10MBps for all interfaces using the global option in cfgmaker command. > I used following command but fail to achieve what I want.
MaxBytes of 20 would not be right - that's 160bps (110 baud modem, maybe? or a 300 baud modem with lots of errors....) But you can try: --no-down --zero-speed=10000000 Or create a template with MaxBytes hard coded to 1250000 > > cfgmaker --global "WorkDir: /var/www/html/switch/" --global > "Unscaled[_]: ymwd" --global "MaxBytes[_]: 20" --global "WithPeak[_]: > ywm" --global "Options[_]: growright,gauge,nopercent" --ifref=descr > --ifdesc=alias --output /etc/mrtg/switch.cfg [email protected] -- Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX www.austinenergy.com
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
