[mrtg-developers] Getting error from MRTGwhenrunningexternalscript

Scott S. Heath SHeath at udi.com
Tue Mar 18 23:12:07 CET 2008


Oh, as far as verion, I forgot I had installed the 95%tile "patch" on
that box. So it looks like it's either the 95%/total bandwidth or
exchange monitoring.

-----Original Message-----
From: mrtg-developers-bounces at lists.oetiker.ch
[mailto:mrtg-developers-bounces at lists.oetiker.ch] On Behalf Of Alex van
den Bogaerdt
Sent: Tuesday, March 18, 2008 4:51 PM
To: mrtg-developers at lists.oetiker.ch
Subject: Re: [mrtg-developers] Getting error from
MRTGwhenrunningexternalscript

On Tue, Mar 18, 2008 at 10:57:22AM -0500, Scott S. Heath wrote:
> Alex,
> I feel so much better knowing I'm not nuts and that my code does work.
> 
> MRTG runs fine w/o the external program interface (got it watching our
> router at the datacenter so we can charge customers bandwidth)
> 
> I found the last newline and removed it. 
> 
> 0000000   2   0   0  \n   0  \n   0  \n   C   o   p   y   Q   u   e
u
> 0000020   e   L   e   n   g   t   h
> 0000027

I didn't imply that you should remove that newline.  I think it is
better to keep it in.  I was just wondering why the output did have
a newline but your code did not show this.

> The script has 777 permissions (I'll adjust these later) and I still
get
> the same error.

In this case I have only one suggestion left, if that doesn't work
then someone else will have to step in:

What version of mrtg are you using, maybe you should upgrade or, if
you use the latest version, try one version below.

good luck with your problem.
Alex

_______________________________________________
mrtg-developers mailing list
mrtg-developers at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-developers




More information about the mrtg-developers mailing list