diff --git a/check_php-fpm-status b/check_php-fpm-status index fe3c2e0db8f29b0cf905b21c3d9063e92a706383..16261bd584606a1521bf62a421cae1cd6089fabb 100755 --- a/check_php-fpm-status +++ b/check_php-fpm-status @@ -190,7 +190,7 @@ fi # ---------------------------------------------------------------------- # output # ---------------------------------------------------------------------- -ph.status "PHP-FPM service: active: $iActive (max: $iMaxActive) .. idle workers: $iIdle .. queue: $iQueue .. speed: $iSpeed req per $sDeltaunit ... slow: $iSlow req per $sDeltaunit ($iSlowPercent %; total: $iSlowTotal)" +ph.status "PHP-FPM service: active: $iActive (max: $iMaxActive) .. idle workers: $iIdle .. queue: $iQueue .. speed: $iSpeed req per $sDeltaunit ... slow: $iSlow req per $sDeltaunit ($iSlowPercent%; total: $iSlowTotal)" echo "Workers: Running: $iWorkerRunning" echo " Reading headers: $iWorkerReading" echo " Idle: $iWorkerIdle" @@ -221,12 +221,12 @@ if [ $iMaxChilds -gt 0 ]; then fi if [ $iQueue -gt 0 ]; then echo $hint - echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue." + echo "WARNING: $iQueue queued requests were found. Maximum of queued items is $iMaxQueue (since last start of fpm service)." echo fi if [ $iSlow -gt 0 ]; then echo $hint - echo "WARNING: $iSlow slow requests were found per $sDeltaunit ... $iSlowTotal since restart of fpm service." + echo "WARNING: $iSlow slow requests were found per $sDeltaunit ($iSlowPercent%)... total $iSlowTotal slow req were detected (since last start of fpm service)." echo fi