Users Guide

RACADM Subcommand Overview 223
Prior to executing the testemail command, ensure that the specified index in the RACADM
cfgEmailAlert group is enabled and configured properly. Table Table 13-41 provides a list and associated
commands for the cfgEmailAlert group.
Options
Table 13-42 describes the testemail subcommand options.
Output
None.
Supported Interfaces
•Local RACADM
Remote RACADM
telnet/ssh/serial RACADM
Table 13-41. 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
View the current e-mail alert
settings
racadm getconfig -g cfgEmailAlert -i <index>
where <index> is a number from 1 to 4
Table 13-42. testemail Subcommands
Option Description
-i Specifies the index of the e-mail
alert to test.