monitoring: kuma heartbeat + systemd timer for zigbee coordinator

Refs #3
This commit is contained in:
2026-08-27 03:08:11 +00:00
parent b9c53c1a23
commit 6eccaec7a8
4 changed files with 50 additions and 0 deletions
@@ -0,0 +1,8 @@
[Unit]
Description=Zigbee coordinator heartbeat to Uptime Kuma
After=docker.service
Requires=docker.service
[Service]
Type=oneshot
ExecStart=/root/nr-flow-validator/infra/zigbee2mqtt/scripts/kuma-heartbeat.sh
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Run zigbee coordinator heartbeat every minute
[Timer]
OnCalendar=*-*-* *:*:00
AccuracySec=5s
Persistent=true
[Install]
WantedBy=timers.target