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

If SourceIP= is set to IPv4 in /etc/zabbix/zabbix_proxy.conf, the curl should called with -4 flag.

XMLWordPrintable

    • Icon: Patch request Patch request
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 4.2.1
    • Proxy (P)
    • None
    • - Zabbix Proxy with IPv4/IPv6 on its interface.
      - SourceIP= set to IPv4 in /etc/zabbix/zabbix_proxy.conf
      - Web-Checks n Zabbix are used to check a site which has both IPv4/IPv6
    • Team A
    • Sprint 52 (May 2019), Sprint 53 (Jun 2019)

      Steps to reproduce:

      1. Zabbix Proxy with IPv4/IPv6 on its interface.
      2. SourceIP= set to IPv4 in /etc/zabbix/zabbix_proxy.conf
      3. Web-Checks n Zabbix are used to check a site which has both IPv4/IPv6

      Result:

      1. curl --interface 1.2.3.4 -I https://example.net/
        curl: (45) bind failed with errno 22: Invalid argument

      Expected:

      1. curl --interface 1.2.3.4 -4 -I https://example.net/
        HTTP/1.1 200 OK
        Server: nginx
        ....

      Possible solution:

      If `SourceIP=` is set to `IPv4` in `/etc/zabbix/zabbix_proxy.conf`, the curl should called with `-4` flag.

      Regards,
      Alex.

            viktors.tjarve Viktors Tjarve
            zeiter Alex Grebenschikov
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: