Code

processes plugin: Renamed the selection option to `Process'.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 10 Jul 2006 18:51:57 +0000 (20:51 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 10 Jul 2006 18:51:57 +0000 (20:51 +0200)
src/collectd.conf.in
src/processes.c

index 2306b9f7b77526d67daf93e5691fdc3df22b20a9..7f5c75ad459a76ce43f549fa3c6a05b3ce557aeb 100644 (file)
 #      Host host.foo.bar
 #</Plugin>
 
+#<Plugin processes>
+#      Process name
+#</Plugin>
+
 #<Plugin traffic>
 #      Interface eth0
 #      IgnoreSelected false
index b5483c7fc808bc060b0329037265da7c77e02fe6..47bbcaa1882f8620ae880aa048983c67c1f8993c 100644 (file)
@@ -143,7 +143,7 @@ static int ps_pagefaults_ds_num = 2;
 
 static char *config_keys[] =
 {
-       "CollectName",
+       "Process",
        NULL
 };
 static int config_keys_num = 1;
@@ -402,7 +402,7 @@ static void ps_list_reset (void)
 
 static int ps_config (char *key, char *value)
 {
-       if (strcasecmp (key, "CollectName") == 0)
+       if (strcasecmp (key, "Process") == 0)
        {
                ps_list_register (value);
        }