Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-15865

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

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 4.0.5
    • Server (S)
    • None
    • 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.

            ArtursL Arturs Lontons
            uosiu Krzysztof Hajdamowicz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: