Skip to content

Commit 6d269f6

Browse files
authored
Merge pull request #107154 from dagiro/ts_ambari10
Ts ambari10
2 parents 1ee616d + a8fccca commit 6d269f6

8 files changed

+91
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
href: ./hdinsight-administer-use-powershell.md
2020
- name: Create clusters with Runbooks
2121
href: ./manage-clusters-runbooks.md
22+
- name: Apache Ambari email notifications
23+
href: ./apache-ambari-email.md
2224
- name: Build an ETL pipeline
2325
href: ./hdinsight-sales-insights-etl.md
2426
- name: Samples
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: 'Tutorial: Configure Apache Ambari email notifications in Azure HDInsight'
3+
description: This article describes how to use SendGrid with Apache Ambari for email notifications.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: hrasheed
7+
ms.service: hdinsight
8+
ms.topic: tutorial
9+
ms.date: 03/10/2020
10+
11+
#Customer intent: As a HDInsight user, I want to configure Apache Ambari to send email notifications.
12+
---
13+
14+
# Tutorial: Configure Apache Ambari email notifications in Azure HDInsight
15+
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.
17+
18+
In this tutorial, you learn how to:
19+
20+
> [!div class="checklist"]
21+
> * Obtain Sendgrid Username
22+
> * Configure Apache Ambari email notifications
23+
24+
## Prerequisites
25+
26+
* 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.
27+
28+
* An HDInsight cluster. See [Create Apache Hadoop clusters using the Azure portal](./hdinsight-hadoop-create-linux-clusters-portal.md).
29+
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**.
80+
81+
## Next steps
82+
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)