979 B
979 B
check_mirotalksfu.py - Nagios plugin for MirotalkSFU server
This Nagios plugin will query a MirotalkSFU server and report on its status. The "MIROTALKSFU OK" message will include the roundtrip response time, the number of rooms open, and the number of users connected.
Usage
The following parameters are supported by the plugin:
-H HOSTor--hostname HOST: specify theHOSTor IP address of the server to query-p PORTor--port PORT: specify the connectionPORTof the server-t SECONDSor--timeout SECONDS: specify the timeout of the request inSECONDSseconds-Sor--https: connect using HTTPS-Aor--apikey: API key for HTTP endpoints
Note that if running on LibreNMS in the official Docker container, then you must
first install the requests module by running apk add py3-requests inside the
container. The full command, assuming your container is named librenms, is
docker exec -it librenms apk add py3-requests.