GithubHelp home page GithubHelp logo

ndaversa / hubot-victorops-bot Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 2.0 11 KB

A hubot script to use victorops to page the current member on duty

License: MIT License

CoffeeScript 91.05% Shell 8.95%

hubot-victorops-bot's People

Contributors

ndaversa avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hubot-victorops-bot's Issues

Further functionality?

Hey there, we're looking at switching from Pagerduty to VictorOps - and there's some hubot functionality we use quite a bit with Pagerduty. I came across this project - just wondering if you're still actively using / developing? Any plans for adding more functionality, or open to contributions?

A few of the things we'd like to add (copied from hubot-pager-me):

  • @hubot pager me <pager> <time>: take pager for X minutes
  • @hubot pager sup: List open incidents
  • @hubot pager ack/resolve <incident>: Ack / resolve an incident
  • @hubot pager ack!/resolve!: Ack / resolve all incidents

Thanks!

Unclear documentation

Hello

I'm having trouble setting up the plugin and it might be because I'm not understanding the documentation correct:

Here are my questions:

HUBOT_VICTOROPS_POST_URL - This should be in the format:
https://alert.victorops.com/integrations/generic/VICTOROPS_ID/alert/API_ID/ <- trailing slash, no routing key?

HUBOT_VICTOROPS_TEAMS_MAP - I have only one team called "infrastructure-team". It's unclear how to format the json here. I tried HUBOT_VICTOROPS_TEAMS_MAP={"ops":"infrastructure-team"} but did not get the expected result.

When asked for whois oncall the bot trows and error

[Tue Nov 08 2016 09:18:07 GMT+0200 (EET)] ERROR TypeError: robot.adapter.client.getChannelGroupOrDMByName is not a function
  at invalidChannel (/Users/dobber/Projects/Bishop/node_modules/hubot-victorops-bot/src/victorops.coffee:55:17, <js>:46:40)
  at TextListener.callback (/Users/dobber/Projects/Bishop/node_modules/hubot-victorops-bot/src/victorops.coffee:125:12, <js>:149:16)
  at executeListener (/Users/dobber/Projects/Bishop/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19)
  at allDone (/Users/dobber/Projects/Bishop/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16)
  at /Users/dobber/Projects/Bishop/node_modules/async/lib/async.js:274:13
  at Object.async.eachSeries (/Users/dobber/Projects/Bishop/node_modules/async/lib/async.js:142:20)
  at Object.async.reduce (/Users/dobber/Projects/Bishop/node_modules/async/lib/async.js:268:15)
  at /Users/dobber/Projects/Bishop/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22
  at _combinedTickCallback (internal/process/next_tick.js:67:7)
  at process._tickCallback (internal/process/next_tick.js:98:9)```

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.