Reference Guide

testemail
Description
Sends a test email from CMC to a specified destination. Prior to running the test email
command, make sure that the SMTP server is configured.
The specified index in the idrac.EmailAlert group must be enabled and configured
properly. For more information, see iDRAC.EmailAlert.
The specified index in the cfgEmailAlert group must be enabled and configured properly.
For more information, see cfgEmailAlert.
Synopsis
racadm testemail -i <index>
Input -i <index> — Specifies the index of the email alert to test.
Output
Success: Test e-mail sent successfully
Failure: Unable to send test e-mail
Example
Commands for the idrac.EmailAlert group:
Enable the alert.
racadm set idrac.EmailAlert.1.Enable
Set the destination email address.
racadm set idrac.EmailAlert.1.Address user1@mycompany.com
Set the custom message that is sent to the destination email address.
racadm set idrac.emailalert.1.CustomMsg "This is a test!"
Make sure that the SMTP IP address is configured properly.
racadm set idrac.remotehosts.SMTPServerIPAddress 192.168.0
View the current email alert settings.
racadm get idrac.EmailAlert <index>
where <index> is a number from 1 to 8.
Example Send a test email to the destination email address configured for index 1
racadm testemail -i 1
testtrap
Description Tests the RAC’s SNMP trap alerting feature by sending a test trap from CMC to a
specified destination trap listener on the network.
To run this subcommand, you must have the Test Alert permission.
NOTE:
Before you run the testtrap subcommand, make sure that the specified index
in the RACADM iDRAC.SNMP.Alert group is configured properly.
The indices of testtrap subcommand is co-related to the indices of
iDRAC.SNMP.Alert group.
120