Skip to content
Snippets Groups Projects
Commit 9db3c1f3 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update php-fpm check using full status now

parent e1aa0a9c
Branches
No related tags found
No related merge requests found
...@@ -76,8 +76,10 @@ status page. ...@@ -76,8 +76,10 @@ status page.
For performance data it eachos: For performance data it eachos:
php-fpm-active count of active workers php-fpm-active count of active workers
php-fpm-maxactive max active processes php-fpm-maxactive max active processes (sum of idle + running + reading)
php-fpm-idle count of idle workers php-fpm-idle count of workers in state "Idle"
php-fpm-running count of workers in state "Running"
php-fpm-reading count of workers in state "Reading headers"
php-fpm-queue count of items in the queue php-fpm-queue count of items in the queue
php-fpm-maxqueue max listen queue php-fpm-maxqueue max listen queue
php-fpm-slow slow requests per second (since last execution of this check) php-fpm-slow slow requests per second (since last execution of this check)
...@@ -136,6 +138,11 @@ if [ $? -ne 0 ]; then ...@@ -136,6 +138,11 @@ if [ $? -ne 0 ]; then
fi fi
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# get values from status output
# ----------------------------------------------------------------------
# --- handled requests per sec
typeset -i iConn=$( _getvalue "accepted conn")
typeset -i iSpeed=$( ph.perfdeltaspeed "fpm-accepted" $iConn ) typeset -i iSpeed=$( ph.perfdeltaspeed "fpm-accepted" $iConn )
# --- count slots # --- count slots
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment