diff --git a/roles/nagios-nrpe/files/plugins_bsd/check_openvpn b/roles/nagios-nrpe/files/plugins_bsd/check_openvpn index d06769c..04490d4 100755 --- a/roles/nagios-nrpe/files/plugins_bsd/check_openvpn +++ b/roles/nagios-nrpe/files/plugins_bsd/check_openvpn @@ -1,6 +1,6 @@ #!/bin/sh # -# Wrapper of check_openvpn.pl, to use when the serveur is CARP backup and OpenVPN should not run +# Wrapper of check_openvpn.pl, to use when the server is CARP backup and OpenVPN should not run carp=$(/sbin/ifconfig carp0 | /usr/bin/grep 'status' |cut -d' ' -f2) diff --git a/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 b/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 index 7ab8d14..1351b28 100644 --- a/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 +++ b/roles/nagios-nrpe/templates/evolix_bsd.cfg.j2 @@ -27,7 +27,7 @@ command[check_proxy]=/usr/local/libexec/nagios/check_tcp -p PORT #command[check_vpn]=/usr/local/libexec/nagios/check_ping -H IPDISTANTE -p 1 -w 5000,100% -c 5000,100% command[check_vpn]=doas /usr/local/libexec/nagios/plugins/check_ipsecctl.sh IPDISTANTE IPLOCALE "VPN MARSEILLE-ROME" command[check_openvpn]=/usr/local/libexec/nagios/plugins/check_openvpn.pl -H 127.0.0.1 -p 1195 -P PASSWORD -#command[check_openvpn]=/usr/local/libexec/nagios/plugins/check_openvpn # Wrapper of check_openvpn.pl, to use when the serveur is CARP backup and OpenVPN should not run +#command[check_openvpn]=/usr/local/libexec/nagios/plugins/check_openvpn # Wrapper of check_openvpn.pl, to use when the server is CARP backup and OpenVPN should not run command[check_pf_states]=doas /usr/local/libexec/nagios/plugins/check_pf_states command[check_carp1]=/usr/local/libexec/nagios/plugins/check_carp_if carp0 master command[check_mem]=/usr/local/libexec/nagios/plugins/check_free_mem.sh -w 20 -c 10