From: octo Date: Wed, 15 Mar 2006 12:09:05 +0000 (+0000) Subject: Added a new RRA with one PDP per CDP. The RRA exists in the flavors `AVERAGE', `MIN... X-Git-Tag: liboping-0.1.0~143^2~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a000c91dc3de0977c2a57cf45dc8bd9f3045a14a;p=collectd.git Added a new RRA with one PDP per CDP. The RRA exists in the flavors `AVERAGE', `MIN' and `MAX' though that shouldn't make much difference.. --- diff --git a/src/common.c b/src/common.c index 8393d8bb..0a4cba3f 100644 --- a/src/common.c +++ b/src/common.c @@ -32,18 +32,21 @@ extern kstat_ctl_t *kc; #ifdef HAVE_LIBRRD static char *rra_def[] = { + "RRA:AVERAGE:0.0:1:1500", "RRA:AVERAGE:0.2:6:1500", "RRA:AVERAGE:0.1:180:1680", "RRA:AVERAGE:0.1:2160:1520", + "RRA:MIN:0.0:1:1500", "RRA:MIN:0.2:6:1500", "RRA:MIN:0.1:180:1680", "RRA:MIN:0.1:2160:1520", + "RRA:MAX:0.0:1:1500", "RRA:MAX:0.2:6:1500", "RRA:MAX:0.1:180:1680", "RRA:MAX:0.1:2160:1520", NULL }; -static int rra_num = 9; +static int rra_num = 12; #endif /* HAVE_LIBRRD */ void sstrncpy (char *d, const char *s, int len)