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

Maintenance handling of empty hostgroups

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.0.4
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Environment:
      Actually tested on 2.4, but I have confirmation from people on IRC that it is the same behaviour for 3.0.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: