ndaversa / hubot-victorops-bot Goto Github PK
View Code? Open in Web Editor NEWA hubot script to use victorops to page the current member on duty
License: MIT License
A hubot script to use victorops to page the current member on duty
License: MIT License
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 incidentsThanks!
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)```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.