The values are stored in $argv
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian E. Seppanen
Sent: Monday, January 16, 2006 10:09 AM
To: [EMAIL PROTECTED]
Subject: [mrtg] Threshold Scripts

I'm playing with threshold monitoring using mrtg (mrtg-2.10.13).

ThreshProgI
ThreshProgO
ThreshProgOKI
ThreshProgOKO

I would like to use a single script to do all monitoring and not manage 
four seperate scripts with slight differences.  I was hoping that there 
was some way of determining how the script was called but using perl to 
print the ENV{_} returns /usr/local/mrtg/bin/mrtg and not the actual 
script in that is being called.  has anyone found a way to consolidate 
their threshold monitoring scripts into one single script.  I'd appreciate 
any suggestions.


Thanks,

Brian Seppanen
608.826.1464

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to