github/hubot-scripts — pull request #858 by jnewland (2013-03-29 18:28:17+00:00)
Title: Open source @github's Hubot PagerDuty integration

## Usage

`hubot pager help`

```
/who's on call # return the username of who's on call

/pager me page # create a new incident

/pager me 60 # take the pager for 60 minutes

/pager me incidents # return the current incidents
/pager me problems # return all open inicidents

/pager me ack 24 # ack incident #24
/pager me resolve 24 # resolve incident #24
```

## Config

Some environment variables are required:

```
HUBOT_PAGERDUTY_USERNAME
HUBOT_PAGERDUTY_PASSWORD
HUBOT_PAGERDUTY_SUBDOMAIN
HUBOT_PAGERDUTY_APIKEY
HUBOT_PAGERDUTY_SCHEDULE_ID
```

## Caveats

`/pager me 60` assumes your Campfire and PagerDuty usernames are identical.

## Easter Eggs

`major` can be substituted for `pager` in most places. Thank Siri for this one.