Skip to content

Commit aa207f4

Browse files
committed
ts_ambari10
1 parent 384fd69 commit aa207f4

7 files changed

+62
-5
lines changed

articles/hdinsight/apache-ambari-email.md

Lines changed: 60 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,82 @@ ms.author: hrasheed
66
ms.reviewer: hrasheed
77
ms.service: hdinsight
88
ms.topic: tutorial
9-
ms.date: 03/06/2020
9+
ms.date: 03/10/2020
1010

1111
#Customer intent: As a HDInsight user, I want to configure Apache Ambari to send email notifications.
1212
---
1313

1414
# Tutorial: Configure Apache Ambari email notifications in Azure HDInsight
1515

16-
In this tutorial, you will configure Apache Ambari email notifications using SendGrid. [Apache Ambari](./hdinsight-hadoop-manage-ambari.md) 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](https://sendgrid.com/solutions/) 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.
16+
In this tutorial, you'll configure Apache Ambari email notifications using SendGrid. [Apache Ambari](./hdinsight-hadoop-manage-ambari.md) 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](https://sendgrid.com/solutions/) 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.
1717

18-
For more information about the Ambari UI, see [Manage HDInsight clusters by using the Apache Ambari Web UI](./hdinsight-hadoop-manage-ambari.md).
18+
In this tutorial, you learn how to:
1919

2020
> [!div class="checklist"]
21+
> * Obtain Sendgrid Username
2122
> * Configure Apache Ambari email notifications
2223
2324
## Prerequisites
2425

2526
* A SendGrid email account. See [How to Send Email Using SendGrid with Azure](https://docs.microsoft.com/azure/sendgrid-dotnet-how-to-send-email) for instructions.
2627

27-
#
28+
* An HDInsight cluster. See [Create Apache Hadoop clusters using the Azure portal](../hdinsight-hadoop-create-linux-clusters-portal.md).
2829

30+
## Obtain SendGrid Username
31+
32+
1. From the [Azure portal](https://portal.azure.com), navigate to your SendGrid resource.
33+
34+
1. From the Overview page, select **Manage**, to go the SendGrid webpage for your account.
35+
36+
![SendGrid overview in azure portal](./media/apache-ambari-email/azure-portal-sendgrid-manage.png)
37+
38+
1. From the left menu, navigate to your account name and then **Account Details**.
39+
40+
![SendGrid dashboard navigation](./media/apache-ambari-email/sendgrid-dashboard-navigation.png)
41+
42+
1. From the **Account Details** page, record the **Username**.
43+
44+
![SendGrid account details](./media/apache-ambari-email/sendgrid-account-details.png)
45+
46+
## Configure Ambari e-mail notification
47+
48+
1. From a web browser, navigate to `https://CLUSTERNAME.azurehdinsight.net/#/main/alerts`, where `CLUSTERNAME` is the name of your cluster.
49+
50+
1. From the **Actions** drop-down list, select **Manage Notifications**.
51+
52+
1. From the **Manage Alert Notifications** window, select the **+** icon.
53+
54+
![Ambari create alert notification](./media/apache-ambari-email/azure-portal-create-notification.png)
55+
56+
1. From the **Create Alert Notification** dialog, provide the following information:
57+
58+
|Property |Description |
59+
|---|---|
60+
|Name|Provide a name for the notification.|
61+
|Groups|Configure as desired.|
62+
|Severity|Configure as desired.|
63+
|Description|Optional.|
64+
|Method|Leave at **EMAIL**.|
65+
|Email To|Provide e-mail(s) to receive notifications, separated by a comma.|
66+
|SMTP Server|`smtp.sendgrid.net`|
67+
|SMTP Port|25 or 587 (for unencrypted/TLS connections).|
68+
|Email From|Provide an email address. The address doesn't need to be authentic.|
69+
|Use authentication|Select this check box.|
70+
|Username|Provide the SendGrid username.|
71+
|Password|Provide the password you used when you created the SendGrid resource in Azure.|
72+
|Password Confirmation|Reenter password.|
73+
|Start TLS|Select this check box|
74+
75+
![Ambari create alert notification](./media/apache-ambari-email/ambari-create-alert-notification.png)
76+
77+
Select **Save**. You'll return to the **Manage Alert Notifications** window.
78+
79+
1. From the **Manage Alert Notifications** window, select **Close**.
2980

3081
## Next steps
3182

32-
[Create an alert notification](https://docs.cloudera.com/HDPDocuments/Ambari-latest/managing-and-monitoring-ambari/content/amb_create_an_alert_notification.html)
83+
In this tutorial, you learned how to configure Apache Ambari email notifications using SendGrid. Use the following to learn more about Apache Ambari:
84+
85+
* [Manage HDInsight clusters by using the Apache Ambari Web UI](./hdinsight-hadoop-manage-ambari.md)
86+
87+
* [Create an alert notification](https://docs.cloudera.com/HDPDocuments/Ambari-latest/managing-and-monitoring-ambari/content/amb_create_an_alert_notification.html)

articles/hdinsight/hdinsight-hadoop-manage-ambari.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ You can also manage alerting methods, and create alert notifications from the **
8383

8484
Finally, selecting __Manage Alert Settings__ from the __Actions__ menu allows you to set the number of times an alert must occur before a notification is sent. This setting can be used to prevent notifications for transient errors.
8585

86+
For a tutorial of an alert notification using a free [SendGrid account](https://docs.microsoft.com/azure/sendgrid-dotnet-how-to-send-email), see [Configure Apache Ambari email notifications in Azure HDInsight](./apache-ambari-email.md).
87+
8688
### Cluster
8789

8890
The **Metrics** tab of the dashboard contains a series of widgets that make it easy to monitor the status of your cluster at a glance. Several widgets, such as **CPU Usage**, provide additional information when clicked.
134 KB
Loading
40.5 KB
Loading
174 KB
Loading
129 KB
Loading
108 KB
Loading

0 commit comments

Comments
 (0)