[EMAIL PROTECTED] wrote:

> I'm currently plotting a 'per month' graph, of maximum values (over a
> year).
> Whenever I do though the 'transition point' appears to be in the middle of
> the month.
> What I'd like is so the maximum each month, appears as a block from the
> start, to the end of the month.
> At a guess there's a pretty simple way of doing this, but I can't seem to
> figure out what it is.

This is not easy.  RRDtool works with intervals of equal size.  As you
know a month does not have a fixed number of seconds.

Even when you'd decide to show statistics per week you still have a
problem as RRDtool works internally with UTC time.  An interval of
exactly one week will start at fixed intervals.  For the current interval
this is the seventh of February, 00:00 UTC.

1013188654 - (1013188654 mod 604800) = 1013040000 == February 7th 00:00 UTC

I'm not entirely sure but I think you're trying to use the wrong tool
to do your job.

cheers,
-- 
   __________________________________________________________________
 / [EMAIL PROTECTED]                  [EMAIL PROTECTED] \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to