SpamAssasin

check_sa-update

Description:

check_sa-update uses the sa-update tool to verify that you have the current spamassassin rulesets installed. It’s very basic and meets my needs, but I’m happy to incorporate any suggested changes as time permits.

check_sa-update is written in perl, and its only dependency is sa-update, provided by your spamassassin installation.

Current Version

0.4

Last Release Date

2011-11-01

Compatible With

  • Nagios 3.x

Owner

License

BSD


Project Files
Project Notes
Changelog: # 0.1 - initial release # 0.2 - added exit if sa-update command fails # 0.3 - command help text added # 0.4 - exits if sa-update is running. Removed exit on error code of sa-update (oops).
Reviews (2) Add a Review
useful, with a tiny bug
by SicherByte, March 31, 2017

when called by nrpe, the script may find it's own name in the process list, and therefore fail. Probably the shell variable $$ delivers the wrong pid in this context. Solution: add grep -v check_sa-update to the filter chain.



Works on my machine
by jhalbrecht, March 31, 2015

Works on my CentOS machine.



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.7 (3)
Favorites
0
Views
90,787