failover.sh hinzugefügt

für benachrichtigungen
This commit is contained in:
kai
2026-04-26 15:19:21 +00:00
parent 2a2117b39c
commit 2aed337a37
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
STATE=$1
HOST=$(hostname)
curl -s -X POST "https://api.telegram.org/bot8101319618:AAHboFVVgmLPccJB0MDr_R2g0K90hkGqkRw/sendMessage" \
-d chat_id="581059353" \
-d text="🧠 Pi-hole Cluster Event:
Host: $HOST
State: $STATE"