HP P2000 G3 MSA System CLI Reference Guide 331
test
Description
Sends a test message to configured destinations for event notification and managed logs. After
issuing this command, verify that the test message reached its destinations.
Syntax
test
email|managedlogs|managedlogswarn|managedlogswrap|notification|snmp
[region crash1|crash2|crash3|crash4|ecdebug|mc|scdebug]
Parameters
email|managedlogs|managedlogswarn|managedlogswrap|notification|snmp
•
: This option behaves the same as the notification option and remains for backward
compatibility only.
•
managedlogs
: Specify this option to test receipt of the managed-logs notification that logs need
to be transferred. (Event 400)
•
managedlogswarn
: Specify this option to test receipt of the managed-logs notification that logs
are nearly full and must be transferred to avoid losing older entries. (Event 401)
•
managedlogswrap
: Specify this option to test receipt of the managed-logs notification that logs
have wrapped and older entries may be lost. (Event 402)
•
notification
: Specify this option to test receipt of event-notification messages by every
interface that is configured to receive them, such as email, SNMP, and SMI-S. (Event 312)
•
snmp
: This option behaves the same as the notification option and remains for backward
compatibility only
region crash1|crash2|crash3|crash4|ecdebug|mc|scdebug
Optional. For use with the managed logs feature, this parameter specifies the log type (debug-data
region) to send a notification about.
•
crash1
,
crash2
,
crash3
, or
crash4
: Specify one of these options to send notification for one
of the Storage Controller’s four crash logs.
•
ecdebug
: Specify this option to send notification for the Expander Controller log.
•
mc
: Specify this option to send notification for the Management Controller log.
•
scdebug
: Specify this option to send notification for the Storage Controller log, which includes
the event log.
If this parameter is omitted, the command sends four representative log types:
crash1
,
ecdebug
,
scdebug
, and
mc
.
Example
Test receipt of event notifications by every interface that is configured to receive them:
# test notification
Success: Command completed successfully. - The test event was sent. (2012-01-20
08:01:43)
Test receipt of the managed-logs notification that the SC log needs to be transferred:
# test managedlogs region scdebug
Success: Command completed successfully. - The test event was sent. (2012-01-20
16:03:21)
See also
•
set email-parameters
•
set snmp-parameters
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...