Closed Bug 898179 Opened 11 years ago Closed 11 years ago

Add a /status_db/ health check

Categories

(Cloud Services :: Server: Product Announcements Campaign Manager, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mostlygeek, Assigned: jrconlin)

Details

(Whiteboard: [qa-])

This health check should: 

- connect to the database
- run an appropriate query to make sure things are working ok
- send back an HTTP 200 if everything OK
- send back an HTTP 503 if anything fails

This will be an endpoint that will be monitored by nagios/opsview/etc.
/status already performs a db check. Changing failure reply to 503.
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.