Users Guide
336 RACADM Subcommand Overview
testemail
Table A-45 describes the
testemail
subcommand.
Synopsis
racadm testemail -i <index>
Description
Sends a test e-mail from the RAC 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-46 provides a list and associated commands for the
cfgEmailAlert
group.
Table A-45. testemail configuration
Subcommand Description
testemail Tests the RAC’s e-mail alerting
feature.
Table A-46. 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 SNMP IP
address is configured
properly
racadm config -g cfgRemoteHosts -o
cfgRhostsSmptServerIpAddr -i
192.168.0.152