|
7 months ago | |
---|---|---|
.github/workflows | 7 months ago | |
PagerDutyChecker | 7 months ago | |
resources | 8 months ago | |
.gitignore | 7 months ago | |
README.md | 7 months ago | |
noxfile.py | 8 months ago | |
pdcheck.py | 7 months ago | |
requirements.txt | 8 months ago |
A POC for a multi os (QT5) system tray app for checking pager duty incident status. Currently when an incident is triggered or marked as acknowledge an icon is shown accordingly at your system tray, when clicking, a menu with links to the Pager Duty incident page is shown.
An API Token from your Pager Duty settings is needed.
Create a file named pdcheck.yml
at the same level of pdcheck.py
, example:
---
interval: 30 # Interval between checks, 30 seconds by default
pd_api_key: xxxxxx # Pager Duty API key
pd_teams: # Array of team identifiers to filtering by. Empty by default.
- XXXXXX
pd_users: # Array of user identifiers to filtering by. Empty by default.
- XXXXXXX
The system environment variable PD_API_KEY
can be used instead of setting pd_api_key
.