X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd.conf.pod;h=dc8b1a371f64db5d876575bfb981e02f88ad5d54;hb=7269bf71e30f0a70a9eb954f6b0a6fe1b10eb6e5;hp=6a76e45cb14de32d484234db384172b4b7550dae;hpb=73e49352aa8c5e5ec47918dba93b508b481fe431;p=collectd.git diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 6a76e45c..dc8b1a37 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -8149,6 +8149,8 @@ packets. Synopsis: + ResolveInterval 60 + ResolveJitter 60 Host "tsd-1.my.domain" Port "4242" @@ -8157,7 +8159,36 @@ Synopsis: The configuration consists of one or more EBEIE -blocks. Inside the B blocks, the following options are recognized: +blocks and global directives. + +Global directives are: + +=over 4 + +=item B I + +=item B I + +When I connects to a TSDB node, it will request the hostname from +DNS. This can become a problem if the TSDB node is unavailable or badly +configured because collectd will request DNS in order to reconnect for every +metric, which can flood your DNS. So you can cache the last value for +I seconds. +Defaults to the I of the I, e.g. 10Eseconds. + +You can also define a jitter, a random interval to wait in addition to +I. This prevents all your collectd servers to resolve the +hostname at the same time when the connection fails. +Defaults to the I of the I, e.g. 10Eseconds. + +B If the DNS resolution has already been successful when the socket +closes, the plugin will try to reconnect immediately with the cached +information. DNS is queried only when the socket is closed for a longer than +I + I seconds. + +=back + +Inside the B blocks, the following options are recognized: =over 4