[mrtg] Re: Threshold Scripts

Anson Rinesmith arinesmith at bigrivertelephone.com
Mon Jan 16 17:40:14 MET 2006


The values are stored in $argv
 
-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Brian E. Seppanen
Sent: Monday, January 16, 2006 10:09 AM
To: mrtg at list.ee.ethz.ch
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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
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



More information about the mrtg mailing list