Scheduler Settings
To receive notifications as a result of executing an Active Action, you need to configure email integration. To do this, navigate to Main Menu - Settings - Management and select General - Scheduler Settings on the page that opens.
The following parameters are available:
- Email Host - IP address or domain name of the mail server
- Email Port - port for connecting to the mail server
- Email User - user for authenticating with the mail server
- Email Password - mail server password. Configured in the
SM Data Storagepassword store. The password value should be stored with the keyjobscheduler.email.pass - Email Timeout - delay before resending a message
- Email Protocol - encryption protocol used. TLS/SSL settings are available, as well as disabling encryption.
- Sender - email address from which messages will be sent
- SME User - the user under which the
Job Schedulercomponent runs search jobs - SME Remote Executor Host - IP address of the host running the SME-RE service
- SME Remote Executor Port - port used by SME-RE. Defaults to
18080 - SME Password - password for the user specified in the SME User field. Configured in the
SM Data Storagepassword store. The password value should be stored with the keyjobscheduler.sme.pass - SME Protocol - protocol for sending mail. HTTP/HTTPS is available
Keystore modifications must be performed as the root user. To add keys (passwords) to the store, execute the following commands:
sudo -u opensearch ./opensearch-keystore add jobscheduler.email.pass
sudo -u opensearch ./opensearch-keystore add jobscheduler.sme.pass
To remove a password from the password store, execute the following commands as the root user:
sudo -u opensearch ./opensearch-keystore remove jobscheduler.email.pass
sudo -u opensearch ./opensearch-keystore remove jobscheduler.sme.pass
If the command is executed without the -u opensearch option, you must check the permissions on the keystore file $opensearch.keystore after making changes to the password store. You can use the following command to change the permissions:
sudo chown opensearch:opensearch opensearch-keystore
Passwords must be added to the keystore (password store) on all servers where the Job Scheduler plugin is installed.