GithubHelp home page GithubHelp logo

rlugojr / hubot-statuspage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raventools/hubot-statuspage

0.0 1.0 0.0 10 KB

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

Home Page: https://www.npmjs.com/package/hubot-statuspage

License: MIT License

CoffeeScript 95.40% Shell 4.60%

hubot-statuspage's Introduction

Hubot StatusPage

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

Build Status

Configuration

  • Register the two values as environment variables when starting your bot (as usual with Hubot scripts).
  • export HUBOT_STATUS_PAGE_ID=page_id_for_account
  • export HUBOT_STATUS_PAGE_TOKEN=token_for_status_page
  • export HUBOT_STATUS_PAGE_TWITTER_ENABLED=t_or_f

If you are using Heroku to host your bot, replace export ... with heroku set:config ....

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.

hubot-statuspage's People

Contributors

stephenyeargin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.