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

Initial support for Icinga Notifications #27

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oxzi
Copy link
Member

@oxzi oxzi commented Jan 4, 2024

Inspired by the existing code for the Icinga DB, support for Icinga Notifications was added. Thus, there might be some level of code duplication between those two.

The custom Icinga 2 configuration was sourced from the Icinga Notifications repository, but edited to not being parsed as a faulty Go template.


This PR initially was #25, but the remote has changed and it seems like I cannot change a PR's originating branch resp. branch location.

Requires #26 to be merged first.

@oxzi oxzi requested a review from julianbrost January 4, 2024 15:22
@cla-bot cla-bot bot added the cla/signed label Jan 4, 2024
@oxzi oxzi marked this pull request as draft January 4, 2024 15:22
@oxzi oxzi marked this pull request as ready for review January 15, 2024 08:58
@oxzi oxzi marked this pull request as draft January 15, 2024 18:17
@oxzi oxzi force-pushed the icinga-notifications-init branch 2 times, most recently from deedacc to bf2ccd4 Compare January 18, 2024 12:05
@oxzi
Copy link
Member Author

oxzi commented Jan 18, 2024

The foundation of this PR was now rebuild to base on Icinga Notifications environment variable configuration (Icinga/icinga-notifications#148) and to exchange notifications through the webhook channel (Icinga/icinga-notifications#149). Thus, this PR depends on those other two PRs.

Inspired by the existing code for the Icinga DB, support for Icinga
Notifications was added. Thus, there might be some level of code
duplication between those two.

The custom Icinga 2 configuration was sourced from the Icinga
Notifications repository, but edited to not being parsed as a faulty Go
template.

To receive notifications, IcingaNotificationsWebhookReceiver can be used
to launch a host-bound web server to act on Icinga Notification's
Webhook channel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant