Skip to content
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

Support dependencies #434

Open
Tontonitch opened this issue Jan 25, 2024 · 2 comments
Open

Support dependencies #434

Tontonitch opened this issue Jan 25, 2024 · 2 comments
Labels
enhancement New feature or improvement

Comments

@Tontonitch
Copy link

Currently, the module does not handle well an icinga2 configuration including the config part at https://icinga.com/docs/icinga-2/latest/doc/03-monitoring-basics/#implicit-dependencies-for-services-on-host:

apply Dependency "disable-host-service-checks" to Service {
  disable_checks = true
  assign where true
}

The configuration above disables service checks for hosts identified as DOWN (HARD state).
Consequently, a service may still be considered OK if it has not been tested sufficiently to change its status to WARNING/CRITICAL/UNKNOWN HARD before the host changes to DOWN HARD.

To support that configuration, the Business Process module would need to check also the status of the host on which the service is configured: a BP node of type Service must first check the status of the related Host and if DOWN the Service node must return a CRITICAL.

@nilmerg
Copy link
Member

nilmerg commented Jan 26, 2024

The implicit dependency does not disable checks and in that case the process node becomes whatever the check results reports.

You've defined an explicit dependency, and now we are in the general dependency support ballpark.

@nilmerg nilmerg changed the title Support of implicit dependencies for services on down hosts Support dependencies Jan 26, 2024
@nilmerg nilmerg added the enhancement New feature or improvement label Jan 26, 2024
@Tontonitch
Copy link
Author

Correct, thanks for the title change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants