Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_spamd
96135
File | Description |
---|---|
check_spamd.pl | check_spamd version 1.60 perl script |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This script will check to make sure that the spamassassin daemon is still functioning. It also parses the error codes that spamc returns and passes those back to nagios so you can get a better idea of what is wrong.
Command line options:
--host (-H) Set the host on which spamd runs (default: localhost).
--port (-p) Set TCP port number of spamd.
--spamc (-s) Set the location of the spamc executable.
--timeout (-t) Sets the timeout, defaults to 10 seconds.
2009-02-19:Version 1.6.0 released, allows checking of remote hosts and adds a timer. Thanks to Martin Mares
2008-10-08: Version 1.5.3 released, fixed some small typos and bugs
Command line options:
--host (-H) Set the host on which spamd runs (default: localhost).
--port (-p) Set TCP port number of spamd.
--spamc (-s) Set the location of the spamc executable.
--timeout (-t) Sets the timeout, defaults to 10 seconds.
2009-02-19:Version 1.6.0 released, allows checking of remote hosts and adds a timer. Thanks to Martin Mares
2008-10-08: Version 1.5.3 released, fixed some small typos and bugs
Reviews (1)
byMarkR, January 10, 2014
Thank you for this nicely written plugin.
Did you consider to use the -K flag for spamc? It performs a keep-alive check of spamd, instead of a full message check.
Did you consider to use the -K flag for spamc? It performs a keep-alive check of spamd, instead of a full message check.