On Wed, 5 Jan 2022 at 06:39, Stephen J. Turnbull <stephenjturnbull@gmail.com> wrote:
Philip Colmer writes:
That's a very good point. It would be nice if, at some point, an actual healthcheck endpoint could be included that returned some information about the state of the different applications as a JSON blob.
This would have to be a separate application, since Mailman core is not designed to be exposed to the Internet (it has no builtin authn/authz, and so needs to be fronted by ssh, the MTA, and the webserver), and the other two are optional. There's a coverage hole in that it's possible that core and the MTA are up (and therefore posting works), but the webserver is down and so an HTTP probe won't work (you really don't want a separate webserver written by say me running on a production host <shiver/>).
Can you point me to docs (preferably an IETF RFC, and don't forget my unicorn pony if the RFC doesn't exist which it probably doesn't :-) on these healthcheck widgets?
I've found https://datatracker.ietf.org/doc/html/draft-inadarei-api-health-check which is currently a draft.
Regards
Philip