p5-hubot is a Hubot written in Perl with AnyEvent. The original Hubot is from Github written in NodeJS.
We are using IRC for internal communication at Internetstores. IRC Service is provided by InspIRCd with GnuTLS and authentication.
p5-hubot is the bot in our IRC channel. p5-hubot provides some basic plugins:
- ascii
- help
- roles
- shorten
- tweet
There is also an additional repository with more plugins called p5-hubot-scripts.
we are using the following plugins
- help
plugin from p5-hubot core. displays contents of perldoc from every plugin.
- sayhttpd
plugin from p5-hubot-scripts repository. This plugin provides a HTTP API. You can use curl to post any message to your IRC Channel:
- running
this is a internal plugin. we can query running versions of your software in production.
- rules
plugin from p5-hubot core. displays the rules of the robot.
- jira
plugin from p5-hubot-scripts repository. This plugin shows newly created issues from JIRA in our channel
- lessthanthree
plugin from p5-hubot-scripts repository. It provides some love to you :)
our p5-hubot in action
Nagios/Icinga
Icinga uses sayhttpd to inform channel users about service/host problems:
Git
Our Git post-receive
hook sends commit messages with the repository name into the channel with the sayhttpd plugin:
Query running version from production
We are using git tags to deploy our software with MCollective to our servers. The running plugin allows you to get the running version from production: (this plugin is not available for download)
JIRA notifications
We are using JIRA for our issues. If a new issue in JIRA is created, the new issue will be displayed in our IRC channel. It is using the jira plugin. You need to enable Webhooks in JIRA, have a look at my inline doc from the jira plugin.
some love
The lessthanthree plugin provides some love to you:
We have fun with our p5-hubot! - try it yourself! :)