[strongSwan] How to check the health of a StrongSwan server?
Noel Kuntze
noel.kuntze+strongswan-users-ml at thermi.consulting
Mon Sep 23 18:50:43 CEST 2019
Hello Houman,
You can't without actually connecting to the server and trying it. There are too many moving parts.
Kind regards
Noel
Am 21.09.19 um 19:58 schrieb Houman:
> Hello,
>
>
> How can I check if the VPN server is healthy and can accept new connections?
>
>
> I found this Ruby script https://github.com/sensu-plugins/sensu-plugins-strongswan/blob/master/bin/check-strongswan.rb which utilises ‘ipsec status’ to check for health.
>
> My Ruby isn’t very good to make full sense of it. When I run ‘ipsec status’ from the command line, all I get is the listing of each active connection. But a server can be without any active connection and still be healthy. So I can’t follow the thought process.
>
>
> Do you guys know of a way to check the health status of a strongswan server?
>
>
> Many Thanks,
>
> Houman
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.strongswan.org/pipermail/users/attachments/20190923/87819ff0/attachment.sig>
More information about the Users
mailing list