You can create several alerts related to CPU, Disk, Network, YARN Applications, etc. Acceldata also ships with a set of stock alerts . A unique feature of these alerts is the granular level to which they can be created.
For example, you can create an alert for all YARN MapReduce jobs, which monitors the number of mappers, or the number of reducers. If there is an abnormality, the alert raises an alarm. Another example is when a Spark job takes a second more than a specified threshold to execute, then an alert is raised.
Creating an Alert
Alerts can be created in multiple categories, which encompass the following areas:
- Infrastructure metrics
- Hadoop Services
- YARN Applications
- Ingestion Alerts with Kafka Support
- Hive and Spark Specific Applications
|Category||The category of an alert is the module for which it is created, either system alerts such as CPU and network or then integrated applications, such as Spark, Hive, etc.|
|Expressions||Expressions define alert conditions, filter conditions, groups, and alert thresholds that needs to be specified by the user. |
|Notifications||The method of informing the user. You can configure notifications to be sent via Slack, or as an email.|
|Auto Actions||Pre-defined workflows and activities that can be executed based on an alert or an incident|
|Summary||The description of the alert including the name of the alert, severity type, description etc.|
To create an alert, do the following:
Click Create Alert button. The Create Alert wizard is displayed.
Select a Category. Based on the category selected a list of metrics are displayed in Expressions.
Specify values for the given metric fields.
Click from above the alerts panel to view the documentation on alert metrics.
Specify one or more methods to get notifications on the metric selected.
Notification Type Description Specify a email address. It is optional to CC and BCC the notifications to others as well. Slack Click the checkbox to use Default Slack Configurations. Else, Specify the Slack Webhook URL to get notifications your slack channel. Hangouts Click the Webhook notification required checkbox. Webhooks Click the checkbox to use Default Slack Configurations. Else, specify the webhook URL and relevant tags. Log Click the checkbox to use log file configuration. Specify any relevant tags.
Click Next. The Auto Actions menu is displayed.
Select an action from the Auto Action drop-down list and click Next.
Specify details for the following properties in the Summary:
Property Name Description Name Specify a name for the alert. Severity Type Based on the severity of the alert, select one type of severity from the Severity type drop-down list. Description Specify a description to describe the alert. Help text to include with Incidents Specify any tips or notes for the user that will be helpful to work on the alert Enabled Click the checkbox to enable the summary.
On creation of an alert, it is displayed in the Alerts panel of the Alerts page. You can filter alerts based on Alert Type and Severity level.
Click the Show Disabled Alert checkbox to include disabled alerts in the Alerts panel.
Click to refresh the alerts panel.
Click Rows and select a number from the drop-down list to display the selected number of rows with alerts in the Alerts panel.
Click the name of an alert you want to edit. The Edit Alert wizard is displayed. Make your changes and click save.
From the alerts panel list, click from the end of a alert row and select Delete to delete the alert.
Cloning Existing Alerts
From the alerts list, click for the alert you want to clone and select Clone . The Clone Alert wizard is displayed. Make your changes to the properties and save the alert.
- Click to export alerts. The Import/Export wizard is displayed.
- Click Export Alerts . All the alerts are downloaded as a .JSON file.
- Click to import alerts. The Import/Export wizard is displayed.
- Drag a .JSON file or click the dashed region to upload a .JSON file. The alerts are imported into Acceldata.