Modern browsers support push notifications to notify users of new messages or updated content. The user can allow or disallow browser based notifications for each website.
It would be nice if Icinga Web 2 could send notifications to a user when a host or service has a problem. It should be configurable, depending on the users needs.
If Icinga Web 2 supports this out of the box, users don't need browser extensions for their monitoring.
Origin of the idea: https://medium.com/@valentinog/experimenting-with-the-icinga2-api-and-vuejs-eedcc17853fb
馃槥 No browser based push notifications
馃憤 Add browser based notifications
Hey @flourish86,
Please have look how this could be implemented. No rush on this one though.
Cheers,
Eric
This would be very cool
Yes, this would help me in some situations...
Great idea!
It seems that _zmon_ supports such notifications, it would help indeed.
I've taken a look on this one.
This could be provided and controlled via a Icinga Web 2 plugin, where the user could control and filter, which notifications he wants to receive.
For the notifications themselves there are basically two different approaches.
Local Browser notifications
This is the approach that also _zmon_ takes. Since Icinga Web has to be open in a browser tab background this seems to be practicable on Desktop only.
Remote Push Notifications
This is the one approach that would interesting for mobile. This way notifications are triggered externally from the server and displayed on the device, even if it's in stand by mode. But this would require the use of service workers, which is currently exclusively available in Chrome for Android on mobile (See https://caniuse.com/#feat=serviceworkers).
Probably the only reasonable way to implement push notifications directly on mobile is with separate native mobile apps.
What do you think, would you consider the first approach useful?
Oh man, this would be _fantastic_! +1
This might be possible to implement quite easy with newer browsers (using the Notificion API with HTML5):
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API
Most helpful comment
Oh man, this would be _fantastic_! +1