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
dc799612
Commit
dc799612
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update check_http
parent
69ee03fc
No related branches found
No related tags found
1 merge request
!162
check_http first lines
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check_http
+4
-1
4 additions, 1 deletion
check_http
with
4 additions
and
1 deletion
check_http
+
4
−
1
View file @
dc799612
...
...
@@ -7,7 +7,7 @@
# The response header and
#
# -------------------------------------------------------------------------------
# 2023-09-06 v
0.1
<axel.hahn@unibe.ch>
# 2023-09-06 v
1.0
<axel.hahn@unibe.ch>
# ================================================================================
.
$(
dirname
$0
)
/inc_pluginfunctions
...
...
@@ -81,6 +81,9 @@ EXAMPLES:
Check if the GET request to url responds with 200..3xx
status and the response body NOT contains "error occured".
$_self
-u [URL] -s 200 -b -b "contact" -n "error occured"
Combine code, a matching search and a non matching one.
EOF
}
...
...
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