From a000c91dc3de0977c2a57cf45dc8bd9f3045a14a Mon Sep 17 00:00:00 2001 From: octo Date: Wed, 15 Mar 2006 12:09:05 +0000 Subject: [PATCH] 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.. --- src/common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2