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

Forbid user from deleting interface on parent host when there are discovered hosts with items that depend on that interface

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Won't fix
    • None
    • None
    • Frontend (F)
    • None

    Description

      Follow the instructions mentioned in ZBX-18386 but assign a template to the host prototype.
      Result is that when interface gets removed from the parent host - the discovered host keeps the interface with the warning like:

      Cannot delete "SNMP" interface on host "hostprototypeeth0": the interface is used by items.

      This is a problem since the parent and discovered hosts now have inconsistent interfaces. It looks reasonable to forbid user from deleting such interface on parent host in the front-end and warn a user about dependencies.

      Similar scenario includes writing a triggers that checks an item from another host. If that host is deleted - trigger is deleted as well (without any warning it seems). There should be at least a warning in such case.

      Attachments

        Issue Links

          Activity

            People

              zabbix.dev Zabbix Development Team
              arimdjonoks Artjoms Rimdjonoks
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: