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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source
icinga-passive-client
Commits
98766108
Commit
98766108
authored
2 years ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
sed removed the pipe before perf data too
parent
7ca32cea
No related branches found
No related tags found
1 merge request
!23
sed removed the pipe before perf data too
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga-cli.sh
+3
-2
3 additions, 2 deletions
icinga-cli.sh
with
3 additions
and
2 deletions
icinga-cli.sh
+
3
−
2
View file @
98766108
...
...
@@ -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:
...
...
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