monitor-ip.sh

-ajout de la notification Pushover (nécessite le script pushover.sh)
This commit is contained in:
2024-08-25 09:27:08 +02:00
parent b2ce61dc22
commit 965aa0ff21

3
monitor-ip.sh Normal file → Executable file
View File

@@ -109,7 +109,8 @@ if [ "$ip_externe" != "$old_ip_externe" ]; then
if [ $notif == true ]; then if [ $notif == true ]; then
send_mail_notification send_mail_notification
send_gotify_notification #send_gotify_notification
pushover -a "syno" -m "L'IP externe a changé:<br /> - ancienne IP: $old_ip_externe<br /> - nouvelle IP: $ip_externe" -f 1
fi fi
else else