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
!163
update check_http
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
update check_http
add-systemdunit
into
master
Overview
0
Commits
3
Pipelines
0
Changes
1
Merged
update check_http
Hahn Axel (hahn)
requested to merge
add-systemdunit
into
master
Sep 6, 2023
Overview
0
Commits
3
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
dc06fdb7
Prev
Next
Show latest version
1 file
+
1
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
dc06fdb7
remove unneeded lines
· dc06fdb7
Hahn Axel (hahn)
authored
Sep 6, 2023
check_http
+
1
−
5
View file @ dc06fdb7
Edit in single-file editor
Open in Web IDE
Show full file
@@ -103,7 +103,7 @@ ph.require "curl"
sUrl
=
$(
ph.getValueWithParam
''
u
"
$@
"
)
sMethod
=
$(
ph.getValueWithParam
'GET'
m
"
$@
"
|
tr
[
:lower:]
[
:upper:]
)
curlParams
=
$(
ph.getValueWithParam
''
c
"
$@
"
)
curlParams
=
$(
ph.getValueWithParam
''
c
"
$@
"
)
iStatus
=
$(
ph.getValueWithParam
''
s
"
$@
"
)
sHeader
=
$(
ph.getValueWithParam
''
r
"
$@
"
)
@@ -112,11 +112,7 @@ sNotInBody=$( ph.getValueWithParam '' n "$@")
sJq
=
$(
ph.getValueWithParam
''
j
"
$@
"
)
sLabel
=
$(
ph.getValueWithParam
""
l
"
$@
"
)
curlParams+
=
" -si -X
$sMethod
"
# echo "Url is $sUrl"
sProblems
=
sOK
=
Loading