SA Bugzilla – Bug 7121
masscheck under limit script
Last modified: 2018-08-25 14:28:01 UTC
Darxus has a script to notify the dev list that ruleQA is under a 150k limit for spam and ham samples. The source of the script is here: http://www.chaosreigns.com/sa/update-version-mon.pl The script does a scrape of ruleqa.spamassassin.org, but would be much better as a part of the SA repo. It can then get more support and development, and it can run on spamassassin-vm.
Here's some ideas to improve the script 1 - Have the script ALSO check the DNS entries and list them in the email as well as checking ruleqa? If DNS is changed, we published a rule, for example: TXT 1.4.3.updates.spamassassin.org TXT 0.4.3.updates.spamassassin.org TXT 3.3.3.updates.spamassassin.org 2 - Perhaps post the entries from the last few days? That will show the trend much more accurately I think. 3 - In general, the script helps me know when a rule publishing did not occur but it is not always accurate. There is a deviation between ruleqa and the masscheck scripts on counts that I have not identified the source. 4 - The script that runs that does updates is: Cron <updatesd@spamassassin-vm> bash /export/home/updatesd/svn/mkupdates-with-scores/do-stable-update-with-scores The output of that script arrives about 10:30PM Eastern and 5 - If that script fails, it emails the ruleqa list like [auto] do-nightly-rescore-example 8 6 - I then can look at the cron output for do-stable-update-with-scores to find out why it failed. 7 - if we publish a rule, there is a cron like Output from your job 104 from Rule Updates Daemon
Created attachment 5306 [details] Darxus' script for monitoring rule updates
Dave Jones wrote a bash script and have it running on the sa-vm1 server that will (and has) notify us when the ruleQA corpus is too low. He thinks we can close this BZ as resolved.