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 #10049] State of dependency is wrong (two parents) #3346
Comments
Updated by mfriedrich on 2015-08-31 13:54:24 +00:00
|
Updated by mfriedrich on 2015-08-31 15:04:01 +00:00
That works as designed - multiple dependencies don't know about each other, and if one of them fails it renders the child unreachable. Your request sounds a lot like multi-parent dependencies combined with a logical "AND". This is discussed in #6871 - please continue over there and suggest your solution/ideas. |
Updated by mfrosch on 2015-09-01 12:51:49 +00:00
|
Updated by mfriedrich on 2015-09-03 16:34:50 +00:00 Coming from #10058, you did not add a small detail - where the host esx1 is supposed to be UP instead of unreachable. Talked with Tom about that in detail. We will continue about that in #10058, sorry for not asking before. I was under the impression that you're talking about multi-parent dependencies and logical AND. |
Updated by tgelf on 2015-09-03 18:25:49 +00:00 @lbetz: you should have mentioned that esx1 used to be up. Saupreiß ;) |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10049
Created by lbetz on 2015-08-31 11:21:58 +00:00
Assignee: (none)
Status: Rejected (closed on 2015-08-31 15:04:01 +00:00)
Target Version: (none)
Last Update: 2015-09-03 18:25:49 +00:00 (in Redmine)
Host esx1 has two parents, core1 and core2.
Object 'esx1.icinga-book.local!core1.icinga-book.local' of type 'Dependency':
% declared in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
__name = "esx1.icinga-book.local!core1.icinga-book.local"
child_host_name = "esx1.icinga-book.local"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
child_service_name = ""
disable_checks = false
disable_notifications = true
ignore_soft_states = true
module = "_etc"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
name = "core1.icinga-book.local"
parent_host_name = "core1.icinga-book.local"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 27:3-27:27
parent_service_name = ""
period = ""
states = null
templates = [ "core1.icinga-book.local" ]
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
type = "Dependency"
vars = null
zone = "master"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
Object 'esx1.icinga-book.local!core2.icinga-book.local' of type 'Dependency':
% declared in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
__name = "esx1.icinga-book.local!core2.icinga-book.local"
child_host_name = "esx1.icinga-book.local"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
child_service_name = ""
disable_checks = false
disable_notifications = true
ignore_soft_states = true
module = "_etc"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
name = "core2.icinga-book.local"
parent_host_name = "core2.icinga-book.local"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 27:3-27:27
parent_service_name = ""
period = ""
states = null
templates = [ "core2.icinga-book.local" ]
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
type = "Dependency"
vars = null
zone = "master"
% = modified in '/etc/icinga2/zones.d/master/hosts.conf', lines 26:1-26:58
Relations:
The text was updated successfully, but these errors were encountered: