X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=contrib%2FSpamAssassin%2FCollectd.pm;h=1edcfc6152b32baac895ba795f41a51553a373ec;hb=dd13e59199e95dfa5421ca33907c0cccc75e550c;hp=292d4d0a83efa45602d221341aab89c4c26460d6;hpb=3c27e2490525efba4a4864faa8493f0ae53e68db;p=collectd.git diff --git a/contrib/SpamAssassin/Collectd.pm b/contrib/SpamAssassin/Collectd.pm index 292d4d0a..1edcfc61 100644 --- a/contrib/SpamAssassin/Collectd.pm +++ b/contrib/SpamAssassin/Collectd.pm @@ -18,7 +18,7 @@ add a loadplugin call into your init.pre file. =over 4 -=item collectd_socket [ socket path ] (default: /tmp/.collectd-email) +=item collectd_socket [ socket path ] (default: /var/run/collectd-email) Where the collectd socket is @@ -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 @@ -101,7 +116,7 @@ sub set_config { push (@cmds, { setting => 'collectd_socket', - default => '/tmp/.collectd-email', + default => '/var/run/collectd-email', type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING, });