X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=2f7e1cd5d427558279b1e547b11609ddc72e4295;hb=6fe9925aebdc99cee1ae3d00a0a869477400c8e5;hp=f99fe77f2d9328fdec702f7d365a86e5344adfa7;hpb=b2ea1d933eb97c6dbbf523540bbc072db961eb9b;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index f99fe77f..2f7e1cd5 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1611,7 +1611,7 @@ finance page and dispatch the value to collectd. - PluginName "quotes" + Plugin "quotes" URL "http://finance.google.com/finance?q=NYSE%3AAMD" User "foo" Password "bar" @@ -1643,9 +1643,9 @@ The following options are valid within B blocks: =over 4 -=item B I +=item B I -Use I as the plugin name when submitting values. +Use I as the plugin name when submitting values. Defaults to 'curl'. =item B I @@ -3542,6 +3542,7 @@ Synopsis of the configuration: Server "localhost" Key "page_key" + Plugin "plugin_name" Regex "(\\d+) bytes sent" DSType CounterAdd @@ -3569,6 +3570,11 @@ B block. When connected to the memcached server, asks for the page I. +=item B I + +Use I as the plugin name when submitting values. +Defaults to 'memcachec'. + =item EBE Match blocks define which strings to look for and how matches substrings are @@ -7525,7 +7531,7 @@ user using (extended) regular expressions, as described in L. - PluginName "mail" + Plugin "mail" Instance "exim" Interval 60 @@ -7557,12 +7563,12 @@ The config consists of one or more B blocks, each of which configures one logfile to parse. Within each B block, there are one or more B blocks, which configure a regular expression to search for. -The B and B options in the B block may be used to set +The B and B options in the B block may be used to set the plugin name and instance respectively. So in the above example the plugin name C would be used. These options are applied for all B blocks that B it, until the -next B or B option. This way you can extract several plugin +next B or B option. This way you can extract several plugin instances from one logfile, handy when parsing syslog and the like. The B option allows you to define the length of time between reads. If @@ -7744,7 +7750,7 @@ B Index 1 - PluginName "snortstats" + Plugin "snortstats" Instance "eth0" Interval 600 Collect "snort-dropped" @@ -7797,9 +7803,9 @@ I block but there can be multiple if you have multiple CSV files. =over 4 -=item B I +=item B I -Use I as the plugin name when submitting values. +Use I as the plugin name when submitting values. Defaults to 'tail_csv'. =item B I