HP StorageWorks SN6000 HP StorageWorks 8/20q and SN6000 Fibre Channel Switch e - Page 10

Displaying the events using the command line interface, Table 3 Event log message format

Page 10 highlights

Displaying the events using the command line interface When you log into a switch through Telnet, the command line interface (CLI) automatically displays the alarm history. You can use the show alarm or show log command to display the alarm history at any time. New alarm messages are displayed in the command stream as they occur. In the CLI, each message has the following format: [ordinal][time_stamp][severity][source][message_ID][message_text] Table 3 describes the message format components. Table 3 Event log message format Component Description [ordinal] [time_stamp] A number assigned to each message in sequence since the last time the alarm history was cleared. The time the alarm was issued in the format . For events that originate with the switch, the time stamp comes from the switch; for events that original with Simple SAN Connection Manager or QuickTools, the time stamp comes from the workstation. [severity] [message_ID] [source] [message_text] The event severity: A-Alarm, C-Critical, W-Warning, I-Informative A number that identifies the message using the following format: category.message_number The program module or application that generated the event. Sources include Zoning, Switch, PortApp, EPort, Management Server. Alarms do not include the source. The text of the message Here is a sample of an informative-level event from the Switch source: [1][Wed Oct 24 12:30:29.965 UTC 2007][I][8400.0022][Switch][Successful login user (snmp@IB-session6) with admin privilege] For more information about the CLI commands, see the HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide. Configuring the event log You can customize what types of events are recorded in the switch event log using the set log command. With the set log command, you can filter the events to be recorded by component, specific ports, and severity level. You can choose from the following component events: • E_Port events • Management server events • Name server events • Port events • Switch management events • Simple Network Management Protocol (SNMP) events • Zoning events For more information about the set log command, see the HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide. 10

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

10
Displaying the events using the command line interface
When you log into a switch through Telnet, the command line interface (CLI) automatically displays the
alarm history. You can use the
show alarm
or
show log
command to display the alarm history at any
time. New alarm messages are displayed in the command stream as they occur.
In the CLI, each message has the following format:
[ordinal][time_stamp][severity][source][message_ID][message_text]
Table 3
describes the message format components.
Here is a sample of an informative-level event from the Switch source:
[1][Wed Oct 24 12:30:29.965 UTC 2007][I][8400.0022][Switch][Successful login user
(snmp@IB-session6) with admin privilege]
For more information about the CLI commands, see the
HP StorageWorks SN6000 Fibre Channel Switch
Command Line Interface Guide
.
Configuring the event log
You can customize what types of events are recorded in the switch event log using the
set log
command.
With the
set log
command, you can filter the events to be recorded by component, specific ports, and
severity level. You can choose from the following component events:
E_Port events
Management server events
Name server events
Port events
Switch management events
Simple Network Management Protocol (SNMP) events
Zoning events
For more information about the
set log
command, see the
HP StorageWorks SN6000 Fibre Channel
Switch Command Line Interface Guide
.
Table 3
Event log message format
Component
Description
[ordinal]
A number assigned to each message in sequence since the last time the alarm history was
cleared.
[time_stamp]
The time the alarm was issued in the format <day month date hh:mm:ss.ms zone yyyy>. For
events that originate with the switch, the time stamp comes from the switch; for events that
original with Simple SAN Connection Manager or QuickTools, the time stamp comes from
the workstation.
[severity]
The event severity: A—Alarm, C—Critical, W—Warning, I—Informative
[message_ID]
A number that identifies the message using the following format: category.message_number
[source]
The program module or application that generated the event. Sources include Zoning,
Switch, PortApp, EPort, Management Server. Alarms do not include the source.
[message_text]
The text of the message