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
6b8dda1d
Commit
6b8dda1d
authored
1 year ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
update check apache_requests
parent
a81a1268
No related branches found
No related tags found
1 merge request
!267
Update docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/20_Checks/check_apache_requests.md
+39
-17
39 additions, 17 deletions
docs/20_Checks/check_apache_requests.md
with
39 additions
and
17 deletions
docs/20_Checks/check_apache_requests.md
+
39
−
17
View file @
6b8dda1d
...
@@ -2,13 +2,31 @@
...
@@ -2,13 +2,31 @@
## Introduction
## Introduction
After requesting the apache servre status page you get
*
the usage of available slots with number of available and used/ free slots
*
the number of used slots per slot type
The check sends performance data for these data too.
## Requirements
*
Apache httpd
*
enabled module mod_status
*
allow localhost to access /server-status
## Syntax
```
txt
______________________________________________________________________
______________________________________________________________________
CHECK_APACHE_REQUESTS
CHECK_APACHE_REQUESTS
v1.
5
v1.
6
(c) Institute for Medical Education - University of Bern
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
Licence: GNU GPL 3
https://os-docs.iml.unibe.ch/icinga-checks/Checks/check_apache_requests.html
______________________________________________________________________
______________________________________________________________________
Get Apache httpd server-status page localhost/server-status.
Get Apache httpd server-status page localhost/server-status.
...
@@ -26,21 +44,20 @@ slots) is greater 75% of available slots.
...
@@ -26,21 +44,20 @@ slots) is greater 75% of available slots.
You get an CRITICAL response if it is greater 90% of available slots.
You get an CRITICAL response if it is greater 90% of available slots.
Slot types of apache httpd:
Slot types of apache httpd:
`_`
Waiting for Connection,
_ Waiting for Connection,
`S`
Starting up,
S Starting up,
`R`
Reading Request
R Reading Request
`W`
Sending Reply,
W Sending Reply,
`K`
Keepalive (read),
K Keepalive (read),
`D`
DNS Lookup
D DNS Lookup
`C`
Closing connection,
C Closing connection,
`L`
Logging,
L Logging,
`G`
Gracefully finishing
G Gracefully finishing
`I`
Idle cleanup of worker
I Idle cleanup of worker
`.`
Open slot with no current process
. Open slot with no current process
## Syntax
SYNTAX:
```
txt
check_apache_requests [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
check_apache_requests [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
OPTIONS:
OPTIONS:
...
@@ -53,6 +70,11 @@ OPTIONS:
...
@@ -53,6 +70,11 @@ OPTIONS:
PARAMETERS:
PARAMETERS:
None.
None.
EXAMPLE:
check_apache_requests -w 60 -c 80
```
```
## Examples
## Examples
...
...
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