HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

136
show events
Description Shows events for an enclosure, including events from each Management Controller and each
Storage Controller. A separate set of event numbers is maintained for each controller. Each event
number is prefixed with a letter identifying the controller that logged the event.
Events are listed from newest to oldest, based on a timestamp with one-second granularity; therefore
the event log sequence matches the actual event sequence within about one second.
If SNMP is configured, events can be sent to SNMP traps.
Syntax To show a certain number of events:
show events [last #] [a|b|both|error]
To show events by date:
show events [from date] [to date] [a|b|both|error]
To show events by ID:
show events [from-event ID] [to-event ID] [a|b|both|error]
Parameters last #
Optional. Shows the latest specified number of events. If this parameter is omitted, all events are
shown.
from date
Optional. Shows events including and after the specified date and time. Use the format
MMDDYYhhmmss, where hh is the hour on a 24-hour clock. For example, 043008235900 represents
Apr 30 2008 at 11:59:00 p.m. This parameter can be used with either to parameter.
to date
Optional. Shows events before and including the specified date and time. Use the format
MMDDYYhhmmss, where hh is the hour on a 24-hour clock. For example, 043008235900 represents
Apr 30 2008 at 11:59:00 p.m. This parameter can be used with either from parameter.
from-event ID
Optional. Shows events including and after the specified event ID. If this number is smaller than the
ID of the oldest event, events are shown from the oldest available event. This parameter can be used
with either to parameter.
to-event ID
Optional. Shows events before and including the specified event ID. If this number is larger than the
ID of the oldest event, events are shown up to the latest event. This parameter can be used with either
from parameter.
a|b|both|error
Optional. Specifies to filter the event listing:
a: Shows events from controller A only
b: Shows events from controller B only
error: Shows all critical and warning events but no informational events
Output Day, date, time, and year when the event was logged
Event code identifying the type of event to help service technicians diagnose problems; for
example, [181]
Event ID prefixed by A or B, indicating which controller logged the event; for example, #A123
Model, serial number, and ID of the controller module that logged the event
Severity: CRITICAL events can affect data integrity or system stability; WARNING events do not
affect data integrity; INFORMATIONAL events show state or configuration changes
Event-specific message giving details about the event