This playbook can deploy a full monitoring stack with
-
Prometheus
-
Grafana
-
Node Exporter
-
Alertmanager
-
Uptime Kuma (self built) and possibly
-
a MQTT broker
-
InfluxDB
-
Telegraf
Install everything with
ansible-playbook -i inventory/hosts setup.yml --tags=all
On Ubuntu I had to install fontconfig
manually when setting up grafana.
When you somehow lost your vars file (that is not under version control) you can find it under /monitoring/vars.yml
. on the server.
You can deactivate this behaviour by setting vars_yml_snapshotting_enabled: false