From 965aa0ff2120c83833f84e5596a43a17abafc08b Mon Sep 17 00:00:00 2001 From: Bruno21 Date: Sun, 25 Aug 2024 09:27:08 +0200 Subject: [PATCH] monitor-ip.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -ajout de la notification Pushover (nécessite le script pushover.sh) --- monitor-ip.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 monitor-ip.sh diff --git a/monitor-ip.sh b/monitor-ip.sh old mode 100644 new mode 100755 index 158271f..9a2930e --- a/monitor-ip.sh +++ b/monitor-ip.sh @@ -109,7 +109,8 @@ if [ "$ip_externe" != "$old_ip_externe" ]; then if [ $notif == true ]; then send_mail_notification - send_gotify_notification + #send_gotify_notification + pushover -a "syno" -m "L'IP externe a changé:
- ancienne IP: $old_ip_externe
- nouvelle IP: $ip_externe" -f 1 fi else