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

host.create returns permissions error

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4rc2
    • Fix Version/s: 1.8.4
    • Component/s: API (A)
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: