In order to be able to send notifications to Slack channels open incidents in PagerDuty directly from XpoLog (via monitors' alerts or via share search in the search console) it is required to define webhooks to the desired channels service(s) in your Slack workspacePagerDuty account.
XpoLog requires internet access to publish messages to Slackopen incidents in PagerDuty.
Slack PagerDuty integration:
- Generate Webhooks integration keys (Slack PagerDuty side):
- Go to : https://get.slack.help/hc/en-us/articles/115005265063-Incoming-WebHooks-for-Slackyour PagerDuty console, sign in and select Configuration > Services:
- Follow the listed steps:
- Click the "Set up Incoming Webhooks" link to go to that section
- Create an app in Slack (You'll need to sign in to your Slack account to create an application).
- Give the app a name and tag it to the desired workspace, save it.
- In the app screen, select the "Incoming Webhooks" section (enable Incoming Webhooks if the option is disabled)service you wish to create an integration key to it.
- Under 'Integrations' tab create a new integration. Name it and select the 'Use our API directly' and ensure 'Events API v2' is selected:
- Click the "Add new WebhookIntegration" , select to which channel the post messages using this Webhook and save.
- You may repeat #v to create multiple Webhook to multiple channels.
- Copy the Webhooks you wish to use in XpoLog with their associated channel namesave it.
- Copy the key from the desired integration to be used in XpoLog.
- Go to : https://get.slack.help/hc/en-us/articles/115005265063-Incoming-WebHooks-for-Slackyour PagerDuty console, sign in and select Configuration > Services:
- Define the channels Webhooks PagerDuty service integration in XpoLog:
- Go to XpoLog Manager left navigation panel Settings > System Settings
- Under the Notifications section click SET next to the Slack PagerDuty part. The Slack The PagerDuty configuration screen opens.
- Enter the channel Service name and it's associated Webhook the associated integration key and click create.
- You may create as many channels Webhooks many integrations as needed.
- Save - a message an incident will be published to opened in all configured channels services to indicate that XpoLog is capable of publishing messagescreating incidents.
Note: if you wish to get System alerts (automatically generated by XpoLog system) to one or more of the configured channels, check the checkbox under the ALERT column next to that channel.