Re: [rrd-users] Aggregation functions for combining whole data sets

This is a discussion on Re: [rrd-users] Aggregation functions for combining whole data sets within the RRD Users forums, part of the Networking and Network Related category; On Sun, Mar 23, 2008 at 12:44:21PM +0100, Carsten Aulbert wrote: [snip: one DS out of each of ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2008
Alex van den Bogaerdt
 
Posts: n/a
Default Re: [rrd-users] Aggregation functions for combining whole data sets

On Sun, Mar 23, 2008 at 12:44:21PM +0100, Carsten Aulbert wrote:

[snip: one DS out of each of 24 databases]
>
> CDEF:preavg=watin001,watin002,watin003,watin004,wa tin005,watin006,watin007,watin008,watin009,watin01 0,watin011,watin012,watin013,watin014,watin015,wat in016,watin017,watin018,watin019,watin020,watin021 ,watin022,watin023,watin024,+,+,+,+,+,+,+,+,+,+,+, +,+,+,+,+,+,+,+,+,+,+,+
> \
> CDEF:avg=preavg,24,/ \
> "LINE1:avg#FF0000"
>
> Is there a better way to do it?


You can combine those two CDEFs:

CDEF:avg=watin001,watin002...watin024,+,+,...+,24,/

Be aware of the following: should one (or more) of these DSes become
unknown, the sum will be unknown.

For this reason, AVG exists: CDEF:x=a,b,c,d,4,AVG

One possible problem though: if only one out of 24 is known, that will
become the 'average'.

HTH
--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:27 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0