From 6b8dda1df4116fc78ecb111c8a24fed226f1234f Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 7 Jun 2024 10:03:54 +0200 Subject: [PATCH] update check apache_requests --- docs/20_Checks/check_apache_requests.md | 56 +++++++++++++++++-------- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git a/docs/20_Checks/check_apache_requests.md b/docs/20_Checks/check_apache_requests.md index 21d2bd1..e5eab23 100644 --- a/docs/20_Checks/check_apache_requests.md +++ b/docs/20_Checks/check_apache_requests.md @@ -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 +CHECK_APACHE_REQUESTS +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 -- GitLab