X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=a0d6f892cc0cb6efe5b6fa677f306c5893cd5127;hb=5b1d67d04e490d48dd72dbb9f84d1a74bfb9dcc1;hp=12269ae1f67d5e082b5f2081b928e4bc75af2c87;hpb=de9cbff39b893f445d678c0a3bc3f8fb0456f42b;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 12269ae1..a0d6f892 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -519,6 +519,7 @@ possibly filtering or messages. # ExchangeType "fanout" # RoutingKey "collectd" # Persistent false + # ConnectionRetryDelay 0 # Format "command" # StoreRates false # GraphitePrefix "collectd." @@ -540,6 +541,7 @@ possibly filtering or messages. # QueueDurable false # QueueAutoDelete true # RoutingKey "collectd.#" + # ConnectionRetryDelay 0 @@ -630,6 +632,13 @@ mode will be used, i.e. delivery is guaranteed. If set to B (the default), the I delivery mode will be used, i.e. messages may be lost due to high load, overflowing queues or similar issues. +=item B I + +When the connection to the AMQP broker is lost, defines the time in seconds to +wait before attempting to reconnect. Defaults to 0, which implies collectd will +attempt to reconnect at each read interval (in Subscribe mode) or each time +values are ready for submission (in Publish mode). + =item B B|B|B (Publish only) Selects the format in which messages are sent to the broker. If set to @@ -1169,6 +1178,74 @@ By default no detailed zone information is collected. =back +=head2 Plugin C + +The ceph plugin collects values from JSON data to be parsed by B +(L) retrieved from ceph daemon admin sockets. + +A separate B block must be configured for each ceph daemon to be +monitored. The following example will read daemon statistics from four +separate ceph daemons running on the same device (two OSDs, one MON, one MDS) : + + + LongRunAvgLatency false + ConvertSpecialMetricTypes true + + SocketPath "/var/run/ceph/ceph-osd.0.asok" + + + SocketPath "/var/run/ceph/ceph-osd.1.asok" + + + SocketPath "/var/run/ceph/ceph-mon.ceph1.asok" + + + SocketPath "/var/run/ceph/ceph-mds.ceph1.asok" + + + +The ceph plugin accepts the following configuration options: + +=over 4 + +=item B B|B + +If enabled, latency values(sum,count pairs) are calculated as the long run +average - average since the ceph daemon was started = (sum / count). +When disabled, latency values are calculated as the average since the last +collection = (sum_now - sum_last) / (count_now - count_last). + +Default: Disabled + +=item B B|B + +If enabled, special metrics (metrics that differ in type from similar counters) +are converted to the type of those similar counters. This currently only +applies to filestore.journal_wr_bytes which is a counter for OSD daemons. The +ceph schema reports this metric type as a sum,count pair while similar counters +are treated as derive types. When converted, the sum is used as the counter +value and is treated as a derive type. +When disabled, all metrics are treated as the types received from the ceph schema. + +Default: Enabled + +=back + +Each B block must have a string argument for the plugin instance name. +A B is also required for each B block: + +=over 4 + +=item B I + +Name to be used as the instance name for this daemon. + +=item B I + +Specifies the path to the UNIX admin socket of the ceph daemon. + +=back + =head2 Plugin C This plugin collects the CPU user/system time for each I by reading the @@ -2890,7 +2967,7 @@ B RegisterBase 0 RegisterType float - ModbusRegisterType holding + RegisterCmd ReadHolding Type voltage Instance "input-1" @@ -2898,7 +2975,7 @@ B RegisterBase 2 RegisterType float - ModbusRegisterType holding + RegisterCmd ReadHolding Type voltage Instance "input-2" @@ -2906,7 +2983,7 @@ B RegisterBase 0 RegisterType Int16 - ModbusRegisterType holding + RegisterCmd ReadHolding Type temperature Instance "temp-1" @@ -2957,10 +3034,10 @@ Specifies what kind of data is returned by the device. If the type is B, B or B, two 16Ebit registers will be read and the data is combined into one value. Defaults to B. -=item B B|B +=item B B|B Specifies register type to be collected from device. Works only with libmodbus -2.9.2 or higher. Defaults to B. +2.9.2 or higher. Defaults to B. =item B I @@ -3145,12 +3222,12 @@ Disabled by default. Enable the collection of master / slave statistics in a replication setup. In order to be able to get access to these statistics, the user needs special -privileges. See the B documentation above. +privileges. See the B documentation above. Defaults to B. =item B I If enabled, the plugin sends a notification if the replication slave I/O and / -or SQL threads are not running. +or SQL threads are not running. Defaults to B. =item B I @@ -5534,6 +5611,14 @@ Set the "XFiles Factor". The default is 0.1. If unsure, don't set this option. I must be in the range C<[0.0-1.0)>, i.e. between zero (inclusive) and one (exclusive). +=item B B|B + +When set to B, various statistics about the I daemon will be +collected, with "rrdcached" as the I. Defaults to B. + +Statistics are read via Is socket using the STATS command. +See L for details. + =back =head2 Plugin C @@ -6954,25 +7039,29 @@ want to use authentication all three fields must be set. This output plugin submits values to an HTTP server using POST requests and encoding metrics with JSON or using the C command described in -L. Each destination you want to post data to needs to -have one B block, within which the destination can be configured further, -for example by specifying authentication data. +L. Synopsis: - + + URL "http://example.com/post-collectd" User "collectd" Password "weCh3ik0" Format JSON - + -B blocks need one string argument which is used as the URL to which data -is posted. The following options are understood within B blocks. +The plugin can send values to multiple HTTP servers by specifying one +EBEIE block for each server. Within each B +block, the following options are available: =over 4 +=item B I + +URL to which the values are submitted to. Mandatory. + =item B I Optional user name needed for authentication. @@ -7049,6 +7138,22 @@ are available on the server side. I must be at least 1024 and cannot exceed the size of an C, i.e. 2EGByte. Defaults to C<4096>. +=item B B + +If set to B, average transfer speed in bytes per second will be checked. +In case it is below B connection will be considered slow +and aborted. + +=item B I + +Sets bytes per second value for B to make a decission if +connection is too slow. Default value is C<100>. + +=item B I + +If defined, provided positive integer value will be used to set maximum time +in seconds that you allow for transfer(http post) operation to take. + =back =head2 Plugin C