steve rader wrote:

> At any rate, I now dislike the name "rrdlastds" for the contrib
> script I wrote: it doesn't report about the last DS values but
> rather it reports about the *current* DS values!   At this
> point I plan on renaming "rrdlastds" to "dsvalues" and adding
> "dsvalues --last" for reporting about the last update values.
> Other ideas/comments/questions/concerns/heckling are welcome.

Not entirely on topic but since you're talking about last here it
is anyway:

I'm considering implementing FIRST inside rrdtool graph.

I'm working on an extention to rrd_graph.  This allows for fetching
values from a DEF statement, such as min,max,average,percentile,
last and first.  More to come (probably).  These values can be used
inside (G)PRINT but can also be used in CDEF statements.  Eventually
everything should be programmable.

What about:

DEF:inbytes= ... 
VDEF:gs=inbytes,FIRST
VDEF:ge=inbytes,LAST
VDEF:ga=inbytes,AVERAGE
VDEF:gm=inbytes,MAXIMUM
VDEF:gp=inbytes,95,PERCENTILE
VDEF:bill=gp,0.0025,*
LINE:inbytes#0000FF:Traffic
GPRINT:gm:"Max. %6.2lf %sBps"
GPRINT:ga:"Avg. %6.2lf %sBps\n"
HRULE:gp#FF0000:"95th percentile"
GPRINT:gp:"%6.2lf %sBps"
GPRINT:bill:"USD %6.2lf"
TITLE:"traffic from foo to bar\nstart %c end %c, cost %9.2lf",gs,ge,bill

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-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to