keepalived/failover.sh aktualisiert

This commit is contained in:
kai
2026-04-26 16:16:13 +00:00
parent 0b1c911bed
commit 47157ba9d6
+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"