IoT Open Tech
Home
  • Platform
  • Modules
  • Devices
Guides
Changelog
  • English
  • Svenska
Home
  • Platform
  • Modules
  • Devices
Guides
Changelog
  • English
  • Svenska
  • Module types
  • Integrations

    • Assistant Integration
    • OP5 Monitor Integration
    • Pricer Integration
    • Vitec Exporter
    • Zabbix Agent Plugin
  • Managers

    • LoRa Manager
    • Trafficweb Manager
    • Z-Wave Manager
    • Xovis Manager
  • Internal

    • CoAP Receiver
    • Gateway Monitor
    • Metric Monitor
    • Metric Notifier
    • Public Data API
    • Scheduler

Metric Notifier

This integration can be used together with the Metric Monitor to send notifications when status of the monitored devices and functions changes.

The integration listens for the events emitted by the Metric Monitor and reads meta-data information to know how and if to send notifications to the user.

Configuration

Configuration of the notification can be done with the following keys. The keys can be used on functions, devices, installations and organizations. However, they will always use the following priority:

  1. Function/Device (depending on object triggering)
  2. Installation
  3. Organization

There are two options described below to specify notifications. Either using plain email or using existing notification outputs in the platform.

metric_notify.emails

This meta-key can specify a comma-separated list of email-addresses that should receive the notification. The email will contain a pre-formatted message with some data in it.

metric_notify.notification_outputs

This meta-key can specify one or several notification outputs to be sent. The notification message template gets injected with the following data and can be used in the template to enrich the message (see more here):

Please note that notification_outputs cannot be used on organization level.

Var nameDescription
.payload.InstallationIDID of the installation
.payload.ObjectTypeDevice or Function
.payload.ObjectIDID of the object
.payload.TimestampTime the monitor event was emitted
.payload.InstallationThe installation object
.payload.OrganizationThe organization of the installation
.payload.StatusThe monitor status number
.payload.StatusTextThe monitor status as text
.payload.DeviceThe device object (if ObjectType is device)
.payload.FunctionThe function object (if ObjectType is function)
Last updated:
Prev
Metric Monitor
Next
Public Data API