Hello Michi,
That sort of requires a more complex expression. While you could use the “in”
operator this would just work for exact string matches. The better approach is
to write your own global function which provides such a functionality.
A similar example with templates can be found here:
> On 18 Sep 2016, at 18:50, Dirk Roeder wrote:
>
> Hello together,
>
> I'm right now migration our Icinga1 configuration for the new format and I'm
> wondering if there is the possibilty of combining match rules with Arrays:
>
> object Host "hostnameX" {
> [...]
> groups
Hello together,
I'm right now migration our Icinga1 configuration for the new format and
I'm wondering if there is the possibilty of combining match rules with
Arrays:
object Host "hostnameX" {
[...]
groups = ["application_server", "centos_customer"]
}
object Host