Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #9554] Don't allow "ignore where" for groups when there's no "assign where" #3120
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9554
Created by penyilas on 2015-07-03 11:14:21 +00:00
Here's my simple setup:
I'd like to exclude non production hosts' services from servicegroup, but it's not working...
I'm using icinga2-2.3.5-1.el7.centos.x86_64 (CentOS7)
2015-07-16 11:56:12 +00:00 by (unknown) 51d0e71
2015-07-20 06:52:35 +00:00 by (unknown) 92aa963
Updated by mfriedrich on 2015-07-09 08:44:51 +00:00
You are explicitely assigning the service group membership in your service apply rule with
The service group ignore where rule does not have any effect for explicitly assigned group memberships.
We should probably add a warning when an 'ignore where' expression misses an 'assign where' expression before.
Updated by penyilas on 2015-07-13 17:22:49 +00:00
Updated by mfriedrich on 2015-07-16 11:55:45 +00:00
Take that as a test config from #9535, slightly modified.
With an applied fix.