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

error when creating a host

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 2.0.2
    • API (A)

      Use when creating php.

      Create a group of normal.

      When you create a host fails:

      error: Array ( [code] => -32500 [message] => Application error. [data] => No permissions to referred object or it does not exist! [debug] => Array ( [0] => Array ( [file] => /www/htdocs//api/classes/CHost.php [line] => 1322 [function] => exception [class] => CZBXAPI [type] => :: [args] => Array ( [0] => 120 [1] => No permissions to referred object or it does not exist! ) ) [1] => Array ( [file] => /www/htdocs//api/classes/CHost.php [line] => 1474 [function] => checkInput [class] => CHost [type] => -> [args] => Array ( [0] => Array ( [0] => Array ( [host] => test_pi [name] => test_pi [interfaces] => Array ( [ip] => 10.102.100.64 [useip] => 1 [main] => 1 [port] => 10050 [dns] => 0 [useipmi] => 0 [type] => 1 ) [status] => 0 [groups] => Array ( [groupid] => 181 ) ) ) [1] => create ) ) [2] => Array ( [function] => create [class] => CHost [type] => -> [args] => Array ( [0] => Array ( [host] => test_pi [name] => test_pi [interfaces] => Array ( [ip] => 10.102.100.64 [useip] => 1 [main] => 1 [port] => 10050 [dns] => 0 [useipmi] => 0 [type] => 1 ) [status] => 0 [groups] => Array ( [groupid] => 181 ) ) ) ) [3] => Array ( [file] => /www/htdocs//api/rpc/class.czbxrpc.php [line] => 106 [function] => call_user_func [args] => Array ( [0] => Array ( [0] => Array ( ) [1] => create ) [1] => Array ( [host] => test_pi [name] => test_pi [interfaces] => Array ( [ip] => 10.102.100.64 [useip] => 1 [main] => 1 [port] => 10050 [dns] => 0 [useipmi] => 0 [type] => 1 ) [status] => 0 [groups] => Array ( [groupid] => 181 ) ) ) ) [4] => Array ( [file] => /www/htdocs/zabbix3.elt/api/rpc/class.czbxrpc.php [line] => 64 [function] => callAPI [class] => czbxrpc [type] => :: [args] => Array ( [0] => host.create [1] => Array ( [host] => test_pi [name] => test_pi [interfaces] => Array ( [ip] => 10.102.100.64 [useip] => 1 [main] => 1 [port] => 10050 [dns] => 0 [useipmi] => 0 [type] => 1 ) [status] => 0 [groups] => Array ( [groupid] => 181 ) ) ) ) [5] => Array ( [file] => /www/htdocs//api/rpc/class.cjsonrpc.php [line] => 66 [function] => call [class] => czbxrpc [type] => :: [args] => Array ( [0] => host.create [1] => Array ( [host] => test_pi [name] => test_pi [interfaces] => Array ( [ip] => 10.102.100.64 [useip] => 1 [main] => 1 [port] => 10050 [dns] => 0 [useipmi] => 0 [type] => 1 ) [status] => 0 [groups] => Array ( [groupid] => 181 ) ) [2] => 6be8ca67466a7caba51757f90083590b ) ) [6] => Array ( [file] => /www/htdocs/*/api_jsonrpc.php [line] => 54 [function] => execute [class] => CJSONrpc [type] => -> [args] => Array ( ) ) ) )

      Set super admin rights. It did not help

            Unassigned Unassigned
            pankiniu Pankin Ivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: