On Sun, Feb 29, 2004 at 06:15:37PM +0000, Brian Brazil wrote:
> No help I'm afraid. Just provides a default for MaxBytes if I don't bother to
> specify it. The default behaviour of MRTG is to ignore a result if it is
> greater than maxbytes. Say I want to MRTG 'lo'. I was thinking '0' might
> do it but I found no reference to it on the web and that if this was so
> maybe someone on the list had come across it. And I don't want to ignore
> all values. Maybe I'll take a peek at the source...
Doesn't seem to be possible. The relavent code is hidden in 'rateup'
somewhere. '0' in no way works. More reading of source ahead...
> Acutally they were unrelated. In the last few hours I produced a nice
> script to take iptables counters and produce output suitable for mtrg.
> As it can add an arbitarily large number of counters together I can see
> things getting interesting. I'll throw it up on my website next time I'm
> on the net in case anyone has a use for it.
In production for over 3 hours without a hitch. I don't think that
classifies as 100% relability though...
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!