diff --git a/check_php-fpm-status b/check_php-fpm-status index 93032b822e6706b7f879d7a5dfa4faca52548d2f..af153e588956b3f6d822f75be725cdb6eaf2f50e 100755 --- a/check_php-fpm-status +++ b/check_php-fpm-status @@ -191,10 +191,12 @@ fi # ph.setStatus warning # fi -if [ $iMaxChilds -gt 0 ]; then - # ph.setStatus critical - ph.setStatus warning -fi +# 5601 - remove warning for this limit (it is a flag and won't remove) +# if [ $iMaxChilds -gt 0 ]; then +# # ph.setStatus critical +# ph.setStatus warning +# fi + if [ $iWorkerIdle -eq 0 ]; then ph.setStatus warning fi @@ -231,11 +233,13 @@ fi # echo " Or count of allowed workers (pm.max_children) or spare servers (pm.XXX_spare_servers) is too low." # echo # fi -if [ $iMaxChilds -gt 0 ]; then - echo $hint - echo "WARNING: Max. count of children was reached: $iMaxChilds. Maximum of active workers was $iMaxActive - maybe count of allowed workers (pm.max_children) is too low." - echo -fi + +# 5601 - remove warning for this limit (it is a flag and won't remove) +# if [ $iMaxChilds -gt 0 ]; then +# echo $hint +# echo "WARNING: Max. count of children was reached: $iMaxChilds. Maximum of active workers was $iMaxActive - maybe count of allowed workers (pm.max_children) is too low." +# echo +# fi if [ $iQueue -gt 0 ]; then echo $hint echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)."