[mrtg] Re: External perl scripts

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Wed Apr 18 03:19:34 MEST 2001

Cliff Fogle wrote:

> Having trouble calling an external perl script that parses timeticks for apc
> runtime on batt.  The perl script alone works as expected, but once in the
> MRTG config file the graph is created and the following error hits STDOUT.


> Here is the output from the perl script itself:
> 	administrator at GALAXY /cygdrive/c/mrtg-2.9.10/bin
> 	$ perl apc.pl hostname
> 	16
> 	0
> 	0
> 	0

Filter this output through "od -tx1" to see what it actually
shows.  It will probably be an issue with whithespace, newlines,
that sort of stuff.  Maybe a chomp will help.

 / 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