# remove switch to warning level if just one slow request was detected
# if [ $iSlow -gt 0 ]; then
# ph.setStatus warning
# fi
if[$iMaxChilds-gt 0 ];then
if[$iMaxChilds-gt 0 ];then
# ph.setStatus critical
# ph.setStatus critical
ph.setStatus warning
ph.setStatus warning
...
@@ -227,8 +234,8 @@ if [ $iQueue -gt 0 ]; then
...
@@ -227,8 +234,8 @@ if [ $iQueue -gt 0 ]; then
echo
echo
fi
fi
if[$iSlow-gt 0 ];then
if[$iSlow-gt 0 ];then
echo$hint
# echo $hint
echo"WARNING: $iSlow slow requests per $sDeltaunit were found ($iSlowPercent%)... total $iSlowTotal slow req were detected (since last start of fpm service)."
echo"HINT: $iSlow slow requests per $sDeltaunit were found ($iSlowPercent%)... total $iSlowTotal slow req were detected (since last start of fpm service)."