X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=5193701dd88ab9e9a2c0208a167ccabb083b4449;hb=089eb4f23a447427172601125bc65116b5f0a661;hp=683ec8e3ca6a7de773e6afb4c8e8cd46b7fef6f1;hpb=1c790e620e1d9b8f550290959e7cd8ec6ba549e9;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 683ec8e3..5193701d 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1827,6 +1827,7 @@ than those of other plugins. It usually looks something like this: Driver "mysql" + Interval 120 DriverOption "host" "localhost" DriverOption "username" "collectd" DriverOption "password" "aZo6daiw" @@ -2006,6 +2007,11 @@ the daemon. Other than that, that name is not used. =over 4 +=item B I + +Sets the interval (in seconds) in which the values will be collected from this +database. By default the global B setting will be used. + =item B I Specifies the driver to use to connect to the database. In many cases those @@ -2476,6 +2482,76 @@ source, this is optional. Otherwise the option is required. =back +=head2 Plugin C + +The C connects to gpsd on the host machine. +The host, port, timeout and pause are configurable. + +This is useful if you run an NTP server using a GPS for source and you want to +monitor it. + +Mind your GPS must send $--GSA for having the data reported! + +The following elements are collected: + +=over 4 + +=item B + +Number of satellites used for fix (type instance "used") and in view (type +instance "visible"). 0 means no GPS satellites are visible. + +=item B + +Vertical and horizontal dilution (type instance "horizontal" or "vertical"). +It should be between 0 and 3. +Look at the documentation of your GPS to know more. + +=back + +Synopsis: + + LoadPlugin gps + + # Connect to localhost on gpsd regular port: + Host "127.0.0.1" + Port "2947" + # 15 ms timeout + Timeout 0.015 + # PauseConnect of 5 sec. between connection attempts. + PauseConnect 5 + + +Available configuration options: + +=over 4 + +=item B I + +The host on which gpsd daemon runs. Defaults to B. + +=item B I + +Port to connect to gpsd on the host machine. Defaults to B<2947>. + +=item B I + +Timeout in seconds (default 0.015 sec). + +The GPS data stream is fetch by the plugin form the daemon. +It waits for data to be available, if none arrives it times out +and loop for another reading. +Mind to put a low value gpsd expects value in the micro-seconds area (500 us) since +the waiting function is blocking. + +This only applies from gpsd release-2.95. + +=item B I + +Pause to apply between attempts of connection to gpsd in seconds (default 5 sec). + +=back + =head2 Plugin C To get values from B collectd connects to B (127.0.0.1), @@ -7133,14 +7209,18 @@ setting B. B
means use the interface's mac address. This is useful since the interface path might change between reboots of a guest or across migrations. -=item B B +=item B B When the virt plugin logs data, it sets the plugin_instance of the collected -data according to this setting. The default is to use the guest name as provided -by the hypervisor, which is equal to setting B. +data according to this setting. The default is to not set the plugin_instance. +B means use the guest's name as provided by the hypervisor. B means use the guest's UUID. +You can also specify combinations of the B and B fields. +For example B means to concatenate the guest name and UUID +(with a literal colon character between, thus I<"foo:1234-1234-1234-1234">). + =back =head2 Plugin C @@ -7614,6 +7694,8 @@ Synopsis: Timeout 1000 Prefix "collectd/" Database 1 + MaxSetSize -1 + StoreRates true @@ -7622,7 +7704,7 @@ the timestamp as the score. Retrieving a date range can then be done using the 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 +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. @@ -7667,7 +7749,18 @@ 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>. +This index selects the redis database to use for writing operations. Defaults +to C<0>. + +=item B I + +The B option limits the number of items that the I can +hold. Negative values for I sets no limit, which is the default behavior. + +=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. =back @@ -7748,7 +7841,7 @@ C. =item B B|B -If set the B, append the name of the I (DS) to the +If set to 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.