Reference Guide

RACADM Subcommand Details 67
Options
Table 2-21 describes the testemail subcommand options.
Output
Success: Test e-mail sent successfully
Failure: Unable to send test e-mail
testtrap
NOTE: To use this subcommand, you must have Test Alerts permission.
Set the destination e-mail
address
racadm config -g cfgEmailAlert -o
cfgEmailAlertAddress -i 1
user1@mycompany.com
Set the custom message
that is sent to the
destination e-mail address
racadm config -g cfgEmailAlert -o
cfgEmailAlertCustomMsg -i 1 "This is a
test!"
Ensure that the SMTP IP
address is configured
properly
racadm config -g cfgRemoteHosts -o
cfgRhostsSmtpServerIpAddr 192.168.0.152
View the current e-mail
alert settings
racadm getconfig -g cfgEmailAlert -i
<index>
where <index> is a number from 1 to 4
Table 2-21. testemail Subcommands
Option Description
-i Specifies the index of the e-mail alert to test.
Subcommand Description
testtrap Tests iDRAC6 SNMP trap alerting feature.
Table 2-20. testemail Configuration
(continued)
Action Command