Skip to content

PagerDuty/lita-pagerduty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

653774f · Mar 21, 2019

History

96 Commits
Mar 21, 2019
Oct 16, 2018
Mar 21, 2019
Oct 16, 2018
Nov 20, 2018
Oct 20, 2018
Oct 20, 2018
Nov 24, 2015
Mar 24, 2014
Mar 23, 2014
Jul 28, 2014
Mar 21, 2019
Oct 20, 2018
Mar 21, 2019

Repository files navigation

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