From: Florian Forster Date: Mon, 10 Jul 2006 18:51:57 +0000 (+0200) Subject: processes plugin: Renamed the selection option to `Process'. X-Git-Tag: collectd-3.11.0~76^2~2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6c38a4b795141f1e12dd2c56d90b2ae1af756a4c;p=collectd.git processes plugin: Renamed the selection option to `Process'. --- diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 2306b9f7..7f5c75ad 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -72,6 +72,10 @@ # Host host.foo.bar # +# +# Process name +# + # # Interface eth0 # IgnoreSelected false diff --git a/src/processes.c b/src/processes.c index b5483c7f..47bbcaa1 100644 --- a/src/processes.c +++ b/src/processes.c @@ -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); }