Tutorial: Configure Apache Ambari email notifications in Azure HDInsight
In this tutorial, you'll configure Apache Ambari email notifications using SendGrid. Apache Ambari simplifies the management and monitoring of an HDInsight cluster by providing an easy to use web UI and REST API. Ambari is included on HDInsight clusters, and is used to monitor the cluster and make configuration changes. SendGrid is a free cloud-based email service that provides reliable transactional email delivery, scalability, and real-time analytics along with flexible APIs that make custom integration easy. Azure customers can unlock 25,000 free emails each month.
In this tutorial, you learn how to:
- Obtain Sendgrid Username
- Configure Apache Ambari email notifications
A SendGrid email account. See How to Send Email Using SendGrid with Azure for instructions.
An HDInsight cluster. See Create Apache Hadoop clusters using the Azure portal.
Obtain SendGrid Username
From the Azure portal, navigate to your SendGrid resource.
From the Overview page, select Manage, to go the SendGrid webpage for your account.
From the left menu, navigate to your account name and then Account Details.
From the Account Details page, record the Username.
Configure Ambari e-mail notification
From a web browser, navigate to
CLUSTERNAMEis the name of your cluster.
From the Actions drop-down list, select Manage Notifications.
From the Manage Alert Notifications window, select the + icon.
From the Create Alert Notification dialog, provide the following information:
Property Description Name Provide a name for the notification. Groups Configure as desired. Severity Configure as desired. Description Optional. Method Leave at EMAIL. Email To Provide e-mail(s) to receive notifications, separated by a comma. SMTP Server
SMTP Port 25 or 587 (for unencrypted/TLS connections). Email From Provide an email address. The address doesn't need to be authentic. Use authentication Select this check box. Username Provide the SendGrid username. Password Provide the password you used when you created the SendGrid resource in Azure. Password Confirmation Reenter password. Start TLS Select this check box
Select Save. You'll return to the Manage Alert Notifications window.
From the Manage Alert Notifications window, select Close.
In this tutorial, you learned how to configure Apache Ambari email notifications using SendGrid. Use the following to learn more about Apache Ambari: