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

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

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.36
    • 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.

            zabbix.dev Zabbix Development Team
            akotsegubov Aleksandr Kotsegubov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: