Notification channels

How to add channels that notifications can be sent to

Written By Aleksander Bless

Last updated 14 days ago

1. Go to ConfigurationNotification Channels

2. Click Create New Channel

3. Enter a name and select the type 

There are three types of channels you can create 

Email

Email sends alerts and reports to the email address you enter.

SMS

SMS sends alerts to the mobile number you enter. 

This service costs NOK 1 per SMS. 

Webhook

Webhook sends alerts to the specified URL, and the message is sent in JSON format. 

You can also add custom fields; enter the key and value under "Add custom fields." These fields are added to a "custom_fields" array.

Example of what the message looks like:

{ "id": "9da20554-f773-46ea-8210-4296f29dc9a5", "type": "alarm.activated", "data": { "alarm": { "id": 1, "priority": "A", "description": "Datapunkt 123", "triggered_at": "2020-08-18T13:02:57.000000Z", "resolved_at": null, "low_threshold": 10, "high_threshold": 20, "acknowledged": null, "acknowledged_by": null, "acknowledged_message": null, "acknowledged_at": null, "latest_event": { "id": 10, "type": "Alarm", "triggered_on": "Low", "triggered_at": "2020-08-18T13:02:57.000000Z", "value": 4 } }, "custom_fields": [ { "key": "egendefinert_felt", "value": "Bare en test" } ] }}