LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   MRTG with Temptraxe (https://www.linuxquestions.org/questions/linux-software-2/mrtg-with-temptraxe-128142/)

mijohnst 12-22-2003 02:27 PM

MRTG with Temptraxe
 
For some reason, I can't get my MRTG to work correclty. When I do the check, I get this error:

[root@LINUX1 mrtg2]# /usr/local/mrtg-2/bin/mrtg /home/httpd/cfg/mrtg.cfg

WARNING: Problem with External get '/usr/local/nagios/libexec/mrtg_temptraxe -H 10.10.10.100 -p 1':
Expected a Number for 'out' but nothing'

Use of uninitialized value in concatenation (.) or string at /usr/local/mrtg-2/bin/mrtg
line 1710.
ERROR: Target[tte1-temp][_OUT_] ' $target->[0]{$mode} ' did not eval into defined data
Use of uninitialized value in numeric lt (<) at /usr/local/mrtg-2/bin/mrtg line 375.


But when I run the /usr/local/nagios/libexec/mrtg_temptraxe -H 10.10.10.100 -p 1 I get an output of the temperature. What might I be donig wrong? The content of my mrtg.cfg is below. Thanks for any help!

Mike


# Probe 1 Temperature
Target[tte1-temp]: `/usr/local/nagios/libexec/mrtg_temptraxe -H 10.10.10.100 -p 1`
MaxBytes[tte1-temp]: 200
Title[tte1-temp]: TempTrax Model E Probe 1 Temperature
PageTop[tte1-temp]: <H1>TempTrax Model E Probe 1 Temperature</H1>
Options[tte1-temp]: growright,gauge,nopercent
YLegend[tte1-temp]: Deg Farenheit
ShortLegend[tte1-temp]: &nbsp;
LegendI[tte1-temp]: &nbsp;Temperature:
LegendO[tte1-temp]:
Legend1[tte1-temp]: Temperature
Legend3[tte1-temp]: Maximal 5 Minute Temperature


All times are GMT -5. The time now is 09:52 PM.