Re: [icinga-users] Question about assign rules

2016-09-20 Thread Dirk Roeder
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:

Re: [icinga-users] Question about assign rules

2016-09-19 Thread Michael Friedrich
> 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

[icinga-users] Question about assign rules

2016-09-18 Thread Dirk Roeder
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