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

API allows create 'ghost' host that is not shown in webinterface, but assigned to group and therefore group can not be deleted

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 2.0.2
    • API (A)
    • Linux, Debian wheezy

      When creating new template via API, and I add existing group but add host that does not exists. API create a template and seems also create a new host instead of error message that host doesn't exists.
      This behavior leads to problems in web interface, when template is deleted and I want to delete group, even no other host is assigned to group system refuse delete group because it thinks that it is assigned to host, how ever in the details of group it is not shown to be assigned to any host. So it seems it is assigned to "ghost" host created by API when template was created with non existing host, and the host is not displayed in web interface at all.

            Unassigned Unassigned
            ricco Richard Kellner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: