X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=2f7e1cd5d427558279b1e547b11609ddc72e4295;hb=6fe9925aebdc99cee1ae3d00a0a869477400c8e5;hp=9b31de7ec28d16324ba74f43048b2fef763271fb;hpb=0bfc2ea8afa790964166121b59b40a32665aba71;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 9b31de7e..2f7e1cd5 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1611,6 +1611,7 @@ finance page and dispatch the value to collectd. + Plugin "quotes" URL "http://finance.google.com/finance?q=NYSE%3AAMD" User "foo" Password "bar" @@ -1642,6 +1643,11 @@ The following options are valid within B blocks: =over 4 +=item B I + +Use I as the plugin name when submitting values. +Defaults to 'curl'. + =item B I URL of the web site to retrieve. Since a regular expression will be used to @@ -3536,6 +3542,7 @@ Synopsis of the configuration: Server "localhost" Key "page_key" + Plugin "plugin_name" Regex "(\\d+) bytes sent" DSType CounterAdd @@ -3563,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 @@ -7519,6 +7531,7 @@ user using (extended) regular expressions, as described in L. + Plugin "mail" Instance "exim" Interval 60 @@ -7550,11 +7563,13 @@ 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 option in the B block may be used to set the plugin -instance. So in the above example the plugin name C would be used. -This plugin instance is for all B blocks that B it, until the -next B option. This way you can extract several plugin instances from -one logfile, handy when parsing syslog and the like. +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 +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 this is not set, the default Interval will be used. @@ -7735,7 +7750,8 @@ B Index 1 - Instance "snort-eth0" + Plugin "snortstats" + Instance "eth0" Interval 600 Collect "snort-dropped" @@ -7787,6 +7803,11 @@ I block but there can be multiple if you have multiple CSV files. =over 4 +=item B I + +Use I as the plugin name when submitting values. +Defaults to 'tail_csv'. + =item B I Sets the I used when dispatching the values.