SET ALERTEMAIL (Set the alert monitor to email alerts to administrators)
Use this command to enable alerts to be sent to specified administrators by email.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- ON
- Specifies that alerts can be sent to specified administrators by email.
- OFf
- Specifies that alerts cannot be sent to specified administrators by email. When the server database is initially formatted, the ALERTEMAIL setting is set to OFF.
Enable alerts to be sent to the administrator when they occur
Enable alerts to be sent by email by issuing
the following command:
SET ALERTEMAIL ON
Related commands
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. |