Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Adding email settings during Scheduler Installation

Follow these steps to add email settings during the scheduler installation.

On the Email Configuration screen, select Enable email notifications.

Enter the required information.

...

On the Summary screen, verify your settings are correct and continue with the installation.In RED

Setting up the notification recipient

  1. Open RED, go to the Host Script node and expand it.
  2. Find and edit the wsl_scheduler_publish script.
  3. In the wsl_scheduler_publish script find the failure.emails entry.
  4. Change noreply@foo.com to the email address that will receive notifications.
  5. Save the Script.


Configuring email settings manually

If you didn't provide email settings during the scheduler installation, you can add them manually following these steps:Go to the folder where the Web server and the Executor are located . You need to edit the azkaban.local.properties configuration file in the WEB_SERVER and EXEC_SERVER folders, these folders are located in the Scheduler installation folder, for example c:\pathtoscheduler\Go to  cWEB_SERVER and c:\pathtoscheduler\WEB_SERVER, edit the file

Open azkaban.local.properties and change these parameters to add the email settings:

mail.tsl

Set this parameter to true if the mail server uses TSLIf you are using tsl on your email server, go to the mail.tsl line and set its value to true, otherwise leave the value as false.

Go the mail.host line, set its value to your

In this parameter enter the mail host.

Go the mail.port

Change line, change its value to the port your email mail server uses.

Go to the mail.password line and

In this parameter enter the encrypted password for the email user account that will send notifications. To encrypt the password run this command on the CLI learn more about encrypting the password refer to RED Scheduler Configuration and Encryption Utility.

mail.user

In this parameter enter the username for the account that will send notifications.

mail.sender

In this parameter enter the email address used for sending notifications.

mail.useAuth

Set the value to true to enable authentication.

Note
titleImportant

Once you add your configurations to azkaban.local.properties in both WEB_SERVER and EXEC_SERVER, you need to restart the Azkaban Webserver and Executor.

Setting up the notification recipient

  1. Open RED, go to the Host Script node and expand it.
  2. Find and edit the wsl_scheduler_publish script.
  3. In the wsl_scheduler_publish script find the failure.emails entry.
  4. Change noreply@foo.com to the email address that will receive notifications.
  5. Save the Script.