[mrtg] Decimals from monitoring script

Henrik Larsson henrik at larsson.net
Wed Mar 28 22:13:33 MEST 2001


Hello,

I am trying to monitor a special temperature device with help of MRTG. I 
have programmed my own little script which perform this, but MRTG doesn't 
accept the values that are given from my script.

My script reports the temperature with one decimal like "0.3". I have made 
a workaround with negative numbers, so that is allready fixed.

Can I in some way get MRTG to be nice to numbers with one decimal or do I 
need to do some kind of multiplication in my script (like X * 10) too fool 
MRTG and then divide the result with some config parameter (like X / 10) in 
mrtg.cfg so I get the correct result in my graph in the end. But it seems 
like it isn't possible to divide in MRTG...just do multiplication...

Thanks for your help

Regards,

Henrik Larsson
henrik at larsson.net
Sweden


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