[mrtg] Re: Problems with mrtg and external script in cfg

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Jun 4 00:12:50 MEST 2002


Jim Jones, Jr. wrote:

> 2002-05-31 16:29:33 -- WARNING: Could not get any data from external command
> 'e:\scripts\ImailMrtgRdeliver.cmd' Maybe the external command did not even
> start. ()

Debugging external commands:

1) make sure mrtg works.  Start with monitoring a regular interface
   and change nothing but the target line thereafter
2) use a dummy script at first that provides dummy output, just to
   test your target line
3) make sure the script used works.  Make sure it works when called
   from mrtg.  Do not assume the PATH is correct, use full path names
   for each and every external command called from the script

Do read faq entry #26 for this information, slightly more verbose.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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