Checkmk apache2 active monitoring
Download agent:
cd /usr/lib/check_mk_agent/plugins
wget https://monitoring.uvt.tuke.sk/tuke/check_mk/agents/plugins/apache_status
chmod +x apache_status
cd /etc/check_mk/
wget https://monitoring.uvt.tuke.sk/tuke/check_mk/agents/cfg_examples/apache_status.cfg
Otvorenie kofiguracneho syboru
nano apache_status.cfg
Odkomentovanie kofiguraku:
servers = [
{
'protocol' : 'http',
'address' : 'localhost',
'port' : 80 ,
},
#{
# 'protocol' : 'http',
# 'address' : 'localhost',
# 'port' : 8080 ,
#},
{
'protocol' : 'https',
'address' : 'localhost',
'port' : 443 ,
},
]
Po nahrani modulu sa objavia nove sluzby
