unioslo/nivlheim

Status/health page (machine readable, json?) for monitoring systems

Closed this issue · 4 comments

  • Machine readable page (json or xml?)
    • Must work with Zabbix which is in use at UiO
    • Must be generic enough to be useful with other types of monitoring systems

Should give an overall status, one of three possible values (ok, warning, error)


  • The page should also give details for some possible metrics/variables:
    • Number of items in the incoming queue
    • Number of files that await parsing
    • The age of the last (newest) collected file
    • Throughput (files per minute)

When the API function is in place, we can make a handlebar template that turns it into a webpage. So the same API can be used for external monitoring systems and for Nivlheim's internal status page.

The front page (home page) of the application should show some of this information, preferrably as graphs/charts/symbols.

  • The status callback must be reset when navigating away from the status page.

A few more data points are needed:

  • Total number of files in the system
  • Total number of "current" files in the system
  • The "throughput" value should reflect all files coming into the system, even if they aren't processed because they haven't changed