Users Guide
RACADM Subcommand Overview 335
testemail
Table A-42 describes the testemail subcommand.
Synopsis
racadm testemail -i <
index
>
Description
Sends a test e-mail from the iDRAC6 to a specified destination.
Prior to executing the test e-mail command, ensure that the specified index
in the RACADM cfgEmailAlert group is enabled and configured properly.
Table A-43 provides a list and associated commands for the cfgEmailAlert
group.
Table A-42. testemail configuration
Subcommand Description
testemail Tests the RAC’s e-mail alerting feature.
Table A-43. testemail Configuration
Action Command
Enable the alert racadm config -g cfgEmailAlert -o
cfgEmailAlertEnable
-i 1 1
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 the SMTP IP
address is configured
properly
racadm config -g cfgRemoteHosts -o
cfgRhostsSmtpServerIpAddr -i
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