VEH-14: Create Status Submodule

Issue Information

Issue Type: Task
Priority: Minor
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: VehMan (VEH)
Resolution: Done (2013-11-02 18:22:45)
Target version: 1.0.1,
Components: Submodules ,
Labels: monitoring,

Created: 2013-10-24 06:03:04
Time Spent Working

Create a sub-module to display the current API status

- Should return OK, Some Issues or Offline

Would like it to check DB connection is available amongst other things.

Should also provide an INT defining how long the command took to run (so grab a timestamp before doing anything, grab a timestamp once checks are done and subtract one from the other). This will allow the Nagios plugin to throw a warning/critical if the API is responding but taking a while to do so


VEH-15: Create Nagios Plugin
Toggle State Changes


btasker added 'monitoring' to labels
Implemented. Current responses are

All quiet on the western front


Status - Site in maintenance mode

"Other checks disabled as site under maintenance"
"maintenancemessage":"Hello World"

*Global - API in maintenance mode (new config setting) *

["API Unavailable","Hello World"]

btasker changed status from 'Open' to 'Resolved'
btasker added 'Done' to resolution
Basic functionality implemented
btasker changed status from 'Resolved' to 'Closed'