apache2, httpd monitoring, zabbix, http agent

https://httpd.apache.org/docs/current/mod/mod_status.html

Install support
cd /etc/httpd/conf.modules.d
cat << 'EOF' > 11-server-status.conf

SetHandler server-status

EOF
systemctl restart httpd
Now metrics is served:
https://127.0.0.1/server-status?auto
Template:https://github.com/v-zhuravlev/zbx_template_apache2

Related:https://httpd.apache.org/docs/2.4/mod/core.html#extendedstatus

No comments: