2. Configuring Notifications

With Alert Groups and Notifications, you can create groups of alerts and setup notification targets for each group. This way, you can notify different parties interested in certain sets of alerts via different methods. For example, you might want your Hadoop Operations team to receive all alerts via EMAIL, regardless of status. And at the same time, have your System Administration team receive all RPC and CPU related alerts that are Critical only via SNMP. To achieve this scenario, you would have an Alert Notification that handles Email for all alert groups for all severity levels, and you would have a different Alert Notification group that handles SNMP on critical severity for an Alert Group that contains the RPC and CPU alerts.

Ambari defines a set of default Alert Groups for each service installed in the cluster. For example, you will see a group for HDFS Default. These groups cannot be deleted and the alerts in these groups are not modifiable. If you choose not to use these groups, just do not set a notification target for them.

  1. Creating or Editing Notifications

  2. Browse to the Alerts section in Ambari Web.

  3. Under the Actions menu, click Manage Notifications.

  4. The list of existing notifications is shown.

  5. Click + to “Create new Alert Notification”. The Create Alert Notification is displayed.

  6. Enter the notification name, select that groups the notification should be assigned to (all or a specific set), select the Severity levels that this notification responds to, include a description, and choose the method for notification (EMAIL or SNMP).

    • For EMAIL: you will need to provide information about your SMTP infrastructure such as SMTP Server, Port, To/From address and if authentication is required to relay messages through the server. You can add custom properties to the SMTP configuration based on the Javamail SMTP options.

    • For SNMP: you will need to select the SNMP version, OIDs, community and port.

  7. After completing the notification, click Save.

  1. Creating or Editing Alert Groups

  2. Browse to the Alerts section in Ambari Web.

  3. From the Actions menu, choose Manage Alert Groups

  4. The list of existing groups (default and custom) is shown.

  5. Choose + to “Create Alert Group”. Enter the Group a name and click Save.

  6. By clicking on the custom group in the list, you can add or delete alert definitions from this group, and change the notification targets for the group.


loading table of contents...