Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
icinga-passive-client
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
Open Source
icinga-passive-client
Merge requests
!23
sed removed the pipe before perf data too
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
sed removed the pipe before perf data too
6072-fix-shell-warnings
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Hahn Axel (hahn)
requested to merge
6072-fix-shell-warnings
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
98766108
1 commit,
2 years ago
1 file
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
icinga-cli.sh
+
3
−
2
View file @ 98766108
Edit in single-file editor
Open in Web IDE
Show full file
@@ -16,11 +16,12 @@
# 2022-03-04 v0.9 ah abort on http 5xx error
# 2022-03-14 v0.10 ah less output and add _elog to run as a service
# 2022-07-08 v0.11 ah check pipes in output and performance data
# 2023-01-30 v0.12 ah remove pipes with sed remove the pipe before performancedata
# ======================================================================
_product
=
"ICINGA PASSIVE CLIENT"
_version
=
"0.1
1
"
_version
=
"0.1
2
"
_license
=
"GNU GPL 3.0"
_copyright
=
'(c) 2020 Institute for Medical Education * University of Bern'
@@ -366,7 +367,7 @@ function processCheck(){
_elog
"command was:
$myFullscript
$myparams
"
_log
"
${
_logPrefix
}
WARNING - pipes were found in plugin output"
fi
sed
-i
"s#|#:#g"
"
$_outfile
"
#
sed -i "s#|#:#g" "$_outfile"
_echo
# echo -------- extracted performance data:
Loading