Gandi/hubot-pager-v2

Name: hubot-pager-v2

Owner: Gandi

Description: Pagerduty (APIv2) plugin for Hubot.

Created: 2016-10-19 20:48:41.0

Updated: 2018-02-06 02:40:19.0

Pushed: 2017-07-03 00:10:09.0

Homepage: null

Size: 158

Language: CoffeeScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Hubot-pager-v2

Version Downloads Build Status Dependency Status Coverage Status

This plugin is based on the usage we have in Gandi of Pagerduty. It may, in its first instance, not match your setup, so please verify that first.

Configuration
# pager v2 configuration vars
export PAGERV2_API_KEY=""
export PAGERV2_SCHEDULE_ID=""
export PAGERV2_SERVICES="name1,name2"
export PAGERV2_DEFAULT_RESOLVER="nagios"
export PAGERV2_ENDPOINT="/hook"
export PAGERV2_ANNOUNCE_ROOM="#dev"
export PAGERV2_NEED_GROUP_AUTH="0"
export PAGERV2_LOG_PATH="/tmp"

TODO: explain what each configuration variable is meant for.

Usage

TODO: list all commands here for reference.

In the while, hubot help pager should list you all available commands.

Development
Changelog

All changes are listed in the CHANGELOG

Testing
npm install

# will run make test and coffeelint
npm test 

# or
make test

# or, for watch-mode
make test-w

# or for more documentation-style output
make test-spec

# and to generate coverage
make test-cov

# and to run the lint
make lint

# run the lint and the coverage
make
Contribute

Feel free to open a PR if you find any bug, typo, want to improve documentation, or think about a new feature.

Gandi loves Free and Open Source Software. This project is used internally at Gandi but external contributions are very welcome.

Attribution
Authors
License

This source code is available under MIT license.

Copyright

Copyright (c) 2017 - Gandi - https://gandi.net


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.