nagios-nrpe: grep in check_ipsecctl_critiques.sh was too large
This commit is contained in:
parent
a458f51289
commit
f71560a87b
|
@ -59,6 +59,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
* nagios-nrpe: handle the case where cached_mem is in GB to convert it in MB in check_free_mem.sh
|
||||
* post-install: improve management of ldif file for ldap
|
||||
* post-install: ignore errors from syspatch
|
||||
* nagios-nrpe: grep in check_ipsecctl_critiques.sh was too large
|
||||
|
||||
### Removed
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ fi
|
|||
|
||||
# Make sure "0.0.0.0" is not configured
|
||||
|
||||
if /sbin/ipsecctl -sa | grep -qF 0.0.0.0; then
|
||||
if /sbin/ipsecctl -sa | grep -qF " 0.0.0.0"; then
|
||||
echo "CRITICAL : Configuration error on client side, \"0.0.0.0\" is configured and makes the network to bug. Check with \"ipsecctl -sa | grep -F 0.0.0.0\" which VPN is affected and shut it down, and contact the client or the VPN provider to solve the problem."
|
||||
STATUS=2
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue