Regarding:
From: https://www.zabbix.com/documentation...ost_prototypes
Is it anyhow possible to add to existing host groups when discovered host group matches the name?
To give some context I'm using VMware discovery template and discovers two VMware clusters, named say CITY01 and CITY02, which match existing host groups in my Zabbix. So depending on the cluster name (therefore geo location) I wish to add to host group depending on the discovered cluster name. Cluster CITY01 would be added to host group CITY01 and such for 02. Now it doesn't work because group prototype tries to create those groups that already exist. And I cant use standard host group since group depends on what is discovered.

Allows specifying host group prototypes by using low-level discovery macros.
Based on the specified group prototypes, host groups will be discovered, created and linked to the created hosts; discovered groups that have already been created by other low-level discovery rules will also be linked to the created hosts. However, discovered host groups that match manually created host groups will not be linked to the created hosts.
Based on the specified group prototypes, host groups will be discovered, created and linked to the created hosts; discovered groups that have already been created by other low-level discovery rules will also be linked to the created hosts. However, discovered host groups that match manually created host groups will not be linked to the created hosts.
Is it anyhow possible to add to existing host groups when discovered host group matches the name?
To give some context I'm using VMware discovery template and discovers two VMware clusters, named say CITY01 and CITY02, which match existing host groups in my Zabbix. So depending on the cluster name (therefore geo location) I wish to add to host group depending on the discovered cluster name. Cluster CITY01 would be added to host group CITY01 and such for 02. Now it doesn't work because group prototype tries to create those groups that already exist. And I cant use standard host group since group depends on what is discovered.