monitor-ip.sh
-ajout de la notification Pushover (nécessite le script pushover.sh)
This commit is contained in:
3
monitor-ip.sh
Normal file → Executable file
3
monitor-ip.sh
Normal file → Executable file
@@ -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é:<br /> - ancienne IP: $old_ip_externe<br /> - nouvelle IP: $ip_externe" -f 1
|
||||
fi
|
||||
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user