diff --git a/linux/CHANGELOG b/linux/CHANGELOG index 9b9ad2f..ae899f9 100644 --- a/linux/CHANGELOG +++ b/linux/CHANGELOG @@ -10,6 +10,7 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp ### Changed * IS_SYSLOGCONF: better detection +* IS_MYSQLNRPE: ajust check for monitoringctl new nagios conf ### Deprecated diff --git a/linux/evocheck.sh b/linux/evocheck.sh index f504672..04a29ef 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -1092,7 +1092,7 @@ check_mysqlnrpe() { || [ "$(stat -c %a ${nagios_file})" != "600" ]; then failed "IS_MYSQLNRPE" "${nagios_file} has wrong permissions" else - grep -q -F "command[check_mysql]=/usr/lib/nagios/plugins/check_mysql" /etc/nagios/nrpe.d/evolix.cfg \ + grep -q -E "command\[check_mysql\]=.*/usr/lib/nagios/plugins/check_mysql" /etc/nagios/nrpe.d/evolix.cfg \ || failed "IS_MYSQLNRPE" "check_mysql is missing" fi fi