Most modern web browsers like Mozilla Firefox, Google Chrome and Microsoft Edge provide a Notification API.
openITCOCKPIT can use this API to send host and services alerts to your browser.
Push notifications to browserneeds to be enabled in contact configuration
push_notification.serviceservice needs to be running on the openITCOCKPIT server
Before openITCOCKPIT can send push notifications to your web browser, you need to manually grant permissions. This is a security feature of all browsers, to avoid that random websites will send you spam messages. You can always grant or revoke the notification permission whenever you want.
In this example, we show the process using Mozilla Firefox.
Click on the notification icon in the browser address bar and press "Allow notifications"
Push notifications to browserin your contact configuration.
To recive push notifications, you need to link your user account with a contact of the monitoring engine. By default, all contacts don't belong to any user that exists in the openITCOCKPIT interface.
Go to Objects Contacts and select the contact you want to enable Browser push notifications for.
Assign your user to the contact and pick the checkboxes for
Push notifications to browser
service-notify-by-browser-notificationwill be selected automatically.
You can also combine different notification commands like notify by email and browser notifications etc.
After you edited the contact, please make sure to Refresh monitoring configuration.
Every notification will container an icon for host or services. The current state is represented by the color of the icon. By clicking on the notification, a new browser tab will navigate you to the corresponding host or service. The notification will disappear automatically after a few seconds.
Notice: The notification design is provided by the operating system. Notifications may be look different on different operating systems. There is no way to use a different style for the notifications.
Try to reload the page: Ctrl + R or Cmd + R
Connectivity issues. If your browser lost connection to the openITCOCKPIT server, it could happen that you will not receive push notifications. Refresh the page to resolve the issue.
push_notification service not running. This background daemon needs to be up and running. Also your web server configuration
or reverse proxy configuration could be cause an issue.
You can check the developer tools of your browser, to check if there is a connectivity issue:
push_notification not running):
push_notification service is not running, the debug page of openITCOCKPIT and the System health overview will show a warning.
Some applications may suppress browser notifications. We notice this behavior on Microsoft Windows 7 in combination with
A refresh of the openITCOCKPIT page resolved the issue.
macOS maybe running in Do Not Disturb mode. This could also automatically happen if you connect a projector or TV screen.
Too many notifications could also result in a suppressing issue. Try to reduce the amount of receive push notifications.
Check if an update for your web browser is available.
Does the notifications work in Internet Explorer? No.
© 2020 it-novum GmbH - All Rights Reserved