The built-in alerts for VPN status will send out emails when VPN goes down and up. But when the internet connection is not so stable, there're many annoying fault alerts notifying me the VPN goes down and immediately up again, and because it's using email, so most of the time I'll receive two emails together. That may make me missing other real problems. I want to write some script using API to monitor the VPN status, and only when the VPN down status last for maybe 3 minutes longer will send me an alert. But for the first step, I find out there is no VPN status in API for me to get. Anyone has any ideas on this?
... View more