Skip to content

PagerDuty to Discord Webhook: Seamlessly convert PagerDuty webhook alerts into Discord messages for real-time incident notifications. Perfect for improving team communication and response times.

Notifications You must be signed in to change notification settings

GladHOST/pagerduty-to-discord

Repository files navigation

PagerDuty to Discord

This repository permit to convert PagerDuty webhook v3 into Discord webhook

Usage

  1. Just place this code into a webserver or use the henri9813/pagerduty-to-discord docker image

  2. Retrieve a webhook url from Discord

  3. In PagerDuty, configure a webhook, and replace the domain name "discord.com" by your website url.

    Before: https://discord.com/api/webhooks/1221035950939963412/JUys_fJ92NvV8vxDSDsMP_BsUjPEUxiLyz8hxN-cXT4rvc2kolRVOapti2YXqcOUV7gP

    After: https://my-pagerduty-to-discord.com/api/webhooks/1221035950939963412/JUys_fJ92NvV8vxDSDsMP_BsUjPEUxiLyz8hxN-cXT4rvc2kolRVOapti2YXqcOUV7gP

  4. Have fun

Requirements

  • PHP: >= 8.0.9 ( from dependency )

Contribution

Feel free to contribute on this project.

Some webhooks are not yet handled such as escalation, but when a not hanlded webhook is recieved, it's stored in the requests.json

Screenshots

Screenshot of notifications

Licence

Creative Commons Attribution-NonCommercial 4.0 International License

About

PagerDuty to Discord Webhook: Seamlessly convert PagerDuty webhook alerts into Discord messages for real-time incident notifications. Perfect for improving team communication and response times.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published