Ad Widget

Collapse

Is it possible to move Host created by Host Prototype to a Host Groups with Macros?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Felix Schäfer
    Junior Member
    • Mar 2021
    • 4

    #1

    Is it possible to move Host created by Host Prototype to a Host Groups with Macros?

    Hello,
    We have a scenario were we monitor system of AWS services, that we discover with LLD rules.
    For example we have a discovery rule to find every load balander and create one host per load balancer with a host prototype. That works fine.
    The problems starts when we want to start to monitor multiple environments like dev, staging and prod in the same zabbix.
    We can name the hosts and items with a LLD macro that contains the environment type.
    But we want to group the discovered "service hosts" by environment.
    If we habe only one discovery rule for hosts in every environment by using a group prototype containing the LLD macro.
    But if we also monitor DB clusters with the dame mechanism it is impossible to add every discovered host to the group "aws-system/{#ENVTYPE}" as this group will be managed by the discovery rule, that runs first and the othe one ignores this group prototype.

    I don't find a way to group hosts that were created by LLD in a group that is defined by a variable/macro that includes multiple discovery rules.

    It ist also not possible to group these LLD hosts manually after creation or use an triggered action of some type to add these hosts to groups.

    Has anyone dealed with such a configuration before an found a solution?

    I hope that scenario is not too specific.
  • Alexander2701
    Junior Member
    • Jan 2024
    • 1

    #2
    Finally I found a post about this exact problem, only to find no answers. Did you manage to find a solution for this yet?

    Comment

    Working...