HP MSA2324i HP StorageWorks 2300 Family Modular Smart Array CLI reference guid - Page 136

show events

Page 136 highlights

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 136

  • 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
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

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