X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=aaeeaf419b703913392ef5e78448ffa76fc451dc;hb=3348ace2cdd95bc1de5e28d11f3999cf5bd4ebf4;hp=9bb348f71a1cad5500b28da2494bad6e30cd9e70;hpb=8c864f5e634118fce2446ebbba96a1cb7ec39dda;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 9bb348f7..aaeeaf41 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -130,6 +130,15 @@ Sets a plugin-specific interval for collecting metrics. This overrides the global B setting. If a plugin provides own support for specifying an interval, that setting will take precedence. +=item B I + +Specifies the the interval, in seconds, to call the flush callback if it's +defined in this plugin. By default, this is disabled + +=item B I + +Specifies the value of the timeout argument of the flush callback. + =back =item B B|B @@ -504,7 +513,9 @@ are disabled by default. The I can be used to communicate with other instances of I or third party applications using an AMQP message broker. Values are sent to or received from the broker, which handles routing, queueing and -possibly filtering or messages. +possibly filtering out messages. + +B # Send values to an AMQP broker @@ -802,12 +813,22 @@ B can handle it. TCP-Port to connect to. Defaults to B<3551>. -=item B B +=item B B|B If set to B, the time reported in the C metric will be converted to seconds. This is the recommended setting. If set to B, the default for backwards compatibility, the time will be reported in minutes. +=item B B|B + +By default, the plugin will try to keep the connection to UPS open between +reads. Since this appears to be somewhat brittle (I appears to close +the connection due to inactivity quite quickly), the plugin will try to detect +this problem and switch to an open-read-close mode in such cases. + +You can instruct the plugin to close the connection after each read by setting +this option to B. + =back =head2 Plugin C @@ -2267,7 +2288,7 @@ expected from them. This is documented in great detail in L. =head2 Plugin C The C plugin provides statistics about used, unused and total number of -file handles. +file handles on Linux. The I provides the following configuration options: @@ -3214,6 +3235,114 @@ B option is mandatory. =back +=head2 Plugin C + +The I can send metrics to MQTT (B blocks) and receive +values from MQTT (B blocks). + +B + + + + Host "mqtt.example.com" + Prefix "collectd" + + + Host "mqtt.example.com" + Topic "collectd/#" + + + +The plugin's configuration is in B and/or B blocks, +configuring the sending and receiving direction respectively. The plugin will +register a write callback named C> where I is the string +argument given to the B block. Both types of blocks share many but not +all of the following options. If an option is valid in only one of the blocks, +it will be mentioned explicitly. + +B + +=over 4 + +=item B I + +Hostname of the MQTT broker to connect to. + +=item B I + +Port number or service name of the MQTT broker to connect to. + +=item B I + +Username used when authenticating to the MQTT broker. + +=item B I + +Password used when authenticating to the MQTT broker. + +=item B I + +MQTT client ID to use. Defaults to the hostname used by I. + +=item B [B<0>-B<2>] + +Sets the I, with the values C<0>, C<1> and C<2> meaning: + +=over 4 + +=item B<0> + +At most once + +=item B<1> + +At least once + +=item B<2> + +Exactly once + +=back + +In B blocks, this option determines the QoS flag set on outgoing +messages and defaults to B<0>. In B blocks, determines the maximum +QoS setting the client is going to accept and defaults to B<2>. If the QoS flag +on a message is larger than the maximum accepted QoS of a subscriber, the +message's QoS will be downgraded. + +=item B I (Publish only) + +This plugin will use one topic per I which will looks like a path. +I is used as the first path element and defaults to B. + +An example topic name would be: + + collectd/cpu-0/cpu-user + +=item B B|B (Publish only) + +Controls whether the MQTT broker will retain (keep a copy of) the last message +sent to each topic and deliver it to new subscribers. Defaults to B. + +=item B B|B (Publish only) + +Controls whether C and C metrics are converted to a I +before sending. Defaults to B. + +=item B B|B (Subscribe only) + +Controls whether the MQTT "cleans" the session up after the subscriber +disconnects or if it maintains the subscriber's subscriptions and all messages +that arrive while the subscriber is disconnected. Defaults to B. + +=item B I (Subscribe only) + +Configures the topic(s) to subscribe to. You can use the single level C<+> and +multi level C<#> wildcards. Defaults to B, i.e. all topics beneath +the B branch. + +=back + =head2 Plugin C The C requires B to be installed. It connects to @@ -4494,6 +4623,16 @@ The following options are accepted within each B block: Sets the URL to use to connect to the I server. This option is I. +=item B I + +Name in the form of an LDAP distinguished name intended to be used for +authentication. Defaults to empty string to establish an anonymous authorization. + +=item B I + +Password for simple bind authentication. If this option is not set, +unauthenticated bind operation is used. + =item B B Defines whether TLS must be used when connecting to the I server. @@ -5422,6 +5561,10 @@ dispatched to the daemon using the specified I as an identifier. This allows to "group" several processes together. I must not contain slashes. +=item B I + +Collect context switch of the process. + =back =head2 Plugin C @@ -7465,14 +7608,18 @@ Synopsis: Host "localhost" Port "6379" Timeout 1000 + Prefix "collectd/" + Database 1 Values are submitted to I, using the metric name as the key, and the timestamp as the score. Retrieving a date range can then be done using the -C I command. Additionnally, all the identifiers of these -I are kept in a I called C and can be -retrieved using the C I command. See +C I command. Additionally, all the identifiers of these +I are kept in a I called C (or +C<${prefix}/values> if the B option was specified) and can be retrieved +using the C I command. You can specify the database to use +with the B parameter (default is C<0>). See L and L for details. @@ -7488,9 +7635,9 @@ options are available: =item B I The B block identifies a new I node, that is a new I -instance running in an specified host and port. The name for node is a +instance running on a specified host and port. The node name is a canonical identifier which is used as I. It is limited to -64Echaracters in length. +51Echaracters in length. =item B I @@ -7507,6 +7654,17 @@ that numerical port numbers must be given as a string, too. The B option sets the socket connection timeout, in milliseconds. +=item B I + +Prefix used when constructing the name of the I and the I +containing all metrics. Defaults to C, so metrics will have names +like C. When setting this to something different, it +is recommended but not required to include a trailing slash in I. + +=item B I + +This index selects the redis database to use for writing operations. Defaults to C<0>. + =back =head2 Plugin C