[rrd-developers] Re: rrdtool graph (fwd)
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Sun Aug 12 20:00:37 MEST 2001
Tobias Oetiker wrote:
> Moving the data manipulation stuff to an extra module certainly
> sounds like a good idea to me ... we could think of it as an
> extended version of rrdtool fetch ... how would you go about it?
> What aobut the interfaces ?
What I ment is sort of integrating the DEF,CDEF,VDEF with rrdtool fetch.
The rest of rrdtool graph should then move to a front-end application.
This means rrdtool graph will result in an error, unless it just
calls the separate application rrdgraph.
RRDtool fetch and DEF from rrdtool graph do more or less the same.
CDEF and VDEF should also belong to the same part of rrdtool as they
are closely related to DEF.
Just as getting the numbers (snmp) is related to (but not built in to)
rrdtool update, generating the graph should be related to rrdtool fetch.
rrdtool fetch could deliver the data in ascii format (and hopefully
formatted to the users liking) or in binary format. Just use a portion
of the current rrdtool graph script language:
DEF:ds0=my.rrd:ds0:AVERAGE:300:997567200:+24h
(resolution, start and end time optional)
CDEF:ds0bits=ds0,8,*
PRINT:ds0bits,"%6.2lf"
(PRINT works on all data, hence no CF)
RETURN:ds0bits
(returns (a pointer to) the data to the calling program)
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| 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:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-developers
mailing list