Closed Conal-Tuohy closed 5 years ago
Added script for running on oceania.digital.
Still to do, update API shim to add a status
endpoint separate from the other entities in the API, so we can replace the current monitor URL (object?text=*
) with a request to status
, which can report on Solr's availability without also writing to the API usage log.
Done. Script is running on oceania.org on a 5 minute repeating schedule, monitoring both test and production instances. Notification emails are sent to me and to the NMA API mailbox.
This is tested and complete
Note that relying on Nagios daemon on the host itself is not the best, since a server outage would take it down as well, and a network partition cutting it off from the internet would not necessarily be noticed, or allow a notification to be sent. Something on external infrastructure would be better.