To integrate Pagerduty with Mail Flow Monitoring follow these steps:
- In Pagerduty go to Services and click +New Service button.
- Type in the name of service for example MailFlowMonitoring and select Use our API directly under integrations settings.
- Click Add Service button to save.
- Copy the integration key from the integration tab of the service you've just created.
- Replace the APIKEY in the URL https://events.pagerduty.com/integration/APIKEY/enqueue with the integration key you've copied above.
Inside of MailFlowMonitoring:
- Click on Notification Policies in the left bar and then click the New button.
- Type in Pagerduty as the notification name.
- Click Webhook under type and Pagerduty under Integration.
- Paste the URL you created with integration key above and paste under Webhook URL.
- Click Save button to save notification policy.