[rrd-users] break in line graph when using IF...

Anders Kvist anders at kvistmail.dk
Thu Oct 28 22:40:36 CEST 2010


  On 2010-10-28 20:45, Pablo Sanchez wrote:
>> It would be nice to have the temperature graph as one continuous
>> line, but right now, it's broken each time the temperature goes up
>> or under 8 degrees. Can this be done in an other way?
> I believe what you want to do is specify `UNKN' rather than 0.  Give
> it a shot:
>
>> CDEF:tempover=temp,8,GT,0,temp,IF
>> CDEF:tempunder=temp,8,GT,temp,0,IF
> to
>
>    CDEF:tempover=temp,8,GT,UNKN,temp,IF
>    CDEF:tempunder=temp,8,GT,temp,UNKN,IF
Great, that worked - thanks! :D

/Anders



More information about the rrd-users mailing list