[mrtg] Re: problem using result from external script

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Fri May 12 13:16:23 MEST 2000

nicolas.pigeau at paribas.com wrote:

> Hi All,

> Here is my (new) problem: using an external script to get "input errors" on two
> interfaces and display them on the same graph.

> I attached the script I created at the end of this mail.
> I tested it, and it seems to me that the result are OK (I compared the result
> with an snmpget, and quite surprisingly, the result is the same...)
> But when I use it with MRTG, I get an:
>  ""  Problem with Externale get '`/opt/mrtg-2.8.9/run/my_contrib/get_errors.pl
> public 2 public 4`':
>     Expected an INTEGER for 'out' but got ''  ""      (same problem with "in").

Sorry, no time to check the script.  However, would I receive this error 
then the first thing I would do is store the script's output in a file and
look at the byte level if it is what it should be.
In most cases you'll find a problem with whitespace.

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

More information about the mrtg mailing list