[mrtg] Re: Thresholds

Michael Markstaller mm at elabnet.de
Mon Apr 7 12:58:26 MEST 2003


Hi,
I picked up the attached perl-script somewhere, it worked for me on RH7.1 ..

configured globally in mrtg.cfg looks like this: 

ThreshDir: /var/spool/mrtg
ThreshProgI[_]: /usr/local/mrtg/bin/mrtg_thresh_alert.pl
ThreshProgO[_]: /usr/local/mrtg/bin/mrtg_thresh_alert.pl
ThreshProgOKI[_]: /usr/local/mrtg/bin/mrtg_thresh_alert.pl
ThreshProgOKO[_]: /usr/local/mrtg/bin/mrtg_thresh_alert.pl


Michael

-----Original Message-----
From: Baker, Brendon [mailto:BBaker at fnb.co.za]
Sent: Monday, April 07, 2003 11:04 AM
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Thresholds


Hi everyone

Please could someone help me out with a script for linux that will email a
few users when a threshold in mrtg is reached.
I am not much of a programmer at all

Thanks

Regards
Brendon

___________________________________________________________________________________________________


The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group or its management.  The information in this e-mail is confidential
and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. 
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or 
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data 
transmitted electronically and to preserve the confidentiality thereof, no liability or 
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted 
or does not reach its intended destination.

                               ________________________________

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


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: mrtg_thresh_alert.pl
-- Size: 1k (1097 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/mrtg_thresh_alert.pl


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