Ad Widget

Collapse

How to configure Apache httpd 2.4.x to be monitored by Template App Apache by Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • taicyber
    Junior Member
    • Feb 2023
    • 1

    #1

    How to configure Apache httpd 2.4.x to be monitored by Template App Apache by Zabbix

    I try to setup zabbix to monitor my Apache httpd which acts as a reverse proxy. I added official Template App Apache by Zabbix agent and also configured
    apache port, ip address, process name. But Template shows just only Apache memory not all item from each virtual host which configured in httpd.conf

    My server: Centos 7.9
    Zabbix server:5

    My httpd.conf looks like this
    Listen 50505
    Listen 5050
    <VirtualHost *:50505>
    ProxyPreserveHost On
    ProxyPass / http://192.168.100.185:8081/xxx/servlet/xxxx retry=1 acquire=3000 timeout=600 keepalive=On
    ProxyPassReverse / http://192.168.100.185:8081/xxx/servlet/xxxx
    </VirtualHost>

    <VirtualHost *:50506>
    ProxyPreserveHost On
    ProxyPass / http://192.168.100.186:9090/login.html retry=1 acquire=3000 timeout=600 keepalive=On
    ProxyPassReverse / http://10.9.100.186:9090/login.html
    </VirtualHost>

    And my module status looks like this in /etc/httpd/conf.d

    <IfModule mod_status.c>
    <Location "/server-status">
    Order Deny,Allow
    Deny from all
    Allow from localhost
    </Location>
    ExtendedStatus On
    </IfModule>

    Could anyone please help me?​
Working...