Provide "All Pass" status on /heartbeat

Bug #1234967 reported by Ryan Finnie
0
Affects Status Importance Assigned to Milestone
charmworld
Triaged
High
Unassigned

Bug Description

ISO's E2E checks of manage.jujucharms.com currently monitor http://manage.jujucharms.com/api/2/charms/interesting. I found out about http://manage.jujucharms.com/heartbeat, which is a better human-readable high-level check, but provides nothing Nagios can latch on to.

I'd like to propose adding a summary line item, where if all items pass, it should say e.g. "All Pass". We can then throw Nagios at that page and check for the presence or absence of that phrase.

Revision history for this message
Curtis Hovey (sinzui) wrote :

If any fail, should the page status be 500?

Changed in charmworld:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Ryan Finnie (fo0bar) wrote :

It wouldn't hurt from a Nagios perspective, but I'd be worried about humans visiting it. IIRC some web browsers will display a browser-specific error page for 404/500/etc. But I believe that will only happen if the page length is below a certain size, so it shouldn't be a problem here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.