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

Group prototype rename failing with: group with the same name already exists

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 5.4.3
    • Server (S)
    • None

      Steps to reproduce:

      1. Go to a Host prototype > Group tab
      2. Specify a group prototype, such as using a macro that is unique to that host which will be created, eg. {#DISCOVERED_HOST}
      3. Wait for discovery rule to apply this change, or manually execute it
      4. Now change that group prototype so that it is no longer unique per discovered host, but rather a host group per host from which the discovery rule is executed. eg. {#PARENT}

        /

        {#ZABBIX_GROUP}

      Result:
      See attached screenshots for the configuration and error.

      Expected:
      Zabbix should be able to add discovered hosts to a host group that was created by a discovery rule.

      Please take note that:
      If I delete the initial Group prototype, execute the discovery rule, and then add the same discovery rule back again, Zabbix successfully adds the discovered hosts to that host group.

      Secondly, it should be noted that this is not the same issue as in ZBX-15012, because I am not trying to add discovered hosts to an existing & manually created host group.

        1. zabbix-lld-host-group-prototype-config.png
          zabbix-lld-host-group-prototype-config.png
          17 kB
        2. zabbix-lld-host-group-prototype-error.png
          zabbix-lld-host-group-prototype-error.png
          95 kB
        3. Discovery rule.png
          Discovery rule.png
          20 kB
        4. Host prototype groups.png
          Host prototype groups.png
          19 kB
        5. Host prototype.png
          Host prototype.png
          19 kB
        6. LLD answer.png
          LLD answer.png
          6 kB
        7. Host.png
          Host.png
          28 kB

            zabbix.dev Zabbix Development Team
            pada Chris Kistner
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: