[mrtg] discarding 0 values ???

Ufuk Eskici ufukeskici at gmail.com
Sun Jan 24 01:15:10 CET 2010


Hi,

I want to use a function in MRG. I want to discard zero values.

For example, in my template file I have functions for 1st and 2nd ports
traffic of an equipment.
I have only 1st port for the Equipment A. And I have only 2nd port for the
Equipment B.
When I run de template file to create the .cfg files, I can see 1st and 2nd
ports traffic for each equipment.

So I want to discard the 0 values of the ports which the equipmtents does
not have. I do not want to see them in HTML file.

How can I do this?

Thnx & Regards.

-- 
Ufuk Eskici
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100124/2dc46465/attachment.htm 


More information about the mrtg mailing list