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

suppress only normal notifications from service parents #446

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

sni
Copy link
Contributor

@sni sni commented Jan 25, 2024

This change makes service parents work more like service dependencies. Previously service parents simply dropped all notifications which leads to some issues:

  • if a service goes down, sends a notification but comes up before the parent, no recover will be sent
  • forced notifications, downtimes etc won't send a notification

With this change only "normal" notifications will be suppressed if all parents are down. But the following notifications will still be sent:

  • custom notifications
  • acknowlegements
  • flapping alerts
  • downtime alerts

This change makes service parents work more like service dependencies. Previously
service parents simply dropped all notifications which leads to some issues:

- if a service goes down, sends a notification but comes up before the parent, no recover will be sent
- forced notifications, downtimes etc won't send a notification

With this change only "normal" notifications will be suppressed if all parents are down. But the following
notifications will still be sent:

- custom notifications
- acknowlegements
- flapping alerts
- downtime alerts

Signed-off-by: Sven Nierlein <[email protected]>
@sni sni merged commit f01483f into naemon:master Jan 31, 2024
26 checks passed
@sni sni deleted the service_parents branch February 9, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants