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

Zabbix API 3.4 behaves differently than API 3.2.

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 25, Sprint 26, Sprint 27, Sprint 28
    • Story Points:
      0.5

      Description

      Steps to reproduce:

      1. Changes in configuration...
        After upgrade to version 3.4.4 from 3.2 API calls is not working as they are described in documentation.

      Result:
      Call:

      {"jsonrpc": "2.0", "method": "item.create", "params": {"name": "uhoidla.Summary.Delete","key_": "uhoidla.Summary.Delete", "hostid" :"10254", "description": "Delete / Second", "type": 2, "value_type": 3, "delta": 1, "history":2, "trend":90, "applications": ["1065"], "delay": 60}, "auth": "861486bafe312b8d2cec683cbfc5b9ea", "id": 1}
      

      gives back:

      {
        "jsonrpc": "2.0",
        "error": {
          "code": -32602,
          "message": "Invalid params.",
          "data": "Incorrect value for field \"trapper_hosts\": invalid address range \"\"."
        },
        "id": 1
      }
      

      Expected:
      Acording to documentation, in case of Item Type:2 (trapper), there is no
      need for trapper_hosts value.
      Also I don't like, that in API version 3.4, there is no possibilities to describe value_type . Now this can be done only manually under PreProcessing tab.

        Attachments

          Activity

            People

            • Assignee:
              HunterCRS Alexander Shubin
              Reporter:
              heino Heino Talvik
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: