[collectd] [PATCH] SA plugin: Documentation updates

Alexander Wirt formorer<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>formorer.de
Sat Dec 9 19:44:25 CET 2006


Signed-off-by: Alexander Wirt <formorer<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>formorer.de>
---
 contrib/SpamAssassin/Collectd.pm |   15 +++++++++++++++
 contrib/SpamAssassin/example.cf  |    2 ++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm
index 292d4d0..c76c44d 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 fa0a1fe..0abfb49 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 
+
-- 
1.4.4.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20061209/4d30120e/attachment.pgp


More information about the collectd mailing list