Skip to content
Snippets Groups Projects

6468 docs and harmonize

2 files
+ 8
6
Compare changes
  • Side-by-side
  • Inline

Files

+ 4
3
@@ -12,12 +12,13 @@
# 2021-12-14 v1.3 <axel.hahn@iml.unibe.ch> use updated haproxy paser in sourced file
# 2022-04-01 v1.4 <axel.hahn@iml.unibe.ch> use wget default params; shell fixes
# 2022-10-21 v1.5 <axel.hahn@unibe.ch> remove grep: warning: stray \ before white space
# 2023-07-28 v1.6 <axel.hahn@unibe.ch> add help page
# 2023-07-28 v1.6 <axel.hahn@unibe.ch> add help page
# 2023-08-23 v1.7 <axel.hahn@unibe.ch> fix wrong exitcode to "critical"
# ======================================================================
. $(dirname $0)/inc_pluginfunctions
export self_APPVERSION=1.6
export self_APPVERSION=1.7
. $(dirname $0)/inc_haproxy_cfg.sh
@@ -106,7 +107,7 @@ fi
grep "200 OK" $tmpfile >/dev/null
if [ $? -ne 0 ]; then
ph.setStatus "error"
ph.setStatus "critical"
ph.status "url $safeurl did not contain 200 OK. $(wget -T 5 -t 1 --no-check-certificate -O - -S $url)"
else
ph.status "HA Proxy $safeurl is up and running."
Loading