[rrd-users] Re: Specification of RRA Boundaries
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Sep 10 12:34:07 MEST 2004
On Fri, Sep 10, 2004 at 07:43:18PM +1000, Richard Nelson wrote:
> > Try RRA:MAX:0.9:60:768
> Thanks for the reply Alex. Apologies for the lines and if I wasn't specific
> enough. Isn't that going to give me values every hour? I want the maximum
> value given for each day, and only a day. So, I do indeed want something
> else, but I don't *think* that's what I want either. Is there a way I can
> ask it to do things only at 00:00 EST? For this task, I pretty much only
> want a graph which has blocks of width one day. Numbers on top of the
> blocks would be nice too ;)
First of all you need to have input suitable to work with. Only then
you can massage the available data to look like you want.
In order to come up with a maximum of 24 hours starting and ending at
10:00 UTC, you could experiment with a number of CDEFs.
DEF:h00=....
CDEF:h01=h00,PREV
CDEF:h02=h01,PREV
CDEF:h03=h02,PREV
CDEF:h04=h03,PREV
[...]
CDEF:h23=h22,PREV
CDEF:maxval=h00,h01,h02,h03.... MAX,MAX,MAX...
AREA:maxval
perhaps with some protection against unknown data, such as:
CDEF:h01=h00,UNKN,0,h00,IF,PREV
or something alike (I am not testing this, debug as necessary).
Labels on top of areas are AFAIK not possible. Remember that RRDtool is
designed to show many samples on one image, not just 24 or even 1.
400 labels on top of 400 lines would be unreadable.
HTH
Alex
--
You want an answer? You'd better follow the following guidelines!
Linesize well below 80 chars. Reply to the list, not to me. Trim
irrelevant lines. Answer below the remaining paragraph.
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list