Table of contents
This page describes what to do in case of an Icinga alert. For more information you could search the govuk-puppet repo for the source of the alert

Icinga alerts

Whitehall scheduled publishing

‘overdue publications in Whitehall’

This alert means that there are scheduled editions which have passed their publication due date but haven’t been published by the scheduled publishing workers. Scheduled publishing is performed by sidekiq workers picking up jobs from a scheduled queue.

You can see whether sidekiq picked up the job for processing, and the current state of the job using Sidekiq monitoring apps.

You can verify that there are overdue published documents using:

$ fab $environment class:whitehall_backend whitehall.overdue_scheduled_publications

You’ll see output like this:

ID  Scheduled date             Title

If there are overdue publications you can publish by running the following:

$ fab $environment class:whitehall_backend whitehall.schedule_publications

After a database restore

If the above rake tasks aren’t working, it could be because the database was recently restored, perhaps due to the data sync. In that case, you can try running the following Rake task on a whitehall_backend machine:

$ cd /var/apps/whitehall
$ sudo -u deploy govuk_setenv whitehall bundle exec rake publishing:scheduled:requeue_all_jobs
This page was last reviewed on 26 March 2019. It needs to be reviewed again on 26 September 2019 by the page owner #govuk-2ndline .
This page was set to be reviewed before 26 September 2019 by the page owner #govuk-2ndline. This might mean the content is out of date.