This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A charlesbot pagerduty plugin

Project Description

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).

Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
charlesbot-pagerduty-1.0.1.tar.gz (4.0 kB) Copy SHA256 Checksum SHA256 Source Nov 29, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting