mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-03-19 20:19:51 +00:00
Create Readme.md
This commit is contained in:
parent
c3cbaf2edf
commit
3072b534c8
23
scripts/PagerDuty-Integration/Readme.md
Normal file
23
scripts/PagerDuty-Integration/Readme.md
Normal file
@ -0,0 +1,23 @@
|
||||
## Check-System-Usage
|
||||
|
||||

|
||||

|
||||
[](https://github.com/psf/black)
|
||||

|
||||
|
||||
### 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
|
||||
<img width="1344" alt="Screenshot 2022-10-11 at 12 09 33 AM" src="https://user-images.githubusercontent.com/10003129/194933099-13dd03b8-c139-4366-bf18-272fd2ae7392.png">
|
||||
|
||||
* 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user