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
a7bb1164
Commit
a7bb1164
authored
1 month ago
by
Hahn Axel (hahn)
Browse files
Options
Downloads
Patches
Plain Diff
small fixes
parent
12b750fa
No related branches found
Branches containing commit
No related tags found
1 merge request
!302
Update docs
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
check_apache_requests
+2
-2
2 additions, 2 deletions
check_apache_requests
check_deployment
+1
-1
1 addition, 1 deletion
check_deployment
inc_haproxy_cfg.sh
+3
-1
3 additions, 1 deletion
inc_haproxy_cfg.sh
with
6 additions
and
4 deletions
check_apache_requests
+
2
−
2
View file @
a7bb1164
...
...
@@ -13,13 +13,13 @@
# 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
# 2025-02-10 v1.
3
<axel.hahn@unibe.ch> harden sourcing files
# 2025-02-10 v1.
7
<axel.hahn@unibe.ch> harden sourcing files
# ======================================================================
# shellcheck source=/dev/null
.
"
$(
dirname
"
$0
"
)
/inc_pluginfunctions"
||
exit
1
export
self_APPVERSION
=
1.
6
export
self_APPVERSION
=
1.
7
# url=`hostname -f`/server-status
url
=
localhost/server-status
...
...
This diff is collapsed.
Click to expand it.
check_deployment
+
1
−
1
View file @
a7bb1164
...
...
@@ -36,7 +36,7 @@ OPTIONS:
default:
${
sInstalldir
}
EXAMPLE:
$_self
-d /home/deployuser/iml
backup
$_self
-d /home/deployuser/iml
deployment-installer
set a custom directory und run the backup check
EOF
...
...
This diff is collapsed.
Click to expand it.
inc_haproxy_cfg.sh
+
3
−
1
View file @
a7bb1164
...
...
@@ -9,6 +9,7 @@
# 2022-10-21 v1.1 <axel.hahn@unibe.ch> remove grep: warning: stray \ before white space
# 2023-06-09 v1.2 <axel.hahn@unibe.ch> take first haproxy stats port on multiple binds
# 2023-07-28 v1.3 <axel.hahn@unibe.ch> check existance of file $HAPROXYcfgfile
# 2025-02-20 v1.4 <axel.hahn@unibe.ch> cfgrewriter returns exitcode 0 - haproxy check do not abort when sourcing on non haproxy systems
# ======================================================================
# full path to haproxy.cfg
...
...
@@ -68,6 +69,7 @@ function cfgrewriter(){
echo
$line
|
sed
-e
"s#^ *
\(
[a-z
\-
]*
\)
*#
\1
=#g"
fi
done
<
$HAPROXYcfgfile
return
0
}
# ------------------------------------------------------------
...
...
@@ -171,4 +173,4 @@ function getStatusUri(){
# INIT
if
[
$HAPROXYdoCache
=
0
-o
$HAPROXYcfgfile
-nt
$HAPROXYdumpfile
]
;
then
cfgrewriter
>
$HAPROXYdumpfile
fi
\ No newline at end of file
fi
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