The application LittleBrother
has a simple HTTP health check endpoint with relative url /health
which
can be monitored by systems such as icinga
.
The endpoint will always return HTTP code 200
and the text OK
. It is automatically active for the master
host since the master host always has its web frontend active anyway. For the clients the endpoint has to be
activated by setting at least the port the section [StatusServer]
as in the example below.
...
[StatusServer]
port=5561
...
LittleBrother
offers an optional operational monitoring using
prometheus_client. The interface is activated by setting
the port
number in the configuration file:
...
[PrometheusClient]
port=8888
...
The statistics available from the port can be used by reporting tools such as Grafana. Note that you also have to have a server instance of Prometheus running.
LittleBrother
provides a ready-to-use Grafana configuration file. The following
screenshot shows the contents of the Grafana dashboard defined by the configuration.