Ad Widget

Collapse

Add instead of create for group prototype in host prototype?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JulioQc
    Junior Member
    • Dec 2018
    • 28

    #1

    Add instead of create for group prototype in host prototype?

    Regarding:

    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.
    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.
    Click image for larger version

Name:	zabbix_group_proto.png
Views:	332
Size:	168.2 KB
ID:	486966

Working...