[mrtg] FW: External application for thresholds
Christophe Cornil
cco at clear2pay.com
Mon Feb 24 14:17:53 MET 2003
Something I'd like to add is: my .bat file works perfectly if I
double-click on it directly.... so what's going on?
Hi all,
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
another one.
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:
ThreshMinI[SERVER_DISK_E]: 6500
ThreshProgI[SERVER_DISK_E]: c:\mrtg\thresholds\under.bat
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
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: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