[mrtg] Re: MRTG errors... Please help

Johnston Michael J Contr AFRL/DES michael.johnston at kirtland.af.mil
Wed Jan 14 23:26:27 MET 2004


Thank you for your response.  I would very much like to look at some
examples.  Where would I find the doco?  Is that a site somewhere?  Please
excuse my ignorance.

-----Original Message-----
From: vk2ydh [mailto:vk2ydh at hotmail.com]
Sent: Wednesday, January 14, 2004 3:19 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG errors... Please help


Michael,

MRTG expects to see 4 variables returned by the external script separated by
newline characters. You seem to be only returning 1.

eg

in
out
something
somethingelese

Check the mrtg script examples in the doco.


----- Original Message ----- 
From: "Johnston Michael J Contr AFRL/DES" <michael.johnston at kirtland.af.mil>
To: <mrtg at list.ee.ethz.ch>
Sent: Thursday, January 15, 2004 9:06 AM
Subject: [mrtg] MRTG errors... Please help


>
> I'm sorry if this has been answered over and over again, but I can't seem
to
> find anything that will help me narrow down my trouble.  I've looked
through
> the FAQ's and done google searches, but nothing has come close to helping
> me.  I hope someone can help me by pointing out what I've been doing
wrong.
> I'm using Redhat 9.0.  Any help would be great.  Thanks in advance!
>
> I'm trying to monitor one temperature unit.  This is what's in my mrtg.cfg
> file:
>
> ####################################################################
> Target[BLD47-107]: `/usr/local/nagios/libexec/mrtg_temptraxe -H
10.10.10.10
> -p 1`
> MaxBytes[BLD47-107]: 200
> Title[BLD47-107]: Building 4, Lab 7
> PageTop[BLD47-107]: <H1> Lab 107 Temperature </H1>
> Options[BLD47-107]: growright,gauge,nopercent
> YLegend[BLD47-107]: Deg Farenheit
> ShortLegend[BLD47-107]: &nbsp;
> LegendI[BLD47-107]: &nbsp;Temperature:
> Legend1[BLD47-107]: Temperature
> Legend3[BLD47-107]: Maximal 5 Minute Temperature
> ###################################################################
>
> When I run "/usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/mrtg.cfg" I get
an
> error I can't figure out.  I've tried adjust the file but I still get the
> error below.  The strange thing is that it appears that it's really
working
> because my graph is growing and the temperature is correct most of the
time.
>
> ####################################################################
> [root at Nagios libexec]# /usr/local/mrtg-2/bin/mrtg
> /var/www/html/mrtg/mrtg.cfg
> WARNING: Problem with External get
'/usr/local/nagios/libexec/mrtg_temptraxe
> -H 10.10.10.10 -p 1':
>    Expected a Number for 'out' but nothing'
> #####################################################################
> (running the command it's trying to run from the command line)
>
> [root at Nagios html]# /usr/local/nagios/libexec/mrtg_temptraxe -H
> 129.238.159.44 -p 1
> 70
> #####################################################################
>
> In the FAQ's it says that this is due to outputs given in fraction, white
> space or not output.  Well, I've checked all of that and I do get a whole
> number and there is not white space.  I'm stumped.  Has anyone had this
> problem?  Any help would be great.
>
> Mike
>
> --
> 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

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