To obtain information about all active alarms in the system, you can run the display alarm active command.This command is used to notify the external NMS of the general alarm mechanism. If you run this command to query alarm information, the NMS will display the alarm information.
# Display the contents of all active alarms in the system.
<sysname> display alarm active
A/B/C/D/E/F/G/H/I/J A=Sequence, B=RootKindFlag(Independent|RootCause|nonRootCause) C=Generating time, D=Clearing time E=ID, F=Name, G=Level, H=State I=Description information for locating(Para info, Reason info) J=RootCause alarm sequence(Only for nonRootCause alarm) 1/Independent/2016-12-28 12:06:38+08:00/-/0xffae201c/hwPowerRemove/Warning/Sta rt/OID 1.3.6.1.4.1.2011.5.25.219.2.5.1 Power is absent.(Index=68681737, EntityPh ysicalIndex=68681737, PhysicalName="PWR", EntityTrapFaultID=136448)
Item |
Description |
|---|---|
Sequence |
Sequence number |
RootKindFlag |
Flag indicating a root-cause alarm or a non-root-cause alarm:
|
Generating time |
Time when the alarm is generated |
Clearing time |
Time when the alarm is cleared |
ID |
Alarm ID |
Name |
Alarm name |
Level |
Alarm severity level |
State |
Alarm status:
|
Description information for locating |
Alarm description |
RootCause alarm sequence(Only for nonRootCause alarm) |
Sequence number of the root-cause alarm (for non-root-cause alarms only) |