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

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

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.2.2
    • Agent (G)

      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.

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

              Created:
              Updated:
              Resolved: