[rrd-users] Adding an element to a graph

Alex van den Bogaerdt alex at ergens.op.het.net
Fri Mar 2 06:10:54 CET 2007

On Thu, Mar 01, 2007 at 03:44:02PM -0500, Dan Cech wrote:

> Why don't you create an RRD and keep it updated with a zero value every
> period?  Then if there is no data for the graph you can just use the
> 'dummy' rrd.

works, but isn't even needed.

Any file should do (within reason), just POP the value:

DEF:whatever=[... some random rrd ...]

"whatever" is only needed to make this CDEF valid.  The data isn't important,
the intervals are (this is remembered despite that POP).

Choose an appropriate RRD to get the intervals you want.

Alex van den Bogaerdt

More information about the rrd-users mailing list