As our Home Lab and the associated network become more complex, monitoring the operational status of our services and equipment becomes essential. We use a tool called Uptime Kuma to monitor the operational status of our home lab. This tool can monitor many different kinds of equipment and services and provides various mechanisms to notify us when a service is down.
Uptime Kuma Docker Install
We deployed this tool as a docker container in our Docker cluster. It is easy to install and configure. We used the following video to help with the installation –
Performance and Backups
The tool’s database is sensitive to the volume store used to contain its database. For this reason, we bound Uptime Kuma’s present volume to storage inside the Docker Host VM instead of using our high-availability network store.
We also used the root crontab to back the local VM configuration data to the docker volume on our high-availability store as follows:
# Backup local VM configuration for uptime kuma # to HA docker volume */15 * * * * /usr/bin/rsync -r --delete \ /home/ubuntu/uptime-kuma/ \ /home/ubuntu/docker/uptime-kuma/data