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.
- we have on main schedule that is for the general alert dispatch (
- only one person is on call at any given time
- we don't use teams
# 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.
TODO: list all commands here for reference.
In the while,
hubot help pager should list you all available commands.
All changes are listed in the CHANGELOG
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
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.
This source code is available under MIT license.
Copyright (c) 2017 - Gandi - https://gandi.net