[rrd-users] Struggling with rrdtool graph function.

Randy rrdtool at anr.net
Wed Mar 27 13:55:26 CET 2013

I get the concept. What I can't seem to wrap my head around is the  
specifics of how these statements fit together. If I had an example  
rrdgraph statement to look at that used these statement, it would  
help. I can't seem to find documentation that I can make heads or  
tails of or any examples. I even downloaded Router2 to try and look,  
but the programming there is way above me and I couldn't seem to pull  
out the relevant pieces.

What I need is a concrete example to see and then go from there


Quoting Steve Shipway <s.shipway at auckland.ac.nz>:

> 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.shipway at auckland.ac.nz
> Ph: +64 9 373 7599 ext 86487

More information about the rrd-users mailing list