Owen DeLong wrote:

> Even if your math works out (which I expect it does), you forgot to
> multiply
> in the CDEF  (total=pagespersecond,$DURATION,*), and I believe you've

Indeed I did.

> made an
> unnecessary complexity in requiring an external script that knows alot
> about the graph.

This is just the front end script.  Whatever you use, you have to use
*some* way to generate the "rrdtool graph" command.  Even if you do so
by hand, you could do the math and feed the proper start and end times.

The only reason I used a script is because it shows what the logic
behind the values is.

> I believe his CDEF would do it if he got around a couple of
> hurdles.
[snip]
> CDEF:total=PREV,PREV,0,IF,rate,seconds,*,+

This will probably work, however where do you get 'seconds' from?
And how do you make sure it is correct?

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