Apply rules for agents

I’m trying to figure out how to set an apply rule for a service set to “all hosts with the group linux that are agents” but that agent flag doesn’t seem available there …
Anything i missed?

Hi @fireba11

I solved this via host templates. Every agent host imports an “agent-host” template which sets the “Icinga2 Agent” attribute to “true”.
grafik

Does this help?

Kind regards

1 Like

Hi, i tried using that but it didn’t work … will give it another go.