From 48c29f08e0184196947c9d0bed2af38386fb1e47 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Thu, 18 Nov 2021 11:30:29 +0100 Subject: [PATCH] apache server-status: check localhost - not fqdn --- check_apache_requests | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/check_apache_requests b/check_apache_requests index 292c6ae..7b4de07 100755 --- a/check_apache_requests +++ b/check_apache_requests @@ -8,14 +8,16 @@ # ---------------------------------------------------------------------- # 2020-04-09 v1.0 <axel.hahn@iml.unibe.ch> # 2021-03-11 v1.1 <axel.hahn@iml.unibe.ch> more error checks for output data -# 2021-11-18 v1.2 <axel.hahn@iml.unibe.ch> add timeout and max tries +# 2021-11-18 v1.2 <axel.hahn@iml.unibe.ch> add timeout and max tries; use localhost instead of FQDN # ====================================================================== . `dirname $0`/inc_pluginfunctions tmpfile=/tmp/check_apache_processes_1 tmpfile2=/tmp/check_apache_processes_2 -url=`hostname -f`/server-status + +# url=`hostname -f`/server-status +url=localhost/server-status typeset -i iStart=0 typeset -i iEnd -- GitLab