processes plugin: The DS-type of the pagefault RRD-file is COUNTER, not GAUGE.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 10 Jul 2006 21:03:52 +0000 (23:03 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 10 Jul 2006 21:03:52 +0000 (23:03 +0200)
src/processes.c

index 47bbcaa..cb6bb48 100644 (file)
@@ -135,8 +135,8 @@ static char *ps_pagefaults_file = "processes/ps_pagefaults-%s.rrd";
 static char *ps_pagefaults_ds_def[] =
 {
        /* max = 2^63 - 1 */
-       "DS:minflt:GAUGE:"COLLECTD_HEARTBEAT":0:9223372036854775807",
-       "DS:majflt:GAUGE:"COLLECTD_HEARTBEAT":0:9223372036854775807",
+       "DS:minflt:COUNTER:"COLLECTD_HEARTBEAT":0:9223372036854775807",
+       "DS:majflt:COUNTER:"COLLECTD_HEARTBEAT":0:9223372036854775807",
        NULL
 };
 static int ps_pagefaults_ds_num = 2;