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
33ae91b7
Commit
33ae91b7
authored
11 months ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update apache http doc
parent
63dd4f2e
No related branches found
No related tags found
1 merge request
!268
update apache http doc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/20_Checks/check_haproxy_status.md
+1
-0
1 addition, 0 deletions
docs/20_Checks/check_haproxy_status.md
docs/20_Checks/check_http.md
+9
-3
9 additions, 3 deletions
docs/20_Checks/check_http.md
with
10 additions
and
3 deletions
docs/20_Checks/check_haproxy_status.md
+
1
−
0
View file @
33ae91b7
...
...
@@ -3,6 +3,7 @@
## Introduction
**check_haproxy_health**
show status and connections count on frontend and backend.
This check sends performance data.
## Syntax
...
...
This diff is collapsed.
Click to expand it.
docs/20_Checks/check_http.md
+
9
−
3
View file @
33ae91b7
...
...
@@ -2,8 +2,14 @@
## Introduction
Makes an http request with a given method.
Additionally you can verify the response.
Makes an http request with a given method (like HEAD or GET; GET is default).
Additionally you can verify the response:
*
check if the status code is the wanted; default: if no code is given it switches to error on status codes > 400
*
check http response header for a given regex; default: no check
*
check http response body for a given regex; default: no check
*
check http response body if a given regex does not exist; default: no check
*
the response body can be filtered with a given filter using
``jq``
; default: no filtering
## Requirements
...
...
@@ -123,7 +129,7 @@ Found:
### Exact status code
With
``-
m
``
you can verify if the status code matches exactly a given value.
With
``-
s
``
you can verify if the status code matches exactly a given value.
You also can set a code for http error to ensure if a protected url really is blocking the request.
Maybe you don't deny the access like
...
...
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