pagerduty-auto-ack
Sometimes you can not acknowledge an incident manually, but you also can not really respond to it. These are (and should be when you are on-call) usually short moments, taking about 15-20 minutes. A good example here is taking a shower. In such cases you may want to automatically acknowledge the incidents, to prevent loud notifications or calls from disturbing other people.
This script monitors the incidents that are assigned to you and acks them if needed. At the end of execution (when stopped with C^c) it displays the incidents that it acknowledged.
usage: pagerduty-auto-ack [-h] --pagerduty-api-key PAGERDUTY_API_KEY [--interval INTERVAL] [--urgency {high,low}]
Monitor and automatically ACKnowledge PagerDuty incidents
options:
-h, --help show this help message and exit
--pagerduty-api-key PAGERDUTY_API_KEY
--interval INTERVAL how often (in seconds) to run the check
--urgency {high,low} defaults to all urgencies
Requirements
It requires a user-level API key to run.
This API key starts with the u+ prefix and can be generated by following the PagerDuty API docs.
How to run it
Fast and easy way is to use pipx:
pipx install pagerduty-auto-ack
pagerduty-auto-ack --pagerduty-api-key <api_key>
For development you can clone the repo and run the script with poetry:
poetry install
poetry run pagerduty-auto-ack --pagerduty-api-key <api_key>
Metadata
Release files for pagerduty-auto-ack 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pagerduty_auto_ack-1.0.0.tar.gz | 3.4 kB | Without provenance | Details for pagerduty_auto_ack-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pagerduty_auto_ack-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pagerduty_auto_ack-1.0.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / pagerduty_auto_ack-1.0.0.tar.gz
| Download URL | pagerduty_auto_ack-1.0.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
577bca34c72a1e5eed018f71d7e658a9dd13cafdc3263f067b4f8f874f81b3d2
|
|
BLAKE2b-256 checksum How to use checksums |
5454f9de440dad34c3254ef41db5705f5e682469a7f038be19be3beab93d79d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / pagerduty_auto_ack-1.0.0-py3-none-any.whl
| Download URL | pagerduty_auto_ack-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
678ee5c7bee51d932a4959c1ffd28d5f9088236f0681f4f5c4b2eaded7b54d91
|
|
BLAKE2b-256 checksum How to use checksums |
51f1c20031726bc8864752d6d50814c34fb8d1a3c831babb278a1d9f885f364f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for pagerduty-auto-ack 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.