Here is the part of my setup I just configured: Setup the thresh directory, temp files are stored here.
ThreshDir: E:\MRTG\Thresh This is the max incoming threshold, here, if the device monitored returns above 7, the batch file will launch. If it goes below 7, the second batch file kicks off. MRTG is supposed to send additional info to the batch file, but I do not know how to input that into the program/batch file (if anyone has an example of this, I'd like to see it). ThreshMaxI[$DEVICE]: 7 ThreshProgI[$DEVICE]: E:\mrtg\batch\thresh.bat ThreshProgOKI[$DEVICE]: E:\mrtg\batch\threshOK.bat I use "sendemail" in my batch file to send email: http://caspian.dotconf.net/menu/Software/SendEmail/ There is a windows exe available. sendemail -f [EMAIL PROTECTED] -t [EMAIL PROTECTED] -u "Subject Blah Blah Exceeds Threshold" -m "Message Blah Blah Exceeds Threshold" -s 172.17.2.7 -l sendemail.log More info on thresh is in the MRTG Config Reference: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html Jeremy Porter, CCNA Network Administrator Premier Systems Inc. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of prasad Sent: Thursday, February 06, 2003 1:40 AM To: mrtg help Subject: [mrtg] Need help in configuring threshold check!! Hello friends, I need help in configuring Threshold Checking, -How to give command for some particular device say "[EMAIL PROTECTED]" for threshold check. -I want to check it for only few Serial Ports on the router. -How to run program for sendmail. -Can you provide me the URL for any free available sendmail program (for windows 2000) for ThreshProg thanks & regards Prasad -- Unsubscribe mailto:[EMAIL PROTECTED] 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 -- Unsubscribe mailto:[EMAIL PROTECTED] 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
