diff --git a/check_php-fpm-status b/check_php-fpm-status index f398adee20b78dda8ce8577aa370746e49377cf9..7a10de6bd63941550265b5f6b939d81ea67cbd13 100755 --- a/check_php-fpm-status +++ b/check_php-fpm-status @@ -183,9 +183,11 @@ fi if [ $iWorkerIdle -eq 0 ]; then ph.setStatus warning fi -if [ $iWorkerReading -eq 0 ]; then - ph.setStatus warning -fi + +# seems not to be useful +# if [ $iWorkerReading -eq 0 ]; then +# ph.setStatus warning +# fi # ---------------------------------------------------------------------- # output @@ -207,13 +209,13 @@ if [ $iWorkerIdle -eq 0 ]; then echo " Or count of allowed workers (pm.max_children) or spare servers (pm.XXX_spare_servers) is too low." echo fi -if [ $iWorkerReading -eq 0 ]; then - echo $hint - echo "WARNING: No reading workers available." - echo " Maybe there is a current peak only." - echo " Or count of allowed workers (pm.max_children) or spare servers (pm.XXX_spare_servers) is too low." - echo -fi +# if [ $iWorkerReading -eq 0 ]; then +# echo $hint +# echo "WARNING: No reading workers available." +# echo " Maybe there is a current peak only." +# 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."