You are here: Supporting Documents > everRun Command Line Interface Reference > AVCLI Command Descriptions > ealert-config

ealert-config

Usage

Description

The ealert-config command configures e-Alert support in everRun systems. If you do not provide a user name, the command assumes that authentication is not required to access the SMTP server. If you provide a user name but not a password, the command prompts you for the password.

Options

--ssl Use SSL when communicating with the SMTP server.
--username username Use this name for authentication on the specified SMTP host.
--password password Use this password for authentication on the specified SMTP host.
--host host The DNS or IP address of the SMTP server.
recipients The list of email addresses to receive eAlert emails; required only when e-Alerts are enabled.

Examples

The following command configures email alerts to use the SMTP server mail.my-domain.com and to send alerts to the recipient admin@my-domain.com:

$ avcli ealert-config --host mail.my-domain.com admin@my-domain.com

The following command configures email alerts to use the SMTP server mail.my-domain.com and to send alerts the recipients admin@my-domain.com and bob@my-domain.com:

$ avcli ealert-config --host mail.my-domain.com admin@my-domain.com bob@my-domain.com

The following command configures email alerts to use the protocol SSL and the SMTP server mail.my-domain.com, and to send alerts to the recipient bob@my-domain.com, using the username admin and the password secret for authentication:

$ avcli ealert-config --ssl --username admin --password secret --host mail.my-domain.com bob@my-domain.com

The following command configures email alerts to use the protocol SSL and the SMTP server mail.my-domain.com, and to send alerts to the recipient bob@my-domain.com, using the username admin and no password for authentication:

$ avcli ealert-config --ssl --username admin --host mail.my-domain.com bob@my-domain.com
of