Requirements
- NervesHub 2.5.0 or later. The notification for failing connecting code needs 2.5.1 or later.
- Any member can read a product’s notifications. Dismissing needs the
product:notifications:dismisspermission, which the built-in Manage and Admin roles hold. See Roles. - The Notifications page is closed to members whose custom role is limited to devices with certain tags.
Read notifications
In your product, select Notifications. The sidebar link shows how many there are. The three most recent also show on the product’s Insights page. Each notification is a card with a level, a title, a message, and when it last happened. Filter by level with the All, Errors, Warnings, and Info tabs. The page updates as notifications arrive. Two things keep the list short:- A notification that happens again does not make a second card. Its count goes up and its time moves forward.
- Kinds that are raised per device are rolled up into one card per kind. Open the card to see each device, how many times it happened, and when it last did.
Dismiss notifications
Select Dismiss on a card to remove it. A rolled-up card can dismiss one device or all of its devices. Dismiss all removes every notification on the product, at every level. Dismissing removes the notification for everyone. If what it was about happens again, it comes back as a new notification. A halted deployment workflow has no dismiss button and is marked Clears itself. It goes when the step is approved, retried, or skipped. A duplicate identifier notification also clears on its own once a device with that identifier connects.What NervesHub raises
Webhooks and chat channels belong to the organization. When one is turned off, each product it was sending events for gets the notification.
Send notifications to a chat channel
Slack, Teams, and Discord channels can subscribe to the Product notifications event. NervesHub then posts each new notification to the channel with its title, message, and level. A notification is posted only the first time it happens. Recurrences only raise its count on the Notifications page. A halted deployment workflow raises a product notification and also has its own channel events. A channel subscribed to both hears about it from both. Set this up on the organization’s Integrations page:- Slack, which needs a Slack app configured on the NervesHub instance. See Feature prerequisites.
- Teams
- Discord

