spamassassin-dev October 2011 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: ruleqa monitoring on spamassassin2.zones.apach

ruleqa monitoring on spamassassin2.zones.apache.org

From: John Hardin <jhardin_at_nospam>
Date: Sat Oct 29 2011 - 20:10:42 GMT
To: SpamAssassin Developers list <dev@spamassassin.apache.org>

All:

I was able to access automc's crontab on spamassassin2.zones.apache.org,
so I set up two monitors: one that checks to see if the ruleqa daemon is
currently running (if it isn't then see
http://wiki.apache.org/spamassassin/InfraNotes for how to restart it), and
another that attempts to use ntpdate to check the difference between the
clocks on spamassassin2.zones.apache.org and spamassassin.zones.apache.org
and warn if the difference gets "too great" (which is yet to be
intelligently defined).

Both checks are currently run once daily, and will email a warning to the
dev list if they fail.

As the clocks are successfully synchronized at the moment, I don't have
any way to test whether the clock drift check will actually work. Perhaps
after we've gotten a rules update out we could ask someone in Infra to
temporarily change the clock on one or the other box and see whether
"ntpdate -q" will actually detect the problem.

Suggestions for a better way to check for clock drift are welcome.

-- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- ...the Fates notice those who buy chainsaws... -- www.darwinawards.com ----------------------------------------------------------------------- 2 days until Halloween