Hallo zusammen,
ich versuche eine Apache2 unter Debian 12 per server-status zu Überwachen.
Der Apache liefert per http://localhost/server-status und (testweise) per http:///server-status seine bekannte Status Seite aus.
Auf dem Host ist das Plugin passend kopiert.
root@WEBAPP1:/usr/lib/check_mk_agent/plugins# ls -l
insgesamt 12
-rw-r--r-- 1 root root 10923 28. Jul 13:27 apache_status.py
Ebenso eine Regel für den Host erstellt
Eine /etc/check_mk/apache_status.cfg gibts auch…
#ENABLE_OMD_SITE_DETECTION = True
#
#CUSTOM_ADDRESS_OVERWRITE = {
# '127.0.0.1:80' : "internet",
#
#}
# Note: Activate this only if the autodetection fails.
servers = [
{
'protocol' : 'http',
'address' : 'localhost',
'port' : 80 ,
'instance' : 'Your instance name', # optional
},
#{
# 'protocol' : 'https',
# 'address' : 'localhost',
# 'port' : 443 ,
#},
#{
# 'protocol' : 'https',
# 'address' : 'external-host',
# 'port' : 443 ,
# 'cafile' : '/path/to/cafile', # optional
#},
]
Ein wget http://localhost/server-status gibt auch eine passende html Seite zurück.
Leider bleibt der Check auf dem betreffenden Host immer auf Pending.
Jemand ne Idee?
Viele Grüße
Michael

