hubot-statuspage

1.2.0 • Public • Published

Hubot StatusPage

npm version Node CI

Interaction with the StatusPage.io API to open and update incidents, change component status.

Configuration

Environment Variable Required?
HUBOT_STATUS_PAGE_ID Yes Found in the My Company > API tab.
HUBOT_STATUS_PAGE_TOKEN Yes Found in the My Company > API tab.
HUBOT_STATUS_PAGE_TWITTER_ENABLED No t or f
HUBOT_STATUS_PAGE_SHOW_WORKING No 1 or nothing

Adding to Your Hubot

See full instructions here.

  1. npm install hubot-statuspage --save (updates your package.json file)
  2. Open the external-scripts.json file in the root directory (you may need to create this file) and add an entry to the array (e.g. [ 'hubot-statuspage' ]).

Commands

  • hubot status? - Display an overall status of all components
  • hubot status <component>? - Display the status of a single component
  • hubot status <component> (degraded performance|partial outage|major outage|operational) - Set the status for a component. You can also use degraded, partial or major as shortcuts.
  • hubot status incidents - Show all unresolved incidents
  • hubot status open (investigating|identified|monitoring|resolved) <name>: <message> - Create a new incident using the specified name and message, setting it to the desired status (investigating, etc.). The message can be omitted
  • hubot status update <status> <message> - Update the latest open incident with the specified status and message.

Credits

Originally developed by the team at Travis CI.

Package Sidebar

Install

npm i hubot-statuspage

Weekly Downloads

24

Version

1.2.0

License

MIT

Unpacked Size

29.9 kB

Total Files

17

Last publish

Collaborators

  • rkh
  • stephenyeargin