Manage kuma monitoring for all hosts

This commit is contained in:
2023-04-06 01:03:25 +02:00
parent 42f7a9061d
commit 22a2b01af9
8 changed files with 586 additions and 487 deletions

View File

@ -0,0 +1,7 @@
[Unit]
Description=Heartbeat
[Service]
Type=oneshot
ExecStart=/usr/bin/curl -fsS -m 10 --retry 5 {{ monitor_url }}
StandardOutput=null

View File

@ -0,0 +1,9 @@
[Unit]
Description=Send heartbeat every 5 minutes
[Timer]
OnCalendar=*-*-* *:00/5:00
Persistent=true
[Install]
WantedBy=timers.target