Code

Added a new RRA with one PDP per CDP. The RRA exists in the flavors `AVERAGE', `MIN...
authorocto <octo>
Wed, 15 Mar 2006 12:09:05 +0000 (12:09 +0000)
committerocto <octo>
Wed, 15 Mar 2006 12:09:05 +0000 (12:09 +0000)
src/common.c

index 8393d8bb67381239f4e1288b897ca05cdc013f48..0a4cba3f80002b766717724c9651ec2afa4116e8 100644 (file)
@@ -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)