Liveness/Readiness probes

Hello im currenty deploying LibreNMS to a Azure Container Apps.

i can se the benenfit of Liveness/Readiness probes

it’a simplel http endpont thats respondes with OK or pong with status code 200
stimthing like
/ping or /helth is okay.

I’m assuming you want to monitor if an HTTP endpoint is alive and responding with a 200, maybe at a particular URL?

You can use the Services Nagios Plugins to do this - there is some setup to do in LibreNMS, and the rest of it is specific to the actual nagios plugin you use: Nagios Plugins - LibreNMS Docs

You can then use the http check (check_http) to set a status based on the response, for example if you want to monitor http://1.1.1.1/help - you can do this:

You assign that service to a host - for example a ping-only host of the same IP, and can assign that service to it, and get these results on a Services tab on the host:

Hi @rhinoau. I probably was a lite bit fuzzy when i described with a Liveness and Reediness probe are. It’s away for Kubernetes to understand if a POD/Container is working correctly.

what we need to add to LibreNMS is a local endpoint.
ex: http://librenms.mydomain.org/helth or /ping

and that endpoint should respond with body of ex: OK or pong
Kubernetes then makes a get request to this endpoint. and if its responds with 200 OK.
Kubernetes knows that the pod/container is Live and ready to accept traffic.