[mrtg] Re: Threshold Checking in MTRG2.8.9 on WinNT

Meisner, Jeff D MEISNEDJ at aramco.com.sa
Sun Nov 21 11:36:32 MET 1999


I found my problem,,

@ECHO OFF <--- need this in the batch file...

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Meisner, Jeff D
Sent: Sunday, November 21, 1999 8:25 AM
To: 'MRTG List'
Subject: [mrtg] Threshold Checking in MTRG2.8.9 on WinNT




ThreshDir: d:\wwwmon\threshdir

# Global Defaults


ThreshMinI[_]: 
ThreshMaxI[_]: 200000
ThreshProgI[_]: d:\mrtg-2.7.4\run\sendmail.cmd
ThreshProgOKI[_]: d:\mrtg-2.7.4\run\sendmail1.cmd
ThreshMinO[_]: 
ThreshMaxO[_]: 200000
ThreshProgO[_]: d:\mrtg-2.7.4\run\sendmail.cmd
ThreshProgOKO[_]: d:\mrtg-2.7.4\run\sendmail1.cmd


This seems to work fine except for one small problem, I keep getting the
message
--"process tried to write to a non-existent pipe"--
when I run it the CFG file from a DOS window, and the mail message is sent.
But, I get no mail message sent when the process is run in the background.


contents of SendMail.cmd

d:\mrtg-2.7.4\run\postie -host:host.domain -to:user at domain
-from:perfmon at host.domain -s:"%1 threshold exceeded" -msg:"%1 has broken %2
- currently at %3"


Does anyone out there have any suggestions.  I am baffled right now. 
I really wish this section was documented better.

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list