[root@worker1 ~]# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built: Apr 2 2020 13:13:23
cat >> /etc/httpd/conf/httpd.conf <<‘EOF‘
<Location "/server-status">
SetHandler server-status
Allow from 10.1.30.0/24 #添加你允许访问的网段
</Location>
systemctl restart httpd
http://<httpd服务器ip>/server-status
[Zabbix]监控Apache2.4.6 (CentOS)
原文:https://www.cnblogs.com/leoshi/p/13563271.html