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

API host.update bug when using doubledigit groupid

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.2, 2.0.4
    • None
    • API (A)
    • None
    • Centos 5.8

    Description

      When using API to update the hosts hostgroup

      {
      "jsonrpc": "2.0",
      "method": "host.update",
      "params": {
      "hostid": "10137",
      "groups":

      {"groupid": "10"}

      },
      "auth": "xxxxxxxxxxxxxxxxxx",
      "id": 1
      }

      It works great with singledigit groupid's but doesnt work with doubledigit group ids.

      Doubledigit request response is:

      {
      "jsonrpc": "2.0",
      "error":

      { "code": -32500, "message": "Application error.", "data": "No permissions to referred object or it does not exist!" }

      ,-
      "id": 1
      }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              denyboy Kreso Denis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: