Brocade MLX Series and Brocade NetIron XMR Installation Guide
239
53-1004195-02
Using alarms to collect and monitor device status
DRAFT: BROCADE CONFIDENTIAL
Configuring alarm logging
You can configure the system to log only specific level alarms for specific devices using the
alarm
command. The configuration setting
applies to both logs, the current and history alarm logs. The level you set is the minimum level of alarms that will be logged. For example,
if you set the configuration to log a minimum of minor level events, all minor, major and critical events will be logged. If you set the
configuration to log a minimum of major level events, all major and critical events will be logged. If you set the configuration to log a
minimum of critical level events, only critical level events will be logged.
For example, to configure the system to log a minimum of major level alarms on an interface module in slot 1, optic in slot 9, enter the
following command:
Brocade# alarm lp 1 optic 9 major
Alarms of major and critical severity will be logged for the optic in slot 9 on interface module in slot 1.
To reset the alarm history severity logging back to the default severity level, use the
alarm
command with the
no
operand. For example, to
reset the alarms for the example above back to default, enter the following command:
Brocade# no alarm lp 1 optic 9 major
NOTE
You cannot configure alarm severity on a system wide basis; you must specify a specific device, such as a fan, power supply or
optic device.
Once an alarm is set to log a minimum alarm level, the show commands cannot display alarm levels of lower severity levels as
the information is not logged.
Displaying alarms
This section describes how to display alarms. You can display alarms at a very basic or specific level. The alarm logs display alarms they
have been configured to log. The alarm history log is displayed in chronological order starting with the most recent entry.
NOTE
By default, all hardware status alarm levels of major severity and higher are logged. If you have configured different levels to be
logged, only those levels of alarms can be displayed using the
show alarm
command.
For example, to display all alarms on the system of major alarm level only, enter the following command:
Brocade# show alarm severity major
Jan 3 15:01:44 | Major | Chassis | Power-Supply 2 - Not Present
Jan 3 15:01:44 | Major | Chassis | Power-Supply 3 - Not Present
Jan 3 15:03:54 | Major | LP 1 | Optic 1 - Alarm
Jan 3 15:02:21 | Major | LP 1 | Optic 2 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 5 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 7 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 8 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 10 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 11 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 12 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 13 - Not Present
Jan 3 15:02:21 | Major | LP 1 | Optic 14 - Not Present
Jan 3 15:02:22 | Major | LP 1 | Optic 16 - Not Present
Jan 3 15:02:22 | Major | LP 1 | Optic 17 - Not Present
Jan 3 15:02:22 | Major | LP 1 | Optic 18 - Not Present
To display all alarms on the system of all alarm levels (as per your configured alarm severity logging), enter the following command:
Brocade# show alarm all
Jan 3 15:01:44 | Major | Chassis | Power-Supply 2 - Not Present