-
Notifications
You must be signed in to change notification settings - Fork 578
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
Track effect of an object on dependent children #10158
Comments
I'm not 100% sure what this is asking for. Is this supposed to say whether any of the potentially affected children is actually in a problem state? |
This column says that there may be at least one child that would be in problem state if there is a problem with the parent. |
I still don't get it. A configured dependency does not imply that the child must be in a problem state if the parent is in a problem state. It just says that if both are failed, there's a good chance that one caused the other. Can you provide an example of a dependency structure and how you'd expect that bool to be set? |
I actually do understand that, as the |
This just a simple example. Suppose we have a parent say Now, if Example evaluation of affects_children
|
I guess that should say "reachable" instead? You never mentioned any state of the children. Does this imply that Let me have another shot at trying to rephrase this so that we can see if we think of the same now: Icinga/icingadb-web#1058 doesn't really help me understand either what information this bool should convey to the user in the end. |
Forget child states. (Don't confuse this with reachability!) They're not relevant at all when talking about reachability.
stateDiagram-v2
state if_state <<choice>>
[*] --> affects_children
affects_children --> if_state
if_state --> HideTotal: if n
if_state --> ShowTotal: if y
I don't know what is difficult to understand here. If you need further explanations, we should discuss this in person tomorrow. |
Thank you very much for this extraordinarily helpful flowchart. Unfortunately, it doesn't answer the question why you want to hide the number sometimes. Like there must be something different what makes the boolean different from just checking the number for zero. Like is it supposed to be false if all children are still reachable due to another OK parent in a redundancy group? Is it supposed to be false if the parent is in a WARN state and all dependencies with it as a parent have
So I guess that's a yes for the question I asked:
Does Yonas' comment describe what you're asking for? Otherwise, I have the feeling that the specification might be a bit unclear if multiple persons fail to understand it. Oh and your comment just added a new reason for confusion:
"wherever in the hierarchy" and "direct related dependencies" don't really fit together. |
Sorry, my impression was that I communicate with Icinga professionals. -- I don't think I need to outline the exact behavior of Icinga dependencies here. Ravi included one of them in his example, for clarification. Redundancy groups are of course another one, so are time periods. (surprise!) The bool Can we stop nitpicking now, please? |
|
Is your feature request related to a problem? Please describe.
In Icinga DB Web we'd like to show an indicator in lists showing the number of potentially affected children of a particular host/service. All affected children, i.e. also grandchildren.
Describe the solution you'd like
Icinga must calculate this for each parent during startup. Replace startup with whatever you like, my expectation is just that Icinga does not need to calculate this on every state change.
Though, what I'd like Icinga to calculate on every state change, is whether a parent is responsible for any now unreachable child, wherever in the hierarchy. (Somewhat similar to #10143)
The result should be that in the database the number is available in e.g.
host.affected_children
(uint) andhost_state.affects_children
(bool enum).The text was updated successfully, but these errors were encountered: