Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • type – alarm type:
    • 0 – value has dropped below the threshold
    • 1 – value has exceeded the threshold
  • name – alarm name
  • value – threshold value
  • metric – metric identifier (for example, video bitrate)
  • node – node identifier
  • time – time in milliseconds during which the metric value must be above or below the threshold.

In the example above, an alarm, which is triggered if the video bitrate of the stream drops below 500 kbps for more than 5 seconds, was created.

...

  • id – alarm identifier
  • type – alarm type:
    • 0 – value has dropped below the threshold
    • 1 – value has exceeded the threshold
  • name – alarm name
  • value – threshold value
  • metric – metric identifier (for example, video bitrate)
  • node – node identifier
  • time – time in milliseconds during which the metric value must be above or below the threshold.

Alarm deletion

Alarm can be deleted with REST API query /api/alarm/delete

...