[rrd-users] Re: rrdGraph help

This is a discussion on [rrd-users] Re: rrdGraph help within the RRD Users forums, part of the Networking and Network Related category; Kant, D (Dave) wrote: >Sometimes my sensor goes offline and the RRD archives contain >Unknown datapoints. >I ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2006
Simon Hobson
 
Posts: n/a
Default [rrd-users] Re: rrdGraph help

Kant, D (Dave) wrote:

>Sometimes my sensor goes offline and the RRD archives contain
>Unknown datapoints.
>I can set them to zero using CDEF statments. This results in large gaps in
>the graph. (See the first graph at http://tinyurl.com/ve6d8).
>
>Is there a way - similar to the second graph - to fill these gaps to
>indicate that
>no data is present due to sensor failure. Can someone send me an example?


How about having another cdef which is set to unknown when the data
is present, and to the upper Y axis limit (or at least some positive
value) when the data is absent. Then plot this cdef as an area.

That way, when your data is unknown (leave it that way rather than
set it to zero) it will not be plotted, but a rectangle of a
different colour will get plotted in the gap. When data is known it
will be plotted, and your extra cdef will not be plotted as it will
be unknown.

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0