[Swan] Monitor Libreswan IPsec VPN tunnel using Nagios

Paul Wouters paul at nohats.ca
Mon Oct 22 07:47:40 UTC 2018


On Mon, 22 Oct 2018, Michael Schwartzkopff wrote:

> Is there a way to monitor libreswan IPsec VPN tunnel using Nagios
> Monitoring tool?
> Any specific parameters to check if libreswan IPsec VPN tunnel is up or
> down and if the traffic is flowing or any outage?
> 
> Any recommendations. Thanks in Advance.

ipsec whack --traffistatus

Other information you can monitor is:

ipsec whack --globalstatus

The ipsec status command has the most information, but it is not really
parsable for humans (or computers)

Paul


More information about the Swan mailing list