nagios-nrpe: grep in check_ipsecctl_critiques.sh was too large

This commit is contained in:
Jérémy Dubois 2022-10-19 15:24:17 +02:00
parent a458f51289
commit f71560a87b
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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