MyTimetable can be monitored, for example by using monitoring tools such as Nagios. A status URL is available at /status, and returns an output that looks like:
Status information
MyTimetable WARNING DS_2013sm1: OK - Last update: 2013-12-19 04:14:56.55 DS_2013sm2: WARNING - Last update: 2013-12-17 03:27:45.46
There are four possible return states:
- 'MyTimetable OK' followed by last update times for all data sources, if all data sources have been updated in the last 36 hours
- 'MyTimetable WARNING' followed by last update times for all data sources, if one or more data sources have not been updated within the last 36 hours. (In Scientia Syllabus Plus Enterprise Reporting Database 3.2.0, the last update time is not present. MyTimetable will always return WARNING.)
- 'MyTimetable ERROR' + exception message, if MyTimetable can not connect to one or more data sources, or if something else went wrong. This will also set the HTTP status to '503 Service Unavailable'.
- HTTP '404 Not Found status', if the application did not load correctly.