Create an email dispatcher that can be used by the service that scans alert_notice for PENDING entries to relay notifications.
Alert targets of type EMAIL should be defined with a flat set of properties that governs the dispatching.
Several properties will be Ambari-specific and will be used for authentication and recipients:
- They will begin with ambari.dispatch
- ambari.dispatch.recipients will be a JSON array
The rest of the properties will be used by the concrete dispatcher. In this case, they will be JavaMail properties directly handed to the Properties instance used to initialize the JavaMail Session.