Item "HTTP Agent" with "Follow redirects" doesn't follow http→https

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 4.0.5
    • Component/s: Server (S)
    • None
    • Environment:
      Zabbix 4.0.5, CentOS 7

      Steps to reproduce:

      1. Have two servers, one with plain HTTP, second with HTTPS with redirection http→https
      2. In template, create HTTP agent item with GET reuest pointing into http://\{host.conn}/api/some/url
      3. Zabbix works for HTTP server, but doesn't follow 302 http→https

      Configuration is as in screenshot Opera Zdjecie_2019-03-22_175623_zabbix.png

      Result:
      One host collects its' data, other one is left in unsupported state
      Expected:
      I'd like Zabbix to follow 302 redirection and re-request item data using new URL provided by http server.

            Assignee:
            Arturs Lontons
            Reporter:
            Krzysztof Hajdamowicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: