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

[WIP] Feature/notification rework #7236

Closed
wants to merge 9 commits into from
Closed

Conversation

Crunsher
Copy link
Contributor

@Crunsher Crunsher commented Jun 6, 2019

This is an attempt in rewriting the NotificationComponent and aims to squash multiple issues we have with the current implementation.
The first step was adding a Scheduler for ReNotifications similar to that used in the CHeckerComponent.

In its current state this PR works, except for one or two Notifications Types, like the current one. The next Task is to find a solution for guaranteeing the execution of Notifications in a HA setup, moving more Notification related code from the lib/icinga to the NotificationComponent and writing Unit Tests.

refs #7161

Note: I rebased this on the master, squashing and reordering commits. It currently does not work.

@Crunsher Crunsher added area/notifications Notification events enhancement New feature or request labels Jun 6, 2019
@dnsmichi
Copy link
Contributor

dnsmichi commented Jun 6, 2019

Please also add function header docs which allows to better understand the purpose.

@dnsmichi
Copy link
Contributor

Please update the current status, and provide a list of open TODOs.

@Crunsher
Copy link
Contributor Author

Currently the Component is in a state where a lot works and a lot dosen't. A few things are unclear yet but right now I'll be focusing on UnitTests.

TODOs:

  • Clear up certain Notification interactions
  • Downtimes currently do weird things
  • Restart behaviour
  • HA still is unsolved
  • I started moving more notification functionality into NotificationComponent, ongoing
  • Tests, getting the NotificationComponent to run with Unittests is my top priority right now

@Crunsher
Copy link
Contributor Author

Update: Currently Problem, Recovery, Downtime and Flapping notifications work as far as I can tell. There is an issue with Acknowledgements and Custom Notifications are still TODO.

@dnsmichi dnsmichi added the stalled Blocked or not relevant yet label Jul 2, 2019
@dnsmichi
Copy link
Contributor

This didn't go as planned, unfortunately I have to remove this.

@dnsmichi dnsmichi closed this Aug 29, 2019
@dnsmichi dnsmichi deleted the feature/notification-rework branch August 29, 2019 09:33
@dnsmichi dnsmichi removed the stalled Blocked or not relevant yet label Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/notifications Notification events enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants