[mrtg] Thresholds

Richard Vander Reyden vanderreydenr at zircon.com.au
Tue Sep 3 05:53:21 MEST 2002


Hi All,

I am looking at using thresholds on some of our monitoring.  I have written
a perl script to be called when the threshold is reached and this works
fine.

What I want to be able to do is pass an option to the script, such as below.

...
...
ThreshMaxI[br1.syd.atm4-0-200]: 8000
ThreshProgI[br1.syd.atm4-0-200]: /usr/local/bin/mrtg_thresh.pl -i ... ...

This does not work, I get the following error:

ERROR: CFG Error in "threshprogi[br1.syd.atm4-0-200]", line 54: Threshold
program /usr/local/bin/mrtg_thresh.pl -i cannot be executed

I have also looked at using SetEnv[br1.syd.atm4-0-200] = ATTR="attribute"

to pass it but this also does not work for me.

Does anyone have a sample config which does this?

Thanks

Richard

Richard Vander Reyden            E: vanderreydenr at zircon.com.au
Network & Product Engineer       P: +61 2 8304 9300
Zircon Systems Pty Ltd           F: +61 2 9669 2912

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list