crkn-rcdr / sapindale

Sapper/Svelte access platform administration interface
2 stars 2 forks source link

Health Check. #101

Closed RussellMcOrmond closed 3 years ago

RussellMcOrmond commented 3 years ago

Cantalope has a health check (Example: https://image-gouda.canadiana.ca/health ) which offers a simple JSON reply indicating basic health. It also has a helpful message for when it is less healthy.

I believe it would be extremely helpful if Sapindale and other key services for our platform offered something similar. As well as staff being able to go to is, we can plug that into Icinga so that Hugo and I get notified if something is wrong.

BTW: If the same JSON were used, we could use the Nagios plug-in for monitoring as we do for Cantaloupe.

https://github.com/crkn-rcdr/puppet/blob/master/modules/canadiana/files/nagios/plugins/check_cantaloupe

RussellMcOrmond commented 3 years ago

This is now moved to https://github.com/crkn-rcdr/Access-Platform/issues/201