How do I check health for Jigasi and prosody

I’m in the process of creating a monitoring system for Jitsi in our company. I’ve found ways to check for component health for web, Jicofo, Jibri and Jvb components. But I’m still struggling with Jigasi and Prosody.
This is how I did it with the other components:

Web: curl to see it’s responding will suffice
Jicofo: call to http://localhost:8888/stats and http://localhost:8888/about/health
Jvb: call to http://localhost:8080/colibri/stats
Jibri: call to http://localhost:80/jibri/api/v1.0/health

How can I do this for Jigasi and Prosody ?

Jigasi also have about/health endpoint
For prosody you can be doing curl requests to the http-bind endpoint.

For jigasi:
curl -v -H "Content-Type: application/json" http://localhost:8788/about/health

For prosody
curl --max-time 3 -f http://localhost:5280/http-bind
If prosody is too busy to reply in 3 seconds it is unhealthy.

2 Likes

Perfect. Thanks

Just for the sake of completeness, JVB has a health API endpoint too:

curl -s http://localhost:8080/about/health

It needs to be enabled in jvb.conf

1 Like