[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mrtg
Subject:    Re: [mrtg] CFGMAKER command
From:       "McDonald, Dan" <Dan.McDonald () austinenergy ! com>
Date:       2009-10-21 12:37:49
Message-ID: 1256128669.18853.8.camel () mcdonalddj-dc ! austin-energy ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 password@192.168.8.1

-- 
Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
www.austinenergy.com

["signature.asc" (application/pgp-signature)]

_______________________________________________
mrtg mailing list
mrtg@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic