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
• email: 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