Skip to content
Snippets Groups Projects
Commit 2d25ecd6 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'update-docs' into 'master'

Update docs

See merge request !267
parents 6ebf6ee9 63dd4f2e
No related branches found
No related tags found
1 merge request!267Update docs
......@@ -2,13 +2,31 @@
## 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
v1.5
v1.6
(c) Institute for Medical Education - University of Bern
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.
......@@ -26,21 +44,20 @@ slots) is greater 75% of available slots.
You get an CRITICAL response if it is greater 90% of available slots.
Slot types of apache httpd:
`_` Waiting for Connection,
`S` Starting up,
`R` Reading Request
`W` Sending Reply,
`K` Keepalive (read),
`D` DNS Lookup
`C` Closing connection,
`L` Logging,
`G` Gracefully finishing
`I` Idle cleanup of worker
`.` Open slot with no current process
## Syntax
```txt
_ Waiting for Connection,
S Starting up,
R Reading Request
W Sending Reply,
K Keepalive (read),
D DNS Lookup
C Closing connection,
L Logging,
G Gracefully finishing
I Idle cleanup of worker
. Open slot with no current process
SYNTAX:
check_apache_requests [-w WARN_LIMIT] [-c CRITICAL_LIMIT]
OPTIONS:
......@@ -53,6 +70,11 @@ OPTIONS:
PARAMETERS:
None.
EXAMPLE:
check_apache_requests -w 60 -c 80
```
## Examples
......
......@@ -4,16 +4,6 @@
Show status of all Cronjobs using Axels Cronwrapper
📄 Source: <https://github.com/axelhahn/cronwrapper>\
📜 License: GNU GPL 3.0\
📖 Docs: see docs folder or online <https://www.axel-hahn.de/docs/cronwrapper/>
Pre conditions:
* The cronwrapper must be installed
* Your cronjob(s) must be changed to use the wrapper, eg.\
`*/60 * * * * /opt/cronwrappre.sh 60 <YOUR_COMMAND>`
`check_cronstatus` executes the cronstatus.sh in the cronwrapper installation directory and will parse its output.
In the cronstatus the last run of each job will be verified with these conditions:
......@@ -23,18 +13,19 @@ In the cronstatus the last run of each job will be verified with these condition
As output you get a summary of all checks followed by more detailed status per job.
## Syntax
## Requirements
`$ check_cronstatus [-h]`
or
`$ check_cronstatus [SCRIPT]`
* The cronwrapper must be installed
* Your cronjob(s) must be changed to use the wrapper, eg.\
`*/60 * * * * /opt/cronwrappre.sh 60 <YOUR_COMMAND>`
📄 Source: <https://github.com/axelhahn/cronwrapper>\
📜 License: GNU GPL 3.0\
📖 Docs: see docs folder or online <https://www.axel-hahn.de/docs/cronwrapper/>
### Parameters
## Syntax
```text
```txt
______________________________________________________________________
CHECK_CRONSTATUS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment