Skip to content
Snippets Groups Projects
Commit 48c29f08 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

apache server-status: check localhost - not fqdn

parent 1dbe451d
No related branches found
No related tags found
No related merge requests found
...@@ -8,14 +8,16 @@ ...@@ -8,14 +8,16 @@
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------
# 2020-04-09 v1.0 <axel.hahn@iml.unibe.ch> # 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-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 . `dirname $0`/inc_pluginfunctions
tmpfile=/tmp/check_apache_processes_1 tmpfile=/tmp/check_apache_processes_1
tmpfile2=/tmp/check_apache_processes_2 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 iStart=0
typeset -i iEnd typeset -i iEnd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment