From 47c9674d2516a03a15a5eea36f3a6f2f067b5085 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Wed, 11 Mar 2015 22:15:13 +0100 Subject: [PATCH] amqp: add documentation bits for ConnectionRetryDelay feature --- src/collectd.conf.in | 1 + src/collectd.conf.pod | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 3d9028dc..8d7622a1 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -246,6 +246,7 @@ # RoutingKey "collectd" # Persistent false # StoreRates false +# ConnectionRetryDelay 0 # # diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 905689dc..bd781074 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 -- 2.30.2