diff --git a/check_php-fpm-status b/check_php-fpm-status index 9ea1fbd6bdb08b2a0a1d4206729004262747f6ea..fe3c2e0db8f29b0cf905b21c3d9063e92a706383 100755 --- a/check_php-fpm-status +++ b/check_php-fpm-status @@ -158,7 +158,8 @@ typeset -i iMaxQueue=$( _getvalue "max listen queue") typeset -i iSlowTotal=$( _getvalue "slow requests") typeset -i iSlow=$( ph.perfdeltaspeed "fpm-slow" $iSlowTotal $sDeltaunit ) typeset -i iMaxChilds=$( _getvalue "max children reached") -typeset -i iSlowPercent=$iSpeed*100/$iSlow + +typeset -i iSlowPercent=$iSlow*100/$iSpeed typeset -i iWorkerRunning=$( _getWorkerOfState "Running" | wc -l )