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

When I've got installed with a master node and child node, API host.create and template.create return errorr.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Critical Critical
    • None
    • 1.8.8, 1.8.9, 1.8.10
    • API (A)
    • Amazon linux with MySQL

      I've got installed with a master node and child node.

      host.create returns a permissions error:
      Sending:{"jsonrpc":"2.0","method":"host.create","params":{"host":"test01","ip":"172.16.1.20","port":10050,"useip":1,"groups":[

      {"groupid":100100000000006}

      ],"templates":[

      {"templateid":100100000010047}

      ]},"auth":"0aba21679b09e4347601fa237a56e7c0","id":1}'
      Response Body:{"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"[ CHost::create ] No permissions !"}

      ,"id":1}

      In addition, template.create returns a permissions error:
      Sending:{"auth":"0aba21679b09e4347601fa237a56e7c0","id":1,"method":"template.create","params":{"host":"tmplinux","groups":[

      {"groupid":100100000000001}

      ]},"jsonrpc":"2.0"}'
      Response Body:{"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"[ CTemplate::create ] You do not have permission to perform this operation"}

      ,"id":1}

      The user being used for this request has Zabbix Super Admin privs and has read/write access to the group in question.

      This error occured only at the time of node composition, and this error did not occured with normal composition.

      Is this a bug?
      This is similar to ZBX-1852 and ZBX-1955 and ZBX-3320.

            Unassigned Unassigned
            tysw Tsuyoshi Watanabe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: