ZabbixAPI import configuration with error

XMLWordPrintable

    • Type: Problem report
    • Resolution: Incomplete
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      Steps to reproduce:

      1. Create host
      2. Create discovery rule with host prototype  
      3. Export configuration via ZabbixAPI (pyzabbix)
      4. Import configuration on other zabbix via ZabbixAPI with all 'True' rules :
      do_request('configuration.import', { 
      "format": "xml",
      "rules": {
                      "groups": {
                          "createMissing": True
                      },
                      "templates": {
                          "createMissing": True,
                          "updateExisting": True
                      }
                     ....
      

       

      Result:

      If other zabbix already has host with discovery rule :

      ERROR:root:Exception occurred during process ('Error -32500: Application error., No permissions to referred object or it does not exist!', -32500)
      

      Expected:
      Configuration import to host complete successfully

       

            Assignee:
            Unassigned
            Reporter:
            Aleksei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: