Use this command to enable alerts to be sent to specified administrators by email.
Alert monitoring must be started, and the monitoring settings must be configured to send alerts by email.
To issue this command, you must have system privilege.
set alertemail on
Command | Description |
---|---|
QUERY MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) | Displays information about monitoring alerts and server status settings. |
SET ALERTEMAILFROMADDR (Set the email address of the sender) | Specifies the email address of the alert sender. |
SET ALERTEMAILSMTPHOST (Set the SMTP mail server host name) | Specifies the SMTP mail server host name that is used to send alerts by email. |
SET ALERTEMAILSMTPPORT (Set the SMTP mail server host port) | Specifies the SMTP mail server port that is used to send alerts by email. |
SET ALERTSUMMARYTOADMINS (Set the list of administrators to receive alert summaries by email ) | Specifies the administrators that want to receive alert summaries by email. |