Alerts and monitoring of IPSec tunnel
-
Hi all,
I was wondering if there is any way to monitor the functionality of an IPSec tunnel?
I am on version 2.1.5 and my IPSec tunnel has gone down a few times lately. This tunnel is to service public internet access and if the tunnel goes down I won't be informed for at least a day, which is bad news as we need to provide this internet service.
Are there any email alerts?
I have a SNMP monitoring tool in my network which can monitor SNMP, pings, SSH, and all sorts of protocols, but I don't know how I could integrate this to monitor the tunnel of a PFSense?Any advise appreciated.
Thanks
Sebastian -
If you can see some sort of notice in the logs, perhaps one method would be to use some browser automation like http://www.seleniumhq.org/ to log in and check every few minutes, download the log, parse it and if error message is detected raise an alert via a variety of means beit email, phone or text. https://freeswitch.org/ could help you raise the alerts quite easily and runs on a few OS's.
fwiw.