Reset Search
 

 

Article

Hubot Integration

« Go Back

Information

 
Integration_Notes
Hubot is your company's robot. Install him in your VictorOps timeline to dramatically improve employee efficiency.

The Hubot - VictorOps Adapter allows your Hubot to join your VictorOps timeline. You can then address Hubot with timeline chat messages in the usual way. After giving your Hubot instance a name (just Hubot in the example below) you can then address it from the timeline with or without an @.

User-added image



Configuration Steps:
 
  1. First, if you have not already, install Hubot according to these instructions: https://github.com/github/hubot/tree/master/docs
     
  2. From the VictorOps app select Settings ==> Integrations ==> Hubot under the Timeline integrations. This is where you will find your HUBOT_VICTOROPS_KEY
    User-added image
  3. You can then follow the installation steps on Github copied below here:



Installation

First, install Hubot according to the instructions: https://github.com/github/hubot/tree/master/docs

  1. Add the VictorOps adapter to your Hubot's dependencies in package.json:

    ...
    "dependencies": {
      "hubot-victorops": ">=0.0.2",
      ...
    }
    ...
    
  2. Run Hubot with the VictorOps adapter:

    bin/hubot --adapter victorops
    

Configuration

Your Hubot will need a login key to connect to VictorOps. Your Hubot key is available at the "Hubot" link of your VictorOps Integrations page. Configuration of the key is in an environment variable:

export HUBOT_VICTOROPS_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

Installation alternatives

Rather than edit your Hubot's dependencies, you can install the adapter directly from github:

npm install git://github.com/victorops/hubot-victorops.git

Or from npmjs.org:

npm install hubot-victorops

Hubot and the Transmogrifier

You can annotate Hubot commands directly to take automated actions.

To accomplish this you will need an additional Hubot script that can be found here.

Then you will need to add an annotation with the name "HUBOT COMMAND" and you will be able to all Hubot programatically.

  

ttt_fig12.png

 

Feedback


 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255