[rrd-users] Re: Using absolute numbers

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Fri Jul 27 00:38:30 MEST 2001


Brian Ipsen wrote:

>  I consider using rrd to gather information about new articles on a NNTP
> server in different groups. But if I store values as absolute values (not
> the difference between 2 measurements), is it then possible to graph the
> differences in the measurements ?? Eg.

I currently do not know of a way to achieve this.  If you get a
suggestion off the list, please let me know.

> 1st measurement: 23102
> 2nd measurement: 23263
> 3rd measurement: 23421
> 4th measurement: 23643
> 
> The value displayed should then be:
> 
> 0 - 161 - 158 - 222
> 
> Possible ? Or do I have to store the last-measured values myself to
> calculate the difference and then store the calculated value in the database
> ?

I assume you have a reason to store the numbers as they are.  Why not
store them twice, once in a COUNTER and once in a GAUGE ?

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-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