< Home

display alarm active

Function

The display alarm active command displays the contents of active alarms in the system.

Format

display alarm active

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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)
Table 1 Description of the display alarm active command output

Item

Description

Sequence

Sequence number

RootKindFlag

Flag indicating a root-cause alarm or a non-root-cause alarm:

  • Independent: indicates an alarm for which alarm correlation analysis is not performed.
  • RootCause: indicates a root-cause alarm.
  • nonRootCause: indicates 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:

  • Start
  • End

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)

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >