[mrtg] Threshold scripts

José Maria Costa Pereira jose.pereira at telecelvodafone.pt
Thu Jul 19 12:39:05 MEST 2001


Hi!

	Does anyone know how can I use the (default) values passed to the
threshold script?

	It is said in the reference manual that "... MRTG passes 3
arguments: the $router variable, the threshold value broken, and the current
parameter value". But I don't know how to reference them inside the script
that is started!!

	I've already tried $router and %router% ... but none of them work.
My script is just a simple DOS bat file with a "net send user_XPTO ALARM
from router_XPTO"


Thanks.

---------- 
This message may contain confidential information or privileged material,
and is intended only for the individual(s) named. If you are not in the
named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. 
E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses.  The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission. If verification is required please
request a hard-copy version. 

--
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