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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
icinga-checks
Merge requests
!128
6468 docs and harmonize
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
6468 docs and harmonize
6468-docs-and-harmonize
into
master
Overview
0
Commits
7
Pipelines
0
Changes
14
Merged
Hahn Axel (hahn)
requested to merge
6468-docs-and-harmonize
into
master
1 year ago
Overview
0
Commits
7
Pipelines
0
Changes
14
0
0
Merge request reports
Compare
master
version 5
92065336
1 year ago
version 4
4833926a
1 year ago
version 3
2d6c039e
1 year ago
version 2
b262d95a
1 year ago
version 1
723fb049
1 year ago
master (base)
and
version 4
latest version
e63f4fb8
7 commits,
1 year ago
version 5
92065336
6 commits,
1 year ago
version 4
4833926a
4 commits,
1 year ago
version 3
2d6c039e
3 commits,
1 year ago
version 2
b262d95a
2 commits,
1 year ago
version 1
723fb049
1 commit,
1 year ago
14 files
+
128
−
184
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
14
check_apache_requests
+
7
−
13
View file @ 4833926a
Edit in single-file editor
Open in Web IDE
Show full file
@@ -12,11 +12,11 @@
# 2022-08-31 v1.3 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2022-08-31 v1.4 <axel.hahn@iml.unibe.ch> add help; shellfix corrections
# 2023-06-19 v1.5 <axel.hahn@unibe.ch> no more tmpfile
# 2023-07-27 v1.6 <axel.hahn@unibe.ch> update help page
# ======================================================================
.
$(
dirname
$0
)
/inc_pluginfunctions
self_APPNAME
=
$(
basename
$0
|
tr
[
:lower:]
[
:upper:]
)
self_APPVERSION
=
1.5
self_APPVERSION
=
1.6
# url=`hostname -f`/server-status
url
=
localhost/server-status
@@ -41,15 +41,9 @@ paramsWget="-T 5 -t 1 --no-check-certificate"
# ----------------------------------------------------------------------
function
showHelp
(){
cat
<<
EOF
______________________________________________________________________
$self_APPNAME
v
$self_APPVERSION
(c) Institute for Medical Education - University of Bern
Licence: GNU GPL 3
______________________________________________________________________
local
_self
;
_self
=
$(
basename
$0
)
cat
<<
EOF
$(
ph.showImlHelpHeader
)
Get Apache httpd server-status page
$url
.
You get output with the server status and values for each slot type.
@@ -80,7 +74,7 @@ Slot types of apache httpd:
SYNTAX:
$
(
basename
$0
)
[-w WARN_LIMIT] [-c CRITICAL_LIMIT]
$
_self
[-w WARN_LIMIT] [-c CRITICAL_LIMIT]
OPTIONS:
@@ -95,7 +89,7 @@ PARAMETERS:
EXAMPLE:
$
(
basename
$0
)
-w 60 -c 80
$
_self
-w 60 -c 80
EOF
}
Loading