failover.sh hinzugefügt
für benachrichtigungen
This commit is contained in:
+10
@@ -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"
|
||||
Reference in New Issue
Block a user