This is a discussion on [rrd-users] rrdGraph help within the RRD Users forums, part of the Networking and Network Related category; Hi, Sometimes my sensor goes offline and the RRD archives contain Unknown datapoints. I can set them to zero using ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
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? My rrdgraph scripts sets all UN datapoints to zero, then adds them together. When the sensor is down, all RRD files have UN datapoints coincident in time. /usr/bin/rrdtool graph test.png -t 'Used Storage (TB)' -v 'TB' -s -3m -w500 -h125 -l 0 DEF:A=A.rrd:Used:MAX DEF:B=B.rrd:Used:MAX CDEF:A_u=A,UN,0,A,IF CDEF:B_u=B,UN,0,B,IF CDEF:AU=A_u,B_u,+ AREA:AU#00ffff:AU:STACK Thanks in advance! Dave ================================================== ======= Dr Dave Kant CCLRC eScience Department Phone: (+44)|(0) 1235 778178 Rutherford Appleton Laboratory Fax: (+44)|(0) 1235 446626 Chilton, Didcot, Oxon, OX11 0QX, UK Email: D.Kant@rl.ac.uk ================================================== ======== -- 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 |