Alarm Severity

example image of an alarm severity box in OnSphere

Example of an Alarm Severity box in OnSphere

The Alarm Severity widget allows displaying an alarm count and severity summary associated with an alarm filter.

It consists of two elements:

  • Count: The number of alarms matching the filter (with the foreground and background color matching highest severity)

  • Label: A label describing the alarm severity (optional)

List of configuration files

File

Type

Short description

Format

dashboard.view

AlarmSeverity

Defines the Alarm Severity widget global settings

json

List of examples

Short description

Link to documentation

Alarm severity widget onClick

Alarm table filter update with alarm severity widget

onClick operation

The onClick operation of this widget can make use of dynamic evaluation.

In this operation, you have access to:

  • osp.widgets(id): to access any widget available in current dashboard using widget id. This will allow access to widget exposed features.

  • osp.navigate(path) to navigate to any dashboard see Navigation from widget context

  • osp.evaluate(code): to allow menu code interaction evaluation (see dynamic evaluation)

  • osp.updateValue(id, content) to update a value with its content. The object form osp.updateValue({id, content}) is also accepted.

You can read the Alarm table filter update with alarm severity widget example to get a better view of the possibilities available with this operation.