'Spec for http health checks?

I want to implement a simple health check and make it available via http.

Up to now I have only experience writing nagios plugins. Nagios has this API spec

Is there already a common way how to write vendor-neutral health checks?

If not, what should a sane health check return to make it portable to many different monitoring server implementations?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source