[mrtg] Threshold Monitoring - Passing Parameters

Barry Young byoung at europe.chep.com
Thu Sep 14 12:19:10 MEST 2000

I have RTFM'd and looked in the archives but cannot find any
information on the following matter.

I am trying to setup Threshold monitoring to call an external
program.  This is working OK but I would like to pass some
parameters to the external program.

The MRTG docs say that ThreshProg can pass 3 arguments: the
$router variable, the threshold value broken, and the current
parameter value.

Has anyone used this or is able to supply an example.  I am
calling a WinNT batch command file as follows but where, what,
how are the parameters passed: -

eg.: -

ThreshProgI[xx]: c:\email.bat

Advice greatly appreciated...


Barry Young
European Networks Manager
CHEP International

This E-mail is strictly confidential and intended solely for the addressee.
It may contain information that is covered by legal, professional or other
privilege. If you are not the intended addressee you must not use, disclose or
copy this transmission.

This E-mail is not intended to impose nor shall it be construed as imposing any
legally binding obligation upon CHEP and/or any of its subsidiaries or
associated companies.

Neither CHEP nor any of its subsidiaries or associated companies gives any
representation or warranty as to the accuracy or completeness of the contents of
this E-mail.

CHEP shall not be held liable to any person resulting from the use of any
information contained in this E-mail and shall not be liable to any person who
acts or omits to do anything in reliance upon it.

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