Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.07 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.07 KB

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