How to configure PagerDuty as a receiver in Alertmanager in a Rancher environment?
Issue Description: Automation Suite administrators may want to integrate PagerDuty with Alertmanager within Rancher to effectively manage and respond to alerts generated by their Automation Suite Kubernetes cluster.
Resolution:
Step 1: Obtain PagerDuty Integration Key
- Log in to your PagerDuty account.
- Navigate to the 'Automation' tab and click on the 'Event Orchestration' link
- Select the 'New Orchestration' button on the top-right section of the screen
- Fill in the 'name' (required) of the Orchestration Event; as well as the 'description' (optional) and 'permissions' fields (optional)
- In the next screen, go to the 'Integrations' tab and copy the 'Integration Key' (Routing Key) to the clipboard
Step 2: Configure Alertmanager in Rancher
- Log into the Rancher Dashboard UI (https://monitoring.automation-suite-fqdn)
- Navigate to the Prometheus/Alertmanager configuration, found under 'Monitoring' in your cluster’s dashboard. Click on the 'Routes and Receivers' submenu link
- Select the 'PagerDuty' option
- Paste in the 'Integration Key' obtained from the PagerDuty Orchestration Event created in the previous step
Step 3: Check the Configuration
- Within PagerDuty, navigate to the 'Incidents Tab' and select the 'Alerts' section.