From 44b6af8ba3e6fc4b7b94d966fc3a214d86c2029b Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Fri, 1 Oct 2021 16:26:09 +0200 Subject: [PATCH] update php-fpm check - small changes in output --- check_php-fpm-status | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_php-fpm-status b/check_php-fpm-status index fe3c2e0..16261bd 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 -- GitLab