X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=8606d3e05533ff123f606e30ea7ef1f514c8857b;hb=7e711643c470b830f3f8e94512c0a7adf5418202;hp=74a8cfc7e2629f050fbd48f2514978c6bd4843c9;hpb=67c4689b74c69cbd3444e9860eae07bad439066b;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 74a8cfc7..8606d3e0 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -944,6 +944,19 @@ File that holds one or more SSL certificates. If you want to use HTTPS you will possibly need this option. What CA certificates come bundled with C and are checked by default depends on the distribution you use. +=item B
I
+ +A HTTP header to add to the request. Multiple headers are added if this option +is specified more than once. + +=item B I + +Specifies that the HTTP operation should be a POST instead of a GET. The +complete data to be posted is given as the argument. This option will usually +need to be accompanied by a B
option to set an appropriate +C for the post body (e.g. to +C). + =item B B|B Measure response time for the request. If this setting is enabled, B @@ -1002,31 +1015,15 @@ The following options are valid within B blocks: Sets the plugin instance to I. =item B I - -Username to use if authorization is required to read the page. - =item B I - -Password to use if authorization is required to read the page. - =item B B|B - -Enable or disable peer SSL certificate verification. See -L for details. Enabled by default. - =item B B|B - -Enable or disable peer host name verification. If enabled, the plugin checks if -the C or a C field of the SSL certificate -matches the host name provided by the B option. If this identity check -fails, the connection is aborted. Obviously, only works when connecting to a -SSL enabled server. Enabled by default. - =item B I +=item B
I
+=item B I -File that holds one or more SSL certificates. If you want to use HTTPS you will -possibly need this option. What CA certificates come bundled with C -and are checked by default depends on the distribution you use. +These options behave exactly equivalent to the appropriate options of the +I plugin. Please see there for a detailed description. =back @@ -1095,14 +1092,34 @@ host name setting. Use I as the plugin instance when submitting values. Defaults to an empty string (no plugin instance). +=item B I I + +If an XPath expression references namespaces, they must be specified +with this option. I is the "namespace prefix" used in the XML document. +I is the "namespace name", an URI reference uniquely identifying the +namespace. The option can be repeated to register multiple namespaces. + +Examples: + + Namespace "s" "http://schemas.xmlsoap.org/soap/envelope/" + Namespace "m" "http://www.w3.org/1998/Math/MathML" + =item B I + =item B I + =item B B|B + =item B B|B + =item B I +=item B
I
+ +=item B I + These options behave exactly equivalent to the appropriate options of the -I and I plugins. Please see there for a detailed description. +I. Please see there for a detailed description. =item EB IE @@ -2516,6 +2533,14 @@ Required capabilities are documented below. IgnoreSelectedSnapshot false + + Interval 60 + + + + Interval 30 + + Interval 30 GetCPULoad true @@ -2523,6 +2548,13 @@ Required capabilities are documented below. GetDiskOps true GetDiskIO true + + + Interval 60 + + SnapVault true + # ... + @@ -2533,7 +2565,27 @@ The netapp plugin accepts the following configuration options: =item B I A host block defines one NetApp filer. It will appear in collectd with the name -you specify here which does not have to be its real name nor its hostname. +you specify here which does not have to be its real name nor its hostname (see +the B
option below). + +=item B I + +A B block may only be used inside a host block. It accepts all the +same options as the B block (except for cascaded B blocks) and +will execute all NetApp API commands in the context of the specified +VFiler(R). It will appear in collectd with the name you specify here which +does not have to be its real name. The VFiler name may be specified using the +B option. If this is not specified, it will default to the name +you specify here. + +The VFiler block inherits all connection related settings from the surrounding +B block (which appear before the B block) but they may be +overwritten inside the B block. + +This feature is useful, for example, when using a VFiler as SnapVault target +(supported since OnTap 8.1). In that case, the SnapVault statistics are not +available in the host filer (vfiler0) but only in the respective VFiler +context. =item B B|B @@ -2577,6 +2629,19 @@ Mandatory Type: string +=item B I + +The name of the VFiler in which context to execute API commands. If not +specified, the name provided to the B block will be used instead. + +Optional + +Type: string + +Default: name of the B block + +B This option may only be used inside B blocks. + =item B I B @@ -2907,6 +2972,38 @@ capacities will be selected anyway. =back +=head3 The Quota block + +This will collect (tree) quota statistics (used disk space and number of used +files). This mechanism is useful to get usage information for single qtrees. +In case the quotas are not used for any other purpose, an entry similar to the +following in C would be sufficient: + + /vol/volA/some_qtree tree - - - - - + +After adding the entry, issue C on the NetApp filer. + +=over 4 + +=item B I + +Collect SnapVault(R) statistics every I seconds. + +=back + +=head3 The SnapVault block + +This will collect statistics about the time and traffic of SnapVault(R) +transfers. + +=over 4 + +=item B I + +Collect SnapVault(R) statistics every I seconds. + +=back + =head2 Plugin C The C plugin uses a netlink socket to query the Linux kernel about @@ -4564,6 +4661,16 @@ Enables or disables the creation of RRD files. If the daemon is not running locally, or B is set to a relative path, this will not work as expected. Default is B. +=item B B|B + +When enabled, new RRD files are enabled asynchronously, using a separate thread +that runs in the background. This prevents writes to block, which is a problem +especially when many hundreds of files need to be created at once. However, +since the purpose of creating the files asynchronously is I to block until +the file is available, values before the file is available will be discarded. +When disabled (the default) files are created synchronously, blocking for a +short while, while the file is being written. + =item B I B the stepsize of newly created RRD-files. Ideally (and per default) @@ -4621,8 +4728,18 @@ can safely ignore these settings. =item B I -Set the directory to store RRD-files under. Per default RRD-files are generated -beneath the daemon's working directory, i.Ee. the B. +Set the directory to store RRD files under. By default RRD files are generated +beneath the daemon's working directory, i.e. the B. + +=item B B|B + +When enabled, new RRD files are enabled asynchronously, using a separate thread +that runs in the background. This prevents writes to block, which is a problem +especially when many hundreds of files need to be created at once. However, +since the purpose of creating the files asynchronously is I to block until +the file is available, values before the file is available will be discarded. +When disabled (the default) files are created synchronously, blocking for a +short while, while the file is being written. =item B I @@ -4643,7 +4760,7 @@ a very good reason to do so. The C calculates the number of PDPs per CDP based on the B, this setting and a timespan. This plugin creates RRD-files with -three times five RRAs, i. e. five RRAs with the CFs B, B, and +three times five RRAs, i.e. five RRAs with the CFs B, B, and B. The five RRAs are optimized for graphs covering one hour, one day, one week, one month, and one year. @@ -5039,6 +5156,97 @@ This optional setting sets the type instance to use. =back +=head2 Plugin C + +The I reads files in the CSV format, e.g. the statistics file +written by I. + +B + + + + Type "percent" + Instance "dropped" + Index 1 + + + Instance "snort-eth0" + Interval 600 + Collect "snort-dropped" + + + +The configuration consists of one or more B blocks that define an index +into the line of the CSV file and how this value is mapped to I +internal representation. These are followed by one or more B blocks +which configure which file to read, in which interval and which metrics to +extract. + +=over 4 + +=item EB IE + +The B block configures a new metric to be extracted from the statistics +file and how it is mapped on I data model. The string I is +only used inside the B blocks to refer to this block, so you can use +one B block for multiple CSV files. + +=over 4 + +=item B I + +Configures which I to use when dispatching this metric. Types are defined +in the L file, see the appropriate manual page for more +information on specifying types. Only types with a single I are +supported by the I. The information whether the value is an +absolute value (i.e. a C) or a rate (i.e. a C) is taken from the +I definition. + +=item B I + +If set, I is used to populate the type instance field of the +created value lists. Otherwise, no type instance is used. + +=item B I + +Configure to read the value from the field with the zero-based index I. +If the value is parsed as signed integer, unsigned integer or double depends on +the B setting, see above. + +=back + +=item EB IE + +Each B block represents one CSV file to read. There must be at least one +I block but there can be multiple if you have multiple CSV files. + +=over 4 + +=item B I + +Sets the I used when dispatching the values. + +=item B I + +Specifies which I to collect. This option must be specified at least +once, and you can use this option multiple times to specify more than one +metric to be extracted from this statistic file. + +=item B I + +Configures the interval in which to read values from this instance / file. +Defaults to the plugin's default interval. + +=item B I + +Rather than using the local time when dispatching a value, read the timestamp +from the field with the zero-based index I. The value is interpreted as +seconds since epoch. The value is parsed as a double and may be factional. + +=back + +=back + =head2 Plugin C The C connects to the query port of a teamspeak2 server and @@ -5372,13 +5580,16 @@ minimize the number of network packets. Synopsis: - + Host "localhost" Port "2003" Prefix "collectd" - + +The configuration consists of one or more EBEIE +blocks. Inside the B blocks, the following options are recognized: + =over 4 =item B I
@@ -5468,6 +5679,16 @@ If set to B (the default), convert counter values to rates. If set to B counter values are stored as is, i.e. as an increasing integer number. +=item B I + +=item B I + +=item B I + +Sets the information used when authenticating to a I database. The +fields are optional (in which case no authentication is attempted), but if you +want to use authentication all three fields must be set. + =back =head2 Plugin C @@ -5534,6 +5755,77 @@ number. =back +=head2 Plugin C + +The I will send values to I, a powerfull stream +aggregation and monitoring system. The plugin sends I encoded data to +I using UDP packets. + +Synopsis: + + + + Host "localhost" + Port "5555" + Protocol UDP + StoreRates true + AlwaysAppendDS false + Delay 10 + + Tag "foobar" + + +The following options are understood by the I: + +=over 4 + +=item EB IE + +The plugin's configuration consists of one or more B blocks. Each block +is given a unique I and specifies one connection to an instance of +I. Indise the B block, the following per-connection options are +understood: + +=over 4 + +=item B I
+ +Hostname or address to connect to. Defaults to C. + +=item B I + +Service name or port number to connect to. Defaults to C<5555>. + +=item B B|B + +Specify the protocol to use when communicating with I. Defaults to +B. + +=item B B|B + +If set to B (the default), convert counter values to rates. If set to +B counter values are stored as is, i.e. as an increasing integer number. + +This will be reflected in the C tag: If B is enabled, +converted values will have "rate" appended to the data source type, e.g. +C. + +=item B B|B + +If set the B, append the name of the I (DS) to the +"service", i.e. the field that, together with the "host" field, uniquely +identifies a metric in I. If set to B (the default), this is +only done when there is more than one DS. + +=back + +=item B I + +Add the given string as an additional tag to the metric being sent to +I. + +=back + =head1 THRESHOLD CONFIGURATION Starting with version C<4.3.0> collectd has support for B. By that