Hello everyone,
I'm trying to monitor Apache with this template https://github.com/v-zhuravlev/zbx_template_apache2
It's working fine on the host that runs the zabbix-server app on the LAN. I'm trying to monitor a dev server that's hosted on GCP. When I access the /server-status page of that server from my browser it works fine but here's the response Zabbix gets :
HTTP/1.1 302 Found Date: Thu, 28 Feb 2019 22:44:58 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.15 Location: https://[domain name]/server-status?auto Content-Length: 224 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://[domain name]/server-status?auto">here</a>.</p> </body></html> The Zabbix template is set to follow redirects.
On that server the Apache logs are this :
[zabbix server IP] - - [28/Feb/2019:22:56:46 +0000] "GET /server-status?auto HTTP/1.1" 302 224
::1 - - [28/Feb/2019:22:56:58 +0000] "GET /server-status?auto HTTP/1.1" 302 224
Anyone has an idea as what could be causing this?
I'm trying to monitor Apache with this template https://github.com/v-zhuravlev/zbx_template_apache2
It's working fine on the host that runs the zabbix-server app on the LAN. I'm trying to monitor a dev server that's hosted on GCP. When I access the /server-status page of that server from my browser it works fine but here's the response Zabbix gets :
HTTP/1.1 302 Found Date: Thu, 28 Feb 2019 22:44:58 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.2.15 Location: https://[domain name]/server-status?auto Content-Length: 224 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>302 Found</title> </head><body> <h1>Found</h1> <p>The document has moved <a href="https://[domain name]/server-status?auto">here</a>.</p> </body></html> The Zabbix template is set to follow redirects.
On that server the Apache logs are this :
[zabbix server IP] - - [28/Feb/2019:22:56:46 +0000] "GET /server-status?auto HTTP/1.1" 302 224
::1 - - [28/Feb/2019:22:56:58 +0000] "GET /server-status?auto HTTP/1.1" 302 224
Anyone has an idea as what could be causing this?
Comment