Alarm Trigger Push
Topic: alarmTriggered
When triggers an alarm, server will publish a message. If alarm keeps, server only publish message of the first alarm.
Parameter Correspondence
Field | Type | Description |
---|---|---|
boxSessionId | int | Currently not in using |
values | JSON array | Collection of monitoring points‘ value, details for individual attributes see below |
boxUid | string | FGate id |
Value Corresponding Attributes
Field | Type | Description |
---|---|---|
id | string | Alarm entry UID |
value | string | Value |
state | int | Alarm state, 1 indicates an alarm is triggered. |
name | string | Alarm entry name |
msg | string | Alarm message |
t | int | Timestamp of alarm trigger |
Note Alarm push does not include information about alarm groups. The names and UIDs of newly added alarm entries are unique. It is recommended to call the interface to obtain all alarm entries under the FGate and save them, and then search for the corresponding alarm group based on the pushed UID.