[mrtg] totals do not add up when graphing multiple targets

Steve Shipway s.shipway at auckland.ac.nz
Thu Feb 12 22:30:32 CET 2009


> Do anybody know if it's possible to require: 'Treat unknown as zero'? Or
> how should I circumvent the problem?

The MRTG 'unknaszero' option is supported by all the available frontends.

> The task comes from wanting a total of all the connections to a switch -
> but if a new interface is used, the 'old' total will be ruined as the
> new interface has 'unknown' values ahead of doing mrtg.

I know you're using rrdcgi, but if you were using the Routers2 frontend,
you'd get total graphs for incoming/outgoing automatically (which would
change with the cfg file, and give component lines etc).  You might be able
to use routers2 in image mode to just generate the image, although this is
probably overkill.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090213/8cf5900d/attachment.bin 


More information about the mrtg mailing list