0.04
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A Lita handler to interact with PagerDuty
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 3.0

Runtime

>= 4.0
 Project Readme

lita-pagerduty

Build Status MIT License RubyGems :: RMuh Gem Version Coveralls Coverage Code Climate Gemnasium

A PagerDuty plugin for Lita.

Installation

Add lita-pagerduty to your Lita instance's Gemfile:

gem "lita-pagerduty"

Configuration

Create a PagerDuty API key (v2). You will need to give it FullAccess to update incidents.

Add the following variables to your Lita config file:

config.handlers.pagerduty.api_key = ''
config.handlers.pagerduty.email   = ''

If your account has the teams capability and you want to scope Lita's access to a specific set of teams, you can set the list of teams by adding the following to your config file:

config..handlers.pagerduty.teams = [ "team-a", "team-b" ]

Usage

Misc

pager identify <email address>     - Associate your chat user with your email address
pager forget                       - Remove your chat user / email association

Specific incidents

pager incidents all                - Show all open incidents
pager incidents mine               - Show all open incidents assigned to me
pager incident <incident ID>       - Show a specific incident

Incident notes

pager notes <incident ID>          - Show all notes for a specific incident

Acknowledging an incident

pager ack all                      - Acknowledge all triggered incidents
pager ack mine                     - Acknowledge all triggered incidents assigned to me
pager ack <incident ID>            - Acknowledge a specific incident

Resolving an incident

pager resolve all                  - Resolve all triggered incidents
pager resolve mine                 - Resolve all triggered incidents assigned to me
pager resolve <incident ID>        - Resolve a specific incident

Schedules

pager oncall - List available schedules
pager oncall <schedule> - Show who is on call for the given schedule

License

MIT