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

Failed to update a zabbix_proxy

    XMLWordPrintable

Details

    • Problem report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • zabbix 4.0.27
      zabbix 5.0.6

    Description

      SUMMARY

      I tried to update an zabbix_proxy was failed after I created a zabbix_proxy via API, and the following error occurred.

      zabbix_api.ZabbixAPIException: ('Error -32500: Application error., Unknown interface type. while sending {"jsonrpc": "2.0", "method": "proxy.update", "params": {"proxyid": "10271", "status": "5"}, "auth": "253fc1ac25467ddff615265e8c1789f6", "id": 1}', -32500)
      

      ERROR OCCURS VERSION

      As far as I'm confirming the error occurred in the following version.

      • 4.0.27
      • 5.0.6

      The above version less than hasn't occurred the error.

      STEPS TO REPRODUCE

      I executed the following params using zabbix-api library to create a zabbix_proxy.

          r = zapi.proxy.create({
              'host': 'ExampleProxy',
              'status': '6',
              'dns': '',
              'interface': {
                  'ip': '',
                  'dns': 'hoge.com',
                  'useip': '0',
                  'port': '10051'
              }
          })
      

      I tried to execute the following params to update a zabbix_proxy failed.

          r = zapi.proxy.update({
                  'proxyid': '10271',
                  'status': '5',
          })
      

      Is this thing bug?

      Attachments

        Activity

          People

            neogan Andrei Gushchin
            sky_jokerxx sky_jokerxx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: