Browse Source

Add localhost IPv6 for nrpe allow param

master
nemo 3 years ago
parent
commit
dcdefa4e37
  1. 2
      recipes/recipe_check_nrpe_config.sh

2
recipes/recipe_check_nrpe_config.sh

@ -13,7 +13,7 @@ then
else
# allowed_hosts
check_value_in_conf_file "NRPE" "${conf_file_to_test}" "allowed_hosts" "127.0.0.1,[[:space:]]*${IPV4_ADMIN_NETWORK}0/24,[[:space:]]*${IPV6_ADMIN_NETWORK}:/64"
check_value_in_conf_file "NRPE" "${conf_file_to_test}" "allowed_hosts" "127.0.0.1,[[:space:]]*::1,[[:space:]]*${IPV4_ADMIN_NETWORK}0/24,[[:space:]]*${IPV6_ADMIN_NETWORK}:/64"
case ${?} in
0) # OK, nothing to do

Loading…
Cancel
Save