[mrtg] Re: problem with script and mrtg

PAUL WILLIAMSON pwilliamson at mandtbank.com
Fri Aug 11 20:23:41 MEST 2006


>>> "enediel gonzalez" <enediel at hotmail.com> 08/11/06 10:56 AM >>>
> 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
> 
<snipped that whole big config file>

You get 0 because 55/300 is less than 1.  Add gauge to your options
line 
and this should start working.

You also might want to replace most of your legends with &nbsp 
so you don't bombard your Nagios user with the word 
"temperature" all over the graph.

Paul

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