[hobbit] hobbit not adding negative values to rrd database

Jerry Yu jjj863 at gmail.com
Sun Jan 28 22:11:58 CET 2007


If I recall correctly, I believe rrd/do_temperature.c assumes all numbers
are positive integers. Negative numbers and floating-point numbers will
confuse it enough to fail to parse the input properly.

On 1/28/07, hansi tesarz <hansi.tesarz at gmail.com> wrote:
>
> Hi
> I have a temperature monitor for outside temperature.
>
> i cant get it to work when the temperature is negative.
>
> the rrdtool reports this
> <rrd>
>         <version> 0003 </version>
>         <step> 300 </step> <!-- Seconds -->
>         <lastupdate> 1170011401 </lastupdate> <!-- 2007-01-28 20:10:01 CET
> -->
>
>         <ds>
>                 <name> Utetemp </name>
>                 <type> GAUGE </type>
>                 <minimal_heartbeat> 600 </minimal_heartbeat>
>                 <min> -4.0000000000e+01 </min>
>                 <max> NaN </max>
>
>                 <!-- PDP Status -->
>                 <last_ds> UNKN </last_ds>
>                 <value> 4.0000000000e+00 </value>
>                 <unknown_sec> 0 </unknown_sec>
>         </ds>
>
>
> if i send positive values it gets updated
> but when it is negative nothing happens.
>
> any ideas?
>
> Regards
>
> - Hansi
>
>
> --
> Hansi Tesarz
> Tjäderstigen 7
> 142 63 Trångsund
> Tel:    +46 708611103
> Mail:   hansi at htk.se
> Web:  www.htk.se
> ICQ:   202-468-855
> Light Can Twist as Well as Spin
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070128/d01a1b97/attachment.html>


More information about the Xymon mailing list