The configuration model file matching alarm query is huawei-system-alarm.yang.
Object | Description | Value | Remarks |
---|---|---|---|
/huawei-system-alarm:fetch-alarm-records/input/device-identifier/id | Specifies the ESN of a switch. | - | N/A |
/huawei-system-alarm:fetch-alarm-records/input/alarm-status | Specifies the alarm status. | Currently, the value can only be not-cleared, which indicates that an alarm is not cleared. | N/A |
/huawei-system-alarm:fetch-alarm-records/input/newer-than/start-time | Specifies the alarm timestamp. | The value is the format of YYYY-MM-DDTHH:MM:SSZ. Alarms generated after this time are queried. | N/A |
/huawei-system-alarm:fetch-alarm-records/input/severity | Specifies the alarm severity. | The value is of the enumerated type. The options are listed as follows in descending order of severity:
|
The alarm severity needs to be configured by the below, is, or above object, which is a sub-object of severity.
|
Object | Description |
---|---|
/huawei-system-alarm:fetch-alarm-records/output/device-identifier/id | ESN of the switch. |
/huawei-system-alarm:fetch-alarm-records/output/need-refetch/flag | Whether to continue the alarm query:
Currently, the value of this object is false. |
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/alarm-type-id | Alarm type:
|
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/alarm-type-qualifier | Alarm identifier. |
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/resource | OID of the alarm. |
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/alt-resource | Whether the alarm is a new alarm or a clear alarm.
Currently, the value of this object is 1. |
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/status-change/event-time | Alarm timestamp. |
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/status-change/perceived-severity | Alarm severity:
|
/huawei-system-alarm:fetch-alarm-records/output/alarm-records/status-change/alarm-text | Details about the alarm. |