Hello,
I'm trying to configure web.page.get items to monitor some of my websites, but I need to go through a web proxy to access these web sites, which I can't figure out how to do at the moment.
To explain it more, I have some webservers, each serving multiple websites with different vHosts, so I did a template where I can "autodiscover" a list of websites passed to the host via a macro in Zabbix.
The template works correctly and create the required items and triggers for each site.
The goal is that an agent will monitor the websites of his own machine.
I made some tests manually with the zabbix user and cURL, which gives me a 403 because I don't go through the proxy.
I tried to create a .curlrc file in Zabbix home (/var/lib/zabbix) with the option proxy=http://... and re-run the tests again, this time I'm able to access the website.
My question now is, is there any way to specify a proxy for web.page.* checks?
Thanks,
Phil
I'm trying to configure web.page.get items to monitor some of my websites, but I need to go through a web proxy to access these web sites, which I can't figure out how to do at the moment.
To explain it more, I have some webservers, each serving multiple websites with different vHosts, so I did a template where I can "autodiscover" a list of websites passed to the host via a macro in Zabbix.
The template works correctly and create the required items and triggers for each site.
The goal is that an agent will monitor the websites of his own machine.
I made some tests manually with the zabbix user and cURL, which gives me a 403 because I don't go through the proxy.
I tried to create a .curlrc file in Zabbix home (/var/lib/zabbix) with the option proxy=http://... and re-run the tests again, this time I'm able to access the website.
My question now is, is there any way to specify a proxy for web.page.* checks?
Thanks,
Phil