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

host.create returns permissions error

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 1.8.4
    • 1.8.4rc2
    • API (A)
    • None

      host.create returns a permissions error:

      Sending: {"auth":"83e34afe39d0ba2d4e9591b865923e58","id":2,"method":"host.create","params":{"groups":[

      {"groupid":2}

      ],"useip":0,"port":10050,"host":"servername","dns":"host.dom","proxy_hostid":0},"jsonrpc":"2.0"}
      Response Code: 200
      Response Body: {"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"[ CHost::massAdd ] You do not have enough rights for operation"}

      ,"id":2}

      The user is a standard user with read/write permission to the Linux Servers group (groupid 2). This call works in 1.8.3 (API 1.3).

      This is similar to ZBX-1955 and ZBX-1852.

            Unassigned Unassigned
            redtux nelsonab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: