Pagerduty
A Charlesbot plugin that interacts with Pagerduty and does some cool shit.
How does this work
This plugin adds the following !help targets:
!oncall - Find out who's on-call right now
This will query Pagerduty and print out a list of all the on-call folks (for all the schedules).
Installation
pip install charlesbot-pagerduty
Instructions for how to run Charlesbot are over at https://github.com/marvinpinto/charlesbot.
Configuration
In your Charlesbot config.yaml, enable this plugin by adding the following entry to the main section:
main:
enabled_plugins:
- 'charlesbot_pagerduty.pagerduty.Pagerduty'
Then add a pagerduty dictionary block that looks something like:
pagerduty:
token: 'E7px6VVr3PVHZPJq51oa'
subdomain: 'acme'
Note that you will need a valid Pagerduty API token for the token value, a read-only token should suffice here.
Sample config file
main:
slackbot_token: 'xoxb-1234'
enabled_plugins:
- 'charlesbot_pagerduty.pagerduty.Pagerduty'
pagerduty:
token: 'E7px6VVr3PVHZPJq51oa'
subdomain: 'acme'
License
See the LICENSE.txt file for license rights and limitations (MIT).
Metadata
Release files for charlesbot-pagerduty 1.0.1
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 |
|---|---|---|---|---|
| charlesbot-pagerduty-1.0.1.tar.gz | 4.0 kB | Without provenance | Details for charlesbot-pagerduty-1.0.1.tar.gz |
Release files / charlesbot-pagerduty-1.0.1.tar.gz
| Download URL | charlesbot-pagerduty-1.0.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e94056054fcf9a33e2e5c2028ac67c9d61d271a489a9bfa4a6876b2fbf0b0cd
|
|
BLAKE2b-256 checksum How to use checksums |
619a94c32596f26f3b4e06f5ebd9b1fec66c466705b87a84e925290c3ea5447a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for charlesbot-pagerduty 1.0.1
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.