[mrtg] External application for thresholds
cco at clear2pay.com
Mon Feb 24 09:07:54 MET 2003
My MRTG is almost working perfectly on Win2K Server.
MRTG version is 2.9.25
The only issue is : no application configured for ThreshProgI or works!
I create some batch files to send mail and create log when value of the
Hard disk Space pass under ThreshMinI.
Apparently, nothing that my .bat file should do is done. But if I look a
little bit closer, I can see a Dos prompt opening and closing very fast
(some milliseconds I guess) but, impossible to see what's going on.
I also have in my Thresholds directory (where my .bat files are) one
file appearing named: mrtg.cfg.servr_disk_e.minI this file is empty.
Except that nothing happens. It looks like the application can't launch
I tried also with a test.bat with only a 'pause' command in there to see
my dos prompt staying on the screen but even that doesn't works.
Apparently it's not a problem about my file; but most a problem MRTG
have issue to call my .bat files.
This is the way I call my prog:
Note: I took the example of ThreshMinI, but, this is the same with
ThreshMaxI or ThreshMinO or ThreshMaxO,; I tried, still same issue.
Thanks for any help.
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg