Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2520

No way to monitor vhosts using web.page.get, web.page.perf, or web.page.regexp

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 2.4.0, 2.4.1
    • Agent (G)
    • None
    • 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:

      curl http://web01.example.com:80/

      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.

            Unassigned Unassigned
            tagwolf tagwolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: