banner



How To Update Disk Usage Alert Script To Check Another Folder Ambari

Note: This is post is part of the HDPCA exam objective series

Monitoring the health of Hadoop cluster is an important aspect of Hadoop administration. Ambari provides united states the centralized management of wellness alerts and checks for the services in your cluster. You tin can prepare thresholds and tin disable/enable alerts using the ambari UI.

You can view all the alerts definations from the alerts page in the ambari dashboard.

configure and manage alerts in ambari HDPCA

The alerts which have breached the threshold volition be shown in red color. The Alerts which are nether the threshold value are shown in green colour.

There are many filters bachelor on the alerts folio to filter out using some condition. Y'all can filter alerts based on:
1. State (enabled/disabled)
two. Service (alerts for a specific service like YARN, HDFS)
3. Condition (OK, WARNING, CRITICAL, UNKNOWN, NONE)
4. Final condition changed.
5. Alert Definition Proper name.

filter alert definitions in ambari - HDPCA exam objective

Yous tin also view the alert definitions with respect to private service groups.

ambari filter alerts with respect to service groups in HDP

Disable/Enable an Alert

An warning can be easily enabled or disabled from the Alerts page in Ambari. In the instance shown below, we are disabling the "Host Disk Usage" warning.

enabling or disabling alerts in ambari HDPCA

Manage warning group

Click on "Manage Alert Group" from "Deportment" drib-down to view the options to manage alarm groups. You tin can manage alert groups for each service in this dialog. View the list of alert groups and the alert definitions configured in them. You lot can likewise add/remove warning definitions, and choice notification for that alert grouping.

manager alert groups in ambari HDP

Each service will take a default alarm group which can non be deleted.

default alert groups in ambari HDPCA

We can add a new alert grouping click on the "+" icon at the bottom and provide the name of the alert grouping.

create alert group in ambari HDPCA exam

provide new alert group name in ambari

We can add together the warning definitions to this new alarm group.

add alert definitions in alert group using ambari HDPCA exam

We accept added the ii sample alerts to the new alarm grouping as shown beneath.

select alert group definitions in ambari HDPCA exam objective

Verify the new alert group in ambari HDPCA exam

Create Alarm Notification

Creating alerts is not sufficient if the Hadoop admin does not go the electronic mail alerts from the ambari. Let's encounter how we can create a notification in ambari. Goto the alerts folio and click "Manage Notifications" under the "Actions" drop-down.

manager notification in ambari HDPCA exam objective

Here, Create the new Notification using the "+" icon at the bottom.

create new alert notification in ambari HDPCA exam

Provide the information such as Proper name, Alert groups, Severity and email address to receive the notification on this folio.

create alert notifications HDPCA exam

Click save and verify if the Notification is created.

verify the newly created notification in ambari

Manage Warning Settings (Warning Bank check Count)

Ready the number of warning checks to perform before dispatching a notification. If during an alert check a state change occurs, Ambari will attempt to check this number of times before dispatching a notification. Increase this number if your surroundings experiences transient issues resulting in false alerts.

manage alert settings in ambari HDPCA exam

alert check count in Ambari HDPCA

Source: https://www.thegeekdiary.com/hdpca-exam-objective-configure-and-manage-alerts/

Posted by: sharphadis1993.blogspot.com

0 Response to "How To Update Disk Usage Alert Script To Check Another Folder Ambari"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel