Richard Vander Reyden
vanderreydenr at zircon.com.au
Tue Sep 3 05:53:21 MEST 2002
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
What I want to be able to do is pass an option to the script, such as below.
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?
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
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg