[rrd-users] Struggling with rrdtool graph function.

Simon Hobson linux at thehobsons.co.uk
Tue Mar 26 15:39:14 CET 2013

Randy wrote:
><RRD::GRAPH $NODE-test.png
>   --start $START --end now

You're better specifying an end time, and calculating it to be on consolidated data boundary for the resolution in use. So for 5 minute samples, munge it to be an integer multiple of 300 seconds.

>However, this gives me the total data used for a specific time period  
>based on a 24 hour day. What I really want is  the total data used  
>during a specific time period and only during 8am to 10pm. Is there a  
>way to do this using rrdgraph?

There's no direct way. The only way I can think of would be to create a CDEF that sets the data to 0 (or unknown) outside of the times you are interested in - and then total that.

More information about the rrd-users mailing list