Overview
MindEdge Framework can call APIs provided by MEF Center to query alarms or events of MEF Edge and MEF Center.
- Alarm information: information about a problem that occurs from a certain time point.
- Event information: information about a problem that occurs at a past time point. The MEF Center database stores a maximum of 50 events for a single MEF Edge device.
Process of Querying Alarm Event Information
The following describes how MEF Center calls APIs to query alarm information. The procedure for querying event information is the same, but APIs to be called are different.
- Query the alarm list.
This API is used to deliver a task of querying the alarm or event list. For details about the API, see Querying the Alarm List.
https://{ip}:{port}/alarmmanager/v1/alarms?pageNum={value1}&pageSize={value2}&ifCenter={value3}&sn={value4}&groupId={value5} - Optional: Query alarm details.
This API is used to query alarm details based on the alarm ID in the MEF Center database returned by the query list. For details about the API, see Querying Alarm Details.
https://{ip}:{port}/alarmmanager/v1/alarm?id={value1}
Parent topic: Alarm Event APIs