Go to file
Daniel Carrillo 7489c32794 remove sys.args from QApplication construction 2020-09-13 19:32:07 +02:00
.github/workflows Add github actions 2020-09-12 16:21:20 +02:00
PagerDutyChecker Use pathlib instead of os.path to be OS independent 2020-09-13 13:00:12 +02:00
resources Add README.md 2020-09-05 16:57:04 +02:00
.gitignore Add logging 2020-09-12 19:28:09 +02:00
README.md Update README.md 2020-09-12 16:25:31 +02:00
noxfile.py First commit 2020-09-04 17:08:28 +02:00
pdcheck.py remove sys.args from QApplication construction 2020-09-13 19:32:07 +02:00
requirements.txt Pin pdpyras library 2020-09-05 16:24:26 +02:00

README.md

Pager Duty check

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.

Configuration

Auth

An API Token from your Pager Duty settings is needed.

Configuration file

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.