-
Notifications
You must be signed in to change notification settings - Fork 334
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
Fix #1825 : BP rules: take into account acknowledgements and downtime #1837
base: master
Are you sure you want to change the base?
Conversation
I'm looking forward for this feature. What about treating downtimes as OK too? As there is |
@tomasz-kuzemko One might expect that in combination with business_rule_ack_as_ok it will also be treated as OK... But no, it does not work. |
I just made a quick test for treating downtime as OK too. For As I understand, and after looking quickly at the code, this parameter is used only on the step to determine if a notification must be sent or not (and in this case, with this parameter, the host/service in downtime has the same behaviour as if it was acknowledged) Anyway, this features could make the object of another pull request/issue |
In my opinion, there are 2 different aspects.
Those 2 different ways to approach business rules state and notifications processing should be clearly identified through the configuration options, and in the code. |
Add two parameters for a BP rule deactivate by default : business_rule_ack_as_ok and business_rule_downtime_as_ok
If activate, we treat host/service acknowledged/in downtime as if they are Up/Ok for the evaluation of the bp rule