A busy few weeks - bah humbug
The following companies are amongst those showing Christmas Adverts on television before the start of December:
- John Lewis.
I will boycott these companies until next year.
In happier news I've spent the past week or two replacing the monitoring system that we use at work.
Our previous monitoring system had been struggling to keep up with the sheer number of tests it was being asked to process. This was partly because we carry out many ping-tests, ssh-tests, http-tests, dns-tests, etc. The other reason was that our monitoring system was a behemoth of threaded-ruby, which all ran upon a single host. This made adding another monitoring host a complex undertaking.
The new solution uses a work-queue:
- Tests to apply are parsed and inserted into a single, global, beanstalkd queue.
- Workers continuously poll the queue for tests to execute. They then execute them, and alert on failures as appropriate.
The code is open-source, written in Ruby, and available here:
I've completed the process of tidying up the code to the extent I'm happy with it, and I believe I've also abstracted away the work-specific pieces of the code.
That said I'd not be surprised if it needs a few minor tweaks before it it useful for other people.