littlejeem / monitor_scripts

A repository of scripts designed to monitor or oversea functions
GNU General Public License v3.0
0 stars 0 forks source link

script runs but generates repeat pushover notifications #4

Open littlejeem opened 5 years ago

littlejeem commented 5 years ago

the script runs every minute, this works well for a VPN scenario. However this also means that if the VPN goes down then the script sends out a notification everytime it find the VPN down condition true.

Ideally, once the condition is met a message should be sent but not sent again until some kind of 'reset' is carried out.

littlejeem commented 4 years ago

refer to #14 for reusable code