From 79e53b43ecee8b3d07efa98ea0c1c707d93e5e94 Mon Sep 17 00:00:00 2001 From: Alexander Wirt Date: Sat, 9 Dec 2006 19:44:25 +0100 Subject: [PATCH] SA plugin: Documentation updates Signed-off-by: Alexander Wirt --- contrib/SpamAssassin/Collectd.pm | 15 +++++++++++++++ contrib/SpamAssassin/example.cf | 2 ++ 2 files changed, 17 insertions(+) diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm index 292d4d0a..c76c44da 100644 --- a/contrib/SpamAssassin/Collectd.pm +++ b/contrib/SpamAssassin/Collectd.pm @@ -32,6 +32,21 @@ If you have changed this setting please get it in sync with the SA Plugin config. =cut + +=item collectd_timeout [ sec ] (default: 2) + +if sending data to to collectd takes too long the connection will be aborted. + +=cut + +=item collectd_retries [ tries ] (default: 3) + +the collectd plugin uses a tread pool, if this is empty the connection fails, +the SA Plugin then tries to reconnect. With this variable you can indicate how +often it should try. + +=cut + =head1 DESCRIPTION This modules uses the email plugin of collectd from Sebastian Harl to diff --git a/contrib/SpamAssassin/example.cf b/contrib/SpamAssassin/example.cf index fa0a1fe7..0abfb494 100644 --- a/contrib/SpamAssassin/example.cf +++ b/contrib/SpamAssassin/example.cf @@ -1,3 +1,5 @@ collectd_buffersize 256 collectd_socket /tmp/.collectd-email collectd_timeout 2 +collectd_retries 3 + -- 2.30.2