New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #12025] Apply rule in zone affects other zones #4315
Comments
Updated by snoopy1978 on 2016-06-28 09:07:56 +00:00 Hi everyone, I can confirm this issue Alex described. I have exactly the same behaviour. Greetings |
Updated by tgelf on 2016-07-20 18:54:09 +00:00 Just for the records: my personal conclusion in the mentioned thread was that the current behaviour is simply wrong, while what the documentation states mirrors the expected behaviour. Anybody with concerns regarding compatibility should please provide a real-world scenario where the current implementation would be of real use. If such an example is not possible chances are more than good that nobody is able to use it anyway, at least not without one of the mentioned workarounds. And those would not be broken by fixing this. Cheers, |
Updated by mfriedrich on 2016-07-25 08:46:36 +00:00
|
Updated by mfriedrich on 2016-07-25 14:36:53 +00:00
We'll discuss a possible implementation and behaviour tests in the next couple of weeks. Unfortunately this won't be added to the 2.5 release due to its freeze time. The referenced documentation issue helps others to understand the possible workaround. Notes:
|
Updated by mfriedrich on 2016-07-25 14:37:48 +00:00
|
There are no plans to support this. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12025
Created by alexbs on 2016-06-23 08:05:16 +00:00
Assignee: mfriedrich
Status: Assigned
Target Version: Backlog
Last Update: 2016-07-25 14:36:53 +00:00 (in Redmine)
Hi everyone,
while configuring an Icinga2 distributed setup with multiple zones we found the following bug:
Setup:
Expected behavior for apply rules:
this rule should only effect objects (Hosts) also defined inside this configurationfolder (zone)
Real behavior:
apply Service "MYping4" {
import "generic-service"
check_command = "ping4"
assign where host.address
}
ALL Hosts with an address from all Zones get this service assigned.
As workaround you can use 'assign where ( host.zone=="satellite")' but this is kind of dirty.
This bug was was allready discussed in the following german forum:
https://monitoring-portal.org/index.php?thread/36515-zonen-werden-bei-services-ignoriert/
kind regards
Alex
Relations:
The text was updated successfully, but these errors were encountered: