hubot-statuspage
v1.2.2
Published
Interaction with the StatusPage.io API to open and update incidents, change component status.
Downloads
75
Readme
Hubot StatusPage
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.
npm install hubot-statuspage --save
(updates yourpackage.json
file)- 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 componentshubot status <component>?
- Display the status of a single componenthubot 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 incidentshubot 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 omittedhubot status update <status> <message>
- Update the latest open incident with the specified status and message.
Credits
Originally developed by the team at Travis CI.