<Plugin procevent>
BufferLength 10
Process "name"
- RegexProcess "regex"
+ ProcessRegex "regex"
</Plugin>
B<Options:>
Enumerate a process name to monitor. All processes that match this exact
name will be monitored for EXECs and EXITs.
-=item B<RegexProcess> I<regex>
+=item B<ProcessRegex> I<regex>
Enumerate a process pattern to monitor. All processes that match this
regular expression will be monitored for EXECs and EXITs.
static processlist_t *processlist_head = NULL;
static int event_id = 0;
-static const char *config_keys[] = {"BufferLength", "Process", "RegexProcess"};
+static const char *config_keys[] = {"BufferLength", "Process", "ProcessRegex"};
static int config_keys_num = STATIC_ARRAY_SIZE(config_keys);
/*
buffer_length = atoi(value);
} else if (strcasecmp(key, "Process") == 0) {
ignorelist_add(ignorelist, value);
- } else if (strcasecmp(key, "RegexProcess") == 0) {
+ } else if (strcasecmp(key, "ProcessRegex") == 0) {
#if HAVE_REGEX_H
status = ignorelist_add(ignorelist, value);
}
#else
WARNING("procevent plugin: The plugin has been compiled without support "
- "for the \"RegexProcess\" option.");
+ "for the \"ProcessRegex\" option.");
#endif
} else {
return (-1);
pools value:GAUGE:0:U
power value:GAUGE:U:U
pressure value:GAUGE:0:U
-procevent value:GAUGE:0:1
protocol_counter value:DERIVE:0:U
ps_code value:GAUGE:0:9223372036854775807
ps_count processes:GAUGE:0:1000000, threads:GAUGE:0:1000000