Reference Guide
testemail
Description
Sends a test email from iDRAC to a specied destination. Prior to running the test email command, make sure
that the SMTP server is congured.
The specied index in the idrac.EmailAlert group must be enabled and congured properly. For more information,
see the see the Integrated Dell Remote Access Controller (iDRAC8) and iDRAC7 RACADM Command Line
Interface Reference Guide available at dell.com/support/manuals.
Synopsis
racadm testemail -i <index>
Input -i <index> — Species 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 1
• 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 congured 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.
testtrap
Description
Tests the RAC’s SNMP trap alerting feature by sending a test trap from iDRAC to a specied 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 specied index in the RACADM
iDRAC.SNMP.Alert group is congured properly.
• The indices of testtrap subcommand is co-related to the indices of iDRAC.SNMP.Alert group.
Synopsis
racadm testtrap -i <index>
Input -i <index> — Species the index of the trap conguration that must be used for the test. Valid values are
from 1 to 4.
Example
• Enable the alert.
racadm set idrac.emailalert.1.CustomMsg 1
racadm set iDRAC.SNMP.Alert.1.Enable 1
• Set the destination email IP address.
racadm set iDRAC.SNMP.Alert.1.DestIpAddr
192.168.0
94