hint="HINT: the non-OK status is still erxperimmental. A warning can be a false positive.\n\n"
if[$iIdle-eq 0 ];then
echo$hint
echo"WARNING: $iIdle idle 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."
fi
if[$iQueue-gt 0 ];then
echo$hint
echo"WARNING: $iQueue queued requests were found."
fi
if[$iSlow-gt 0 ];then
echo$hint
echo"WARNING: $iSlow slow requests were found."
fi
if[$iMaxChilds-gt 0 ];then
echo"WARNING: max. children was reached $iMaxChilds. Max. active were $iMaxActive - maybe count of allowed workers is too low."
echo$hint
echo"WARNING: max. children was reached $iMaxChilds. Max. active were $iMaxActive workers - maybe count of allowed workers (pm.max_children) is too low."