From 218568fc138fab26e0cf5e8b66e70d7f4242a043 Mon Sep 17 00:00:00 2001 From: Jeremy Dubois Date: Wed, 20 Oct 2021 16:05:27 +0200 Subject: [PATCH] Add comment to check_ipsecctl_critiques.sh : how to use --- .../nagios-nrpe/files/plugins_bsd/check_ipsecctl_critiques.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/nagios-nrpe/files/plugins_bsd/check_ipsecctl_critiques.sh b/roles/nagios-nrpe/files/plugins_bsd/check_ipsecctl_critiques.sh index 4428d74..12cfb9c 100755 --- a/roles/nagios-nrpe/files/plugins_bsd/check_ipsecctl_critiques.sh +++ b/roles/nagios-nrpe/files/plugins_bsd/check_ipsecctl_critiques.sh @@ -1,5 +1,9 @@ #!/bin/sh +# Use : ./check_ipsecctl_critiques.sh +# check_ipsecctl.sh must be installed +# Do not forget to also set variables under "Additional check with ping" : $VPNS + Definition of destination IPs + IPs in "case $vpn in" + # Variables CHECK_IPSECCTL="/usr/local/libexec/nagios/check_ipsecctl.sh"