XMLWordPrintable

    Details

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

      Description

      The following is the output of an attempt to add a host using th API and CLI tool:

      add host host=host dns=test groupids=1
      *Debug(7)* parse_input: add host host=host dns=test groupids=1
      *Debug(6)* params_to_hash: ["host=host", "dns=test", "groupids=1"]
      *Debug(5)* start: Parsed input loop start: {:command=>:addhost, :parameters=>{"groupids"=>"1", "host"=>"host", "dns"=>"test"}}
      *Debug(6)* addhost: Parameters passed in:

      {"groupids"=>"1", "host"=>"host", "dns"=>"test"}

      *Debug(10)* json_obj: json_obj: auth1a8f535c005ac6d0fb34f512e7ec6476id3methodhost.addparamsuseip0groupids1hosthostdnstestjsonrpc2.0
      *Debug(8)* do_request: Sending: {"auth":"1a8f535c005ac6d0fb34f512e7ec6476","id":3,"method":"host.add","params":[

      {"useip":0,"groupids":"1","host":"host","dns":"test"}

      ],"jsonrpc":"2.0"}
      *Debug(8)* do_request: Response Code: 200
      *Debug(8)* do_request: Response Body: {"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"Unknown ZABBIX internal error [CHost]"}

      ,"id":3}
      An error was received from the Zabbix server
      Error code: -32500
      Error message: Application error.
      Error data: Unknown ZABBIX internal error [CHost]

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: