author | Sebastian Harl <sh@tokkee.org> | |
Tue, 28 Oct 2008 21:02:38 +0000 (22:02 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Tue, 28 Oct 2008 21:02:38 +0000 (22:02 +0100) | ||
commit | a2e60e30e09c9c7d881fe288074e20eb0d748219 | |
tree | 67613b68aed5441c41e0a62842887eb36efd1e1d | tree | snapshot |
parent | b15b750a5d5510ee32feb5988814be123448c791 | commit | diff |
filter_pcre: Added a plugin to filter value lists based on PCRE.
The user may specify a set of Perl-compatible regular expressions to match any
component of the (host, plugin, plugin instance, type, type instance) tuple.
Any of the filter flags may be used to handle a successful match.
Sample plugin configuration:
<Plugin filter_pcre>
<RegEx>
Host "^mail\d+$"
Plugin "^tcpconns$"
TypeInstance "^SYN_"
Action NoWrite
</Plugin>
The user may specify a set of Perl-compatible regular expressions to match any
component of the (host, plugin, plugin instance, type, type instance) tuple.
Any of the filter flags may be used to handle a successful match.
Sample plugin configuration:
<Plugin filter_pcre>
<RegEx>
Host "^mail\d+$"
Plugin "^tcpconns$"
TypeInstance "^SYN_"
Action NoWrite
</Plugin>
README | diff | blob | history | |
configure.in | diff | blob | history | |
src/Makefile.am | diff | blob | history | |
src/collectd.conf.in | diff | blob | history | |
src/collectd.conf.pod | diff | blob | history | |
src/filter_pcre.c | [new file with mode: 0644] | blob |