X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=f20f42e3f41ee3d01fc7877bed4585f0fa9bfd27;hb=92445ff3363441d0f515de4a3ab92a504cfc0366;hp=00f56e7f3281541204edddb83ccb3897c1cde446;hpb=a813e8af8379bd0f55a2b46fc7918fa31de9522e;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 00f56e7f..f20f42e3 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -30,7 +30,11 @@ section-start or -end. Empty lines and everything after the hash-symbol `#' is ignored. Values are either string, enclosed in double-quotes, (floating-point-)numbers or a boolean expression, i.Ee. either B or B. String containing of only alphanumeric characters and underscores do -not need to be quoted. +not need to be quoted. Lines may be wrapped by using `\' as the last character +before the newline. This allows long lines to be split into multiple lines. +Quoted strings may be wrapped as well. However, those are treated special in +that whitespace at the beginning of the following lines will be ignored, which +allows for nicely indenting the wrapped lines. The configuration is read and processed in order, i.Ee. from top to bottom. So the plugins are loaded in the order listed in this config file. It @@ -173,6 +177,19 @@ Optional user name needed for authentication. Optional password needed for authentication. +=item B B + +Enable or disable peer SSL certificate verification. See +L for details. Enabled by default. + +=item 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 File that holds one or more SSL certificates. If you want to use HTTPS you will @@ -197,6 +214,49 @@ TCP-Port to connect to. Defaults to B<3551>. =back +=head2 Plugin C + +This plugin collects information about an Ascent server, a free server for the +"World of Warcraft" game. This plugin gathers the information by fetching the +XML status page using C and parses it using C. + +The configuration options are the same as for the C plugin above: + +=over 4 + +=item B I + +Sets the URL of the XML status output. + +=item B I + +Optional user name needed for authentication. + +=item B I + +Optional password needed for authentication. + +=item B B + +Enable or disable peer SSL certificate verification. See +L for details. Enabled by default. + +=item 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 + +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. + +=back + =head2 Plugin C This plugin doesn't have any options. It reads @@ -247,6 +307,40 @@ at all, B partitions are selected. =back +=head2 Plugin C + +The C plugin collects information about the usage of physical disks and +logical disks (partitions). Values collected are the number of octets written +to and read from a disk or partition, the number of read/write operations +issued to the disk and a rather complex "time" it took for these commands to be +issued. + +Using the following two options you can ignore some disks or configure the +collection only of specific disks. + +=over 4 + +=item B I + +Select the disk I. Whether it is collected or ignored depends on the +B setting, see below. As with other plugins that use the +daemon's ignorelist functionality, a string that starts and ends with a slash +is interpreted as a regular expression. Examples: + + Disk "sdd" + Disk "/hda[34]/" + +=item B B|B + +Sets whether selected disks, i.Ee. the ones matches by any of the B +statements, are ignored or if all other disks are ignored. The behavior +(hopefully) is intuitive: If no B option is configured, all disks are +collected. If at least one B option is given and no B or +set to B, B matching disks will be collected. If B +is set to B, all disks are collected B the ones matched. + +=back + =head2 Plugin C =over 4 @@ -759,6 +853,19 @@ Optional user name needed for authentication. Optional password needed for authentication. +=item B B + +Enable or disable peer SSL certificate verification. See +L for details. Enabled by default. + +=item 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 File that holds one or more SSL certificates. If you want to use HTTPS you will @@ -767,6 +874,32 @@ and are checked by default depends on the distribution you use. =back +=head2 Plugin C + +This plugin sends a desktop notification to a notification daemon, as defined +in the Desktop Notification Specification. To actually display the +notifications, B is required and B has to be +able to access the X server. + +The Desktop Notification Specification can be found at +L. + +=over 4 + +=item B I + +=item B I + +=item B I + +Set the I, in milliseconds, after which to expire the notification +for C, C and C severities respectively. If zero has +been specified, the displayed notification will not be closed at all - the +user has to do so herself. These options default to 5000. If a negative number +has been specified, the default is used as well. + +=back + =head2 Plugin C =over 4 @@ -819,6 +952,243 @@ Sets the Time-To-Live of generated ICMP packets. =back +=head2 Plugin C + +The C plugin queries statistics from PostgreSQL databases. It +keeps a persistent connection to all configured databases and tries to +reconnect if the connection has been interrupted. The statistics are collected +from PostgreSQL's B which thus has to be enabled for +this plugin to work correctly. This should usually be the case by default. +See the section "The Statistics Collector" of the B +for details. + +The B manual can be found at +L. + + + + Host "hostname" + Port "5432" + User "username" + Password "secret" + SSLMode "prefer" + KRBSrvName "kerberos_service_name" + + + Service "service_name" + + + +=over 4 + +=item B block + +The B block defines one PostgreSQL database for which to collect +statistics. It accepts a single mandatory argument which specifies the +database name. None of the other options are required. PostgreSQL will use +default values as documented in the section "CONNECTING TO A DATABASE" in the +L manpage. However, be aware that those defaults may be influenced by +the user collectd is run as and special environment variables. See the manpage +for details. + +=item B I + +Specify the hostname or IP of the PostgreSQL server to connect to. If the +value begins with a slash, it is interpreted as the directory name in which to +look for the UNIX domain socket. + +This option is also used to determine the hostname that is associated with a +collected data set. If it has been omitted or either begins with with a slash +or equals B it will be replaced with the global hostname definition +of collectd. Any other value will be passed literally to collectd when +dispatching values. Also see the global B and B options. + +=item B I + +Specify the TCP port or the local UNIX domain socket file extension of the +server. + +=item B I + +Specify the username to be used when connecting to the server. + +=item B I + +Specify the password to be used when connecting to the server. + +=item B I|I|I|I + +Specify whether to use an SSL connection when contacting the server. The +following modes are supported: + +=over 4 + +=item I + +Do not use SSL at all. + +=item I + +First, try to connect without using SSL. If that fails, try using SSL. + +=item I (default) + +First, try to connect using SSL. If that fails, try without using SSL. + +=item I + +Use SSL only. + +=back + +=item B I + +Specify the Kerberos service name to use when authenticating with Kerberos 5 +or GSSAPI. See the sections "Kerberos authentication" and "GSSAPI" of the +B for details. + +=item B I + +Specify the PostgreSQL service name to use for additional parameters. That +service has to be defined in F and holds additional +connection parameters. See the section "The Connection Service File" in the +B for details. + +=back + +=head2 Plugin C + +The C plugin queries statistics from an authoritative PowerDNS +nameserver and/or a PowerDNS recursor. Since both offer a wide variety of +values, many of which are probably meaningless to most users, but may be useful +for some. So you may chose which values to collect, but if you don't, some +reasonable defaults will be collected. + + + + Collect "latency" + Collect "udp-answers" "udp-queries" + Socket "/var/run/pdns.controlsocket" + + + Collect "questions" + Collect "cache-hits" "cache-misses" + Socket "/var/run/pdns_recursor.controlsocket" + + LocalSocket "/opt/collectd/var/run/collectd-powerdns" + + +=over 4 + +=item B and B block + +The B block defines one authoritative server to query, the B +does the same for an recursing server. The possible options in both blocks are +the same, though. The argument defines a name for the serverE/ recursor +and is required. + +=over 4 + +=item B I + +Using the B statement you can select which values to collect. Here, +you specify the name of the values as used by the PowerDNS servers, e.Eg. +C, C. + +The method of getting the values differs for B and B blocks: +When querying the server a C command is issued in any case, because +that's the only way of getting multiple values out of the server at once. +collectd then picks out the values you have selected. When querying the +recursor, a command is generated to query exactly these values. So if you +specify invalid fields when querying the recursor, a syntax error may be +returned by the daemon and collectd may not collect any values at all. + +If no B statement is given, the following B values will be +collected: + +=over 4 + +=item latency + +=item packetcache-hit + +=item packetcache-miss + +=item packetcache-size + +=item query-cache-hit + +=item query-cache-miss + +=item recursing-answers + +=item recursing-questions + +=item tcp-answers + +=item tcp-queries + +=item udp-answers + +=item udp-queries + +=back + +The following B values will be collected by default: + +=over 4 + +=item noerror-answers + +=item nxdomain-answers + +=item servfail-answers + +=item sys-msec + +=item user-msec + +=item qa-latency + +=item cache-entries + +=item cache-hits + +=item cache-misses + +=item questions + +=back + +Please note that up to that point collectd doesn't know what values are +available on the server and values that are added do not need a change of the +mechanism so far. However, the values must be mapped to collectd's naming +scheme, which is done using a lookup table that lists all known values. If +values are added in the future and collectd does not know about them, you will +get an error much like this: + + powerdns plugin: submit: Not found in lookup table: foobar = 42 + +In this case please file a bug report with the collectd team. + +=item B I + +Configures the path to the UNIX domain socket to be used when connecting to the +daemon. By default C will be used for an +authoritative server and C will be used +for the recursor. + +=back + +=item B I + +Querying the recursor is done using UDP. When using UDP over UNIX domain +sockets, the client socket needs a name in the file system, too. You can set +this local name to I using the B option. The default is +C/var/run/collectd-powerdns>. + +=back + =head2 Plugin C =over 4 @@ -1069,6 +1439,37 @@ This optional setting sets the type instance to use. =back +=head2 Plugin C + +The C connects to the query port of a teamspeak2 server and +polls interesting global and virtual server data. The plugin can query only one +physical server but unlimited virtual servers. You can use the following +options to configure it: + +=over 4 + +=item B I + +The hostname or ip which identifies the physical server. +Default: 127.0.0.1 + +=item B I + +The query port of the physical server. This needs to be a string. +Default: "51234" + +=item B I + +This option has to be added once for every virtual server the plugin should +query. If you want to query the virtual server on port 8767 this is what the +option would look like: + + Server "8767" + +This option, although numeric, needs to be a string, i.Ee. you B +use quotes around it! If no such statement is given only global information +will be collected. + =head2 Plugin C The C counts the number of currently established TCP @@ -1079,6 +1480,8 @@ fine-tune the ports you are interested in: =over 4 +=back + =item B I|I If this option is set to I, statistics for all local ports for which a @@ -1107,6 +1510,32 @@ port in numeric form. =back +=head2 Plugin C + +=over 4 + +=item B I|I + +By default, the C plugin tries to read the statistics from the Linux +C interface. If that is not available, the plugin falls back to the +C interface. By setting this option to I, you can force the +plugin to use the latter. This option defaults to I. + +=item B I + +Selects the name of the thermal device that you want to collect or ignore, +depending on the value of the B option. This option may be +used multiple times to specify a list of devices. + +=item B I|I + +Invert the selection: If set to true, all devices B the ones that +match the device names specified by the B option are collected. By +default only selected devices are collected if a selection is made. If no +selection is configured at all, B devices are selected. + +=back + =head2 Plugin C =over 4 @@ -1169,6 +1598,24 @@ Take the UUID from the given file (default I). =back +=head2 Plugin C + +The C plugin collects information about the usage of virtual memory. +Since the statistics provided by the Linux kernel are very detailed, they are +collected very detailed. However, to get all the details, you have to switch +them on manually. Most people just want an overview over, such as the number of +pages read from swap space. + +=over 4 + +=item B B|B + +Enables verbose collection of information. This will start collecting page +"actions", e.Eg. page allocations, (de)activations, steals and so on. +Part of these statistics are collected on a "per zone" basis. + +=back + =head2 Plugin C This plugin doesn't have any options. B support is only available for @@ -1220,6 +1667,7 @@ information. Instance "eth0" FailureMax 10000000 + DataSource "rx" @@ -1270,6 +1718,19 @@ infinity. If a value is less than B a B notification will be created. If the value is less than B but greater than (or equal to) B a B notification will be created. +=item B I + +Some data sets have more than one "data source". Interesting examples are the +C data set, which has received (C) and sent (C) bytes and +the C data set, which holds C and C operations. The +system load data set, C, even has three data sources: C, +C, and C. + +Normally, all data sources are checked against a configured threshold. If this +is undesirable, or if you want to specify different limits for each data +source, you can use the B option to have a threshold apply only to +one data source. + =item B B|B If set to B the range of acceptable values is inverted, i.Ee. @@ -1299,6 +1760,7 @@ L, L, L, L, +L, L, L