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

Maintenance handling of empty hostgroups

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.0.4
    • Frontend (F)
    • Actually tested on 2.4, but I have confirmation from people on IRC that it is the same behaviour for 3.0.

      Handeling of empty hostgroups in maintenance is not consistent.
      Currently, empty groups do not show up as selectable in the maintenance configuration. However:

      1) we create a maintenance on a host group with hosts
      2) we remove the hosts from the hostgroup
      3) opening the maintenance config will not show any groups assigned now.
      4) Pushing 'Change' will throw the error: "At least one host or group should be selected."
      5) If we cancel changes and add a host to the group, the group will now show up again in the maintenance.

      I think the best way to solve this is to actually allow empty groups in maintenance as it is not uncommon to dynamically add and remove hosts from groups.

            Unassigned Unassigned
            qix Raymond Kuiper
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: