Closed jmvbxx closed 7 years ago
After installing on 16.04 I manually ran the check_ipsec.sh script and it returns 0 whether the tunnel is up or not.
check_ipsec.sh
ubuntu@ipsec:~$ cat /etc/zabbix/ipsec.conf { "data":[ { "{#TUNNEL}":"guba-guba","{#TARGETIP}":"52.xxx.xxx44","{#SOURCEIP}":"10.0.0.92","{#RTT_TIME_WARN}":"80","{#RTT_TIME_ERR}":"150" } ] }
ubuntu@ipsec:~$ sudo bash /usr/local/lib/zabbix/externalscripts/check_ipsec.sh 52.xxx.xxx.44 10.0.0.92 0 ubuntu@ipsec:~$ sudo bash /usr/local/lib/zabbix/externalscripts/check_ipsec.sh 52.xxx.xxx.44 10.0.0.92 rtt 52.xxx.xxx.44
This was an issue on our end with AWS subnet security groups. Thank you!
After installing on 16.04 I manually ran the
check_ipsec.sh
script and it returns 0 whether the tunnel is up or not.