[mrtg] Disabling threshold checking for a specific target

Steve Shipway s.shipway at auckland.ac.nz
Wed Aug 6 04:07:19 CEST 2008

It is possible to override global settings at a Target level, but the Thresh* directives cannot take a null argument (similar to many of the MRTG directives) so you cannot use them to switch off threshold checking like this.  You get the errors because MRTG is not too good at coping with syntax errors in the cfg file and treats it as a zero :)

Instead, try something like ThreshMaxI[target]: 99999999999999  where this is a huge number it couldn't possibly every reach.  It will have the same effect in the long run.


From: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Vincent Aniello

Is it possible to override global threshold settings for a specific target?
ThreshMaxI[_]: 90%
ThreshMaxO[_]: 90%

With these configuration options the following error message appears in the MRTG log file:

2008-08-05 21:01:23 -- Argument "" isn't numeric in numeric lt (<) at /usr/local/mrtg-2/bin/mrtg line 1949.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080806/99d1e85b/attachment-0001.html 

More information about the mrtg mailing list