Error on proxy page with empty ip/dns and port fields in Zabbix 6.0

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Trivial
    • None
    • Affects Version/s: 6.0.36
    • Component/s: API (A), Frontend (F)
    • None

      This error only applies to Zabbix 6.0!

      Steps to reproduce:

      1. Create proxy with active mode.
      2. Change only proxy mode to the passive through API without specifying interface params.
      {    
          "jsonrpc": "2.0",
          "method": "proxy.update",
          "params": {
              "status": "6",
              "proxyid": "11085"
          },
          "auth": "c36231fe6...",
          "id": 2
      } 

          3. Open proxy setting in webui.

      Result:
      Error like on screenshot. API doesn't check that interface params are mandatory for passive proxy mode. API doesn't return any error.
      Expected:
      Error from API when trying to change proxy mode without specifying required interface parameters.

            Assignee:
            Zabbix Development Team
            Reporter:
            Aleksandr Kotsegubov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: