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 Steve Shipway University of Auckland ITS UNIX Systems Design Lead s.ship...@auckland.ac.nz Ph: +64 9 373 7599 ext 86487 _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users