Type: Change Request
Affects Version/s: 2.4.0, 2.4.1
Fix Version/s: None
Component/s: Agent (G)
Environment:Zabbix Server and Agent 2.4, Ubuntu Linux 14.04
I cannot monitor vhosts via my internal network or using agents on the hosts.
The reason for this is that the "Host:" option used in the check does NOT pass that header to curl correctly. Resulting in a failed check.
Example Shell Check to get a webpage vhost equivalent to web.page.get(-H Host:www.example.com web01.example.com,/,80)
curl -H 'Host: www.example.com' http://web01.example.com:80/
What is actually happening with web.page.get is:
Which results in the incorrect content being returned and making checking a pages contents on local machines impossible.
Can you guys please fix the web.page.* items so they can perform basic vhost monitoring. Web monitoring is not applicable here as we need to do comparison checks and store the actual CONTENT of several pages.