Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-31 Thread Alex van den Bogaerdt
On Tue, Jan 30, 2007 at 04:32:27PM -0500, Ben Griffith wrote: > In fact, it isn't. It shows 15/3600. Ack. After thinking some more, this is logical. You have 15 times a counter increment. > >I'm not sure what it does for "absolute". For "counter" it saves > >the value multiplied by time, and

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-30 Thread Simon Hobson
Ben Griffith wrote: > > I could try updating more frequently. I think I'd have to >> adjust the rate multiplier accordingly. So if I update every 15 seconds I'd >> have to multiply by 900 (number of seconds in an hour divided by the number >> of 15 second blocks in a minute) instead of 3600

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-30 Thread Ben Griffith
On 1/30/07, Simon Hobson <[EMAIL PROTECTED]> wrote: Ben Griffith wrote: >Doesn't it just add up all the entries to get a total for the hour, >then from that a rate per second? Or does it actually compute the >rate throughout the hour, on the fly? No, it ALWAYS computes an average/max/min depe

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-30 Thread Ben Griffith
On 1/30/07, Alex van den Bogaerdt <[EMAIL PROTECTED]> wrote: On Tue, Jan 30, 2007 at 01:07:30AM -0500, Ben Griffith wrote: > I could try updating more frequently. I think I'd have to > adjust the rate multiplier accordingly. So if I update every 15 seconds I'd > have to multiply by 900 (numb

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-30 Thread Alex van den Bogaerdt
On Tue, Jan 30, 2007 at 01:07:30AM -0500, Ben Griffith wrote: > >This will of course be countered by the opposite: your boiler switched > >on a fraction of a second ago and you note "1" where the real status > >should have been "0". > > I thought of that, but I figured in the end the two cases wo

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-30 Thread Simon Hobson
Ben Griffith wrote: >Doesn't it just add up all the entries to get a total for the hour, >then from that a rate per second? Or does it actually compute the >rate throughout the hour, on the fly? No, it ALWAYS computes an average/max/min depending on what you set in the rrd. Also, you NEED to

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-29 Thread Ben Griffith
Thanks Alex! With your help I think I've got it all figured out. On 1/29/07, Alex van den Bogaerdt <[EMAIL PROTECTED]> wrote: On Mon, Jan 29, 2007 at 05:34:33PM -0500, Ben Griffith wrote: > Hi, > > I have a RRD that was defined as follows: > > rrdtool create $sensor.rrd -s 3600 \ >DS:m

Re: [rrd-users] rate per day graph from rate per hour DS

2007-01-29 Thread Alex van den Bogaerdt
On Mon, Jan 29, 2007 at 05:34:33PM -0500, Ben Griffith wrote: > Hi, > > I have a RRD that was defined as follows: > > rrdtool create $sensor.rrd -s 3600 \ >DS:minutes:ABSOLUTE:3600:0:60 \ >RRA:MAX:0.5:1:4800 > > Once per minute the RRD is updated with a 1 if my boiler is running,

[rrd-users] rate per day graph from rate per hour DS

2007-01-29 Thread Ben Griffith
Hi, I have a RRD that was defined as follows: rrdtool create $sensor.rrd -s 3600 \ DS:minutes:ABSOLUTE:3600:0:60 \ RRA:MAX:0.5:1:4800 Once per minute the RRD is updated with a 1 if my boiler is running, or a 0 if it is not. From that I can easily make a pseudo bar graph showing h