mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-24 04:21:12 +00:00
1.2 KiB
1.2 KiB
Check-System-Usage
About
A Python3 script to send your desired payload to PagerDuty and create an incident
Steps
-
Make sure you have create a serive in your PagerDuty account. if not done already
-
Copy the Integration Key from the settings of the service as shown below and paste it in your env file
-
Import the file as a module
-
Send your desired payload to the module
-
Finalize your payload accoring the parameters(severity,components)
-
Voila! If everything works fine you will recieve a Page