Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-checks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Commits
9db3c1f3
Commit
9db3c1f3
authored
3 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update php-fpm check using full status now
parent
e1aa0a9c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_php-fpm-status
+9
-2
9 additions, 2 deletions
check_php-fpm-status
with
9 additions
and
2 deletions
check_php-fpm-status
+
9
−
2
View file @
9db3c1f3
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment