Manage PagerDuty Notifications
SUMMARY You can configure PagerDuty notification service, set up alarms, and verify that
PagerDuty incidents are triggered from the Contrail Insights UI.
Configure PagerDuty Notifications
Follow these steps to configure PagerDuty notifications:
-
Click the hamburger button and click Settings.
The Appformix Settings page is
displayed.
-
Click Notification Settings on the
Appformix Settings page.
The PageDuty tabbed page of the Notification
Settings page is displayed.
-
Click Add Service on the PagerDuty tabbed
page.
The
Service Account,
Service
Key, and
Service Name text boxes are
displayed.
Figure 1: PagerDuty Settings
-
Enter the following information:
- Enter account information in the Service
Account text box.
- Enter service key information in the Service Key
text box.
- Enter a name for the service in the Service
Name text box.
Click Setup to add the new PagerDuty settings. The
PageDuty settings that you configured is displayed in the
PagerDuty tabbed page.
Figure 2: View PagerDuty Settings
Set Up Alarms
Follow these steps to set up an alarm:
-
Click Alarms in the left-nav bar.
The list available alarms are displayed.
-
Click Add Rule in the Alarm
Rules section.
The Add New Rule section is
displayed.
-
Enter the following information in the Add New Rule
section to set up an alarm:
Field |
Description |
Name |
Enter a name for the alarm. |
Module |
Select Alarm from the options. |
Alarm Rule Type |
Select Static rule type. |
Scope |
Select Host as the scope. |
Interval (seconds) |
Enter 60 seconds as the
interval. |
Notification |
Select PagerDuty from the drop-down list.
The Services drop-down list is
displayed. |
Services |
Select the services you want to apply to this alarm from the
drop-down list. |
Figure 3: Select PagerDuty from Notifications drop-down list
-
Click Save to save the alarm.
Verification
After you
have configured notifications and set up alarms, you can verify that PagerDuty incidents
are being triggered from the PagerDuty UI. Navigate to the
Incidents page to view triggered alarms.
Figure 4: View Triggered Alarms