[rrd-users] Struggling with rrdtool graph function.

Steve Shipway s.shipway at auckland.ac.nz
Tue Mar 26 20:18:52 CET 2013

What you're asking for is pretty much exactly what the Routers2 software does in its "Working Day Average" and "Working Day Total" functions.  These work out the values just over the 8am-6pm working day time period.

The way it does it is, as Simon suggested, having a separate CDEF that calculates either UNKNOWN or the value in question, using the TIME function and a lot of IT statements to identify the day of the week and the hour.  Then, you can total, average, etc the CDEF.


Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.shipway at auckland.ac.nz
Ph: +64 9 373 7599 ext 86487

More information about the rrd-users mailing list