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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!46
fix fpm-status
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
fix fpm-status
5823-grep-regex-with-spaces
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
fix fpm-status
Hahn Axel (hahn)
requested to merge
5823-grep-regex-with-spaces
into
master
Oct 21, 2022
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
b0758a0e
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
b0758a0e
fix fpm-status
· b0758a0e
Hahn Axel (hahn)
authored
Oct 21, 2022
check_php-fpm-status
+
1
−
1
View file @ b0758a0e
Edit in single-file editor
Open in Web IDE
Show full file
@@ -62,7 +62,7 @@ function _getWorkerOfState(){
# param string variable (part before ":")
function
_getvalue
(){
# grep "^$1:" $tmpfile | cut -d ":" -f 2 | awk '{ print $1 }'
_getServicedata |
grep
"^ "
$1
\"
:
" | cut -d "
:
" -f 2 | awk '{ print
$1
}'
_getServicedata |
grep
"^
\
"
$1
\"
:"
|
cut
-d
":"
-f
2 |
awk
'{ print $1 }'
}
Loading