[mrtg] problem with script and mrtg

enediel gonzalez enediel at hotmail.com
Fri Aug 11 16:56:01 MEST 2006


Hello

I have one script that should take the maximum of all cpu temperatures and 
return it to mrtg
The script returns the following 4 lines when I execute it manually
53
53
0:0:55:58
192.168.0.240


In this way I declared it into mrtg.cfg

Target[192.168.0.240_Desktop-Temperature]: 
`/usr/local/nagios/libexec/check_cpu_temperature_mrtg.php -H 192.168.0.240 
-C public -i '2'`
MaxBytes[192.168.0.240_Desktop-Temperature]: 100
Options[192.168.0.240_Desktop-Temperature]: growright, nobanner, nolegend, 
unknaszero
Title[192.168.0.240_Desktop-Temperature]: Desktop-CPU-temperature
PageTop[192.168.0.240_Desktop-Temperature]: <H1>Desktop-CPU-temperature</H1>
YLegend[192.168.0.240_Desktop-Temperature]: temperature
LegendI[192.168.0.240_Desktop-Temperature]: temperature
LegendO[192.168.0.240_Desktop-Temperature]: temperature
Legend1[192.168.0.240_Desktop-Temperature]: temperature
Legend2[192.168.0.240_Desktop-Temperature]: temperature
Legend3[192.168.0.240_Desktop-Temperature]: temperature
Legend4[192.168.0.240_Desktop-Temperature]: temperature
Colours[192.168.0.240_Desktop-Temperature]: 
GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[192.168.0.240_Desktop-Temperature]: ymw

reviewing the logs nothing is reported there, and the value I see on the 
graphs is all the time 0

Appreciate if somebody helps me to find out my mistake
Thanks in advance
Enediel
Linux user 300141
Debian GNU/Linux


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list