Event
Represents an event in the device.
Model
| attribute | description |
|---|---|
id* unsigned int |
The unique ID of the event in the system |
description* i18n@event_descriptions |
The events description |
description_params{ string: string } |
An object holding values to be interpolated into the translated description string |
severity* Severity |
The events severity level |
tstamp* unsigned int |
A Unix timestamp defining when the event took place |
status'started'|'ended' |
In case of a pair event that has definable start and end, this defines which of the two it is |
userstring |
The user associated with the event |
remotestring |
The IP address of the remote device associated with the event |
aobool |
Configured to trigger AO (analogue output) notification at the time of the event |
do1bool |
Configured to trigger DO1 (digital output 1) notification at the time of the event |
do2bool |
Configured to trigger DO2 (digital output 2) notification at the time of the event |
hsbool |
Configured to trigger HS (Hot standby) notification at the time of the event |
smsbool |
Configured to trigger SMS notification at the time of the event |
snmpbool |
Configured to trigger SNMP notification at the time of the event |
Note
Attributes ao, do1, do2, hs, sms and snmp are optional.
If absent, it indicates that it is unknown whether the event
was configured to trigger the respective notification.
Example
{
"id": 3653,
"description": "EVT14",
"description_params": {
"EP1": "admin",
"EP2": "386"
},
"severity": "SVT6",
"tstamp": 1598269427,
"status": "started",
"user": "admin",
"ao": false,
"do1": false,
"do2": false,
"hs": false,
"sms": true,
"snmp": true
}