[mrtg] CFGMAKER command

McDonald, Dan Dan.McDonald at austinenergy.com
Wed Oct 21 14:37:49 CEST 2009

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 at

Daniel J McDonald, CCIE # 2495, CISSP # 78281, CNX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20091021/13a9e75a/attachment.pgp 

More information about the mrtg mailing list