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

web.page.get[] should support more HTTP features

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.2.2
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:

      Description

      Currently, web.page.get[] and related items work by simply sending the following request to the specified server:

      "GET /%s HTTP/1.1\r\n"
      "Host: %s\r\n"
      "Connection: close\r\n"
      "\r\n"

      Clearly, this does not provide any capabilities of fetching Web pages over HTTPS or using HTTP authentication.

      The format of web.page.get[] is "web.page.get[host,<path>,<port>]". Why don't we make use of cURL and make it "web.page.get[<url>]"? That would make HTTPS and HTTP authentication readily available.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              asaveljevs Aleksandrs Saveljevs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: