Jump to content

RMS Alerts & Automations

From Teltonika Networks Wiki
Revision as of 14:58, 25 March 2025 by TautvydasV (talk | contribs) (Created page with "__TOC__ ==Summary== Alerts & Automation is a feature that lets you automate specific actions based on trigger conditions. It is similar to our previous solution RMS Alerts, however, it is much more powerfull. ==Overview== It is located under the Management section. border|class=tlt-border ===Main window=== border|class=tlt-border #Create a new template, delete ex...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Main Page > IoT Platforms > RMS > RMS Manual > RMS Management > RMS Alerts & Automations

Summary

Alerts & Automation is a feature that lets you automate specific actions based on trigger conditions. It is similar to our previous solution RMS Alerts, however, it is much more powerfull.

Overview

It is located under the Management section.

Main window

  1. Create a new template, delete existing ones, enable/disable multiple templates.
  2. Filter the list by company.
  3. Search through your templates by their names, descriptions, or companies.
  4. View specific template details and edit the template.
  5. Change table settings and refresh data.
  6. Enable/Disable a specific template.

Creating a new template

The Alerts & Automations form consists of these main elements:

  1. Name of the template.
  2. Description.
  3. RMS company that will be able to use this template.
  4. A monitoring template (group of parameters) used by this Alerts & Automations instance.
  5. Enable cooldown and/or delay. Cooldown waits to execute further actions after the first/main IF condition is triggered. Delay will wait for multiple main IF condition triggers.
  6. The main condition section which triggers an action.
  7. Condition parameter (you can view more details about the parameter by hovering on the info icon)
  8. Equality operator.
  9. Chosen value on which the action below will be triggered.
  10. Actions that will be executed once the condition is met.
  11. Add a level 2 sub-condition (you can have up to level 3 sub-conditions).

Main condition

  1. You can pair multiple condition parameters by clicking on + icon.
  2. The additional conditions will be paired using AND, and OR. Each IF/ELSE IF/ELSE block can have up to 4 conditions.
  3. Add an additional IF/ELSE IF/ELSE block to the template.

Template details

To view a specific template's details, click on a icon.

  1. Enable/disable the template.
  2. Shows how many devices have this template applied to them.
  3. Shows how many times the template action was triggered in the 24h period.
  4. Shows how many times the template action was triggered in total.
  5. Switch between Devices and Logs tabs.
  6. Apply this template to multiple devices, enter the template edit window.
  7. Search for devices by their serial numbers/MAC addresses in the list.
  8. Go to that device's details or filter template action logs for this device.
  9. Enable template on this device (when the template is applied on the device, it needs to be enabled on it too).
  10. Change table settings and refresh data.

Examples

Getting informed when the device's temperature is high

If you'd like to get notified when the device's temperature reaches high levels, you can create this kind of template:

  1. Go to the main Alerts & Automations menu.
  2. Press on the Actions button and select Create Automation
  3. Set your desired instance name. For example, device temperature alert.
  4. Select which RMS company will be able to use this template.
  5. Set Monitoring templates to Dynamic monitoring.
  6. Go to the IF block and select the Temperature parameter
  7. Set the operator to
  8. Set the parameter value to 70 or any other temperature value you want.
  9. Select a desired action. For example, let's select Send notification. This will send a push notification to the RMS web page.
  10. Set the alert's message. For example: ALERT %rn% temperature reached %temperature%%nl%Time stamp - %ts% ALERT
  11. Select the RMS user which will receive the push notification.
  12. Lastly, press Save to create the template.

In this example, the template looks like this:

Now we will need to assign this new template those devices we want to monitor.

  1. Go to the main Alerts & Automations menu.
  2. Click on a icon to open the template's details menu.
  3. Press on the Actions button and select + Add devices
  4. In the popup window, select the device you would like to monitor.

Note: After you select the devices, RMS should automatically enable the template itself and the monitoring of those devices. However, double-check if that is the case.

After a device reaches the set temperature, we should receive a notification in the RMS web page:

The frequency of alerts is dictated by the update frequency of the monitoring template. In this case, our alert is using the "Dynamic monitoring" template. This means the alert frequency is the same as the update period for "Dynamic monitoring" metrics. By default, "Dynamic monitoring" information updates every 5 minutes.