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

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      Zabbix Server and Agent 2.4, Ubuntu Linux 14.04

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tagwolf David Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: