[mrtg] Using ThreshProg under Windows

Sverre Munthe sm at lorstem.no
Thu Dec 4 15:34:49 MET 2003

Trying to use the ThreshProg line in my Windows environment and it
doesn't seem to work. I'm guessing it's because of the way Windows
operates, so wondering if anyone know how the command has to be to work.

Here is how I do it today:

ThreshMinI[LORFILE-temperature]: 10 
ThreshMaxI[LORFILE-temperature]: 25 
ThreshProgI[LORFILE-temperature]: ..\batch\lorfile-tempi.bat
ThreshProgOKI[LORFILE-temperature]: ..\batch\lorfile-tempi-ok.bat
ThreshMinO[LORFILE-temperature]: 10 
ThreshMaxO[LORFILE-temperature]: 50 
ThreshProgO[LORFILE-temperature]: ..\batch\lorfile-tempo.bat
ThreshProgOKO[LORFILE-temperature]: ..\batch\lorfile-tempo-ok.bat

In the batch directory I have the bat-files which looks like this:

c:\wsendmail\wsendmail -sLorFile-Temp -fXXX YYY < lorfile-tempi.txt

Have also tried this way:

cmd /C "c:\wsendmail\wsendmail -sLorFile-Temp -fXXX YYY <

Can anyone help?

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