https://github.com/opsway/chef-hipchat
Opscode Chef HipChat exception handler
https://github.com/opsway/chef-hipchat
Last synced: about 1 month ago
JSON representation
Opscode Chef HipChat exception handler
- Host: GitHub
- URL: https://github.com/opsway/chef-hipchat
- Owner: opsway
- License: other
- Created: 2013-04-01T11:26:13.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-12-11T08:44:01.000Z (over 12 years ago)
- Last Synced: 2025-12-12T22:43:17.175Z (6 months ago)
- Language: Ruby
- Size: 143 KB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Opscode Chef HipChat integration and Monit hipchat utility
============
Includes two recipes:
* default.rb - integration as Chef exception handler
* command.rb - command line utility to send hipchat messages for Monit
Reports failures with node.name and exception details to your HipChat room
Based on:
https://github.com/mojotech/hipchat/blob/master/lib/hipchat/chef.rb
https://github.com/imeyer/chef-handler-graphite/wiki
http://community.opscode.com/questions/188
Usage
------------
1. include_recipe "hipchat" in your cookbook
2. Add Databag "secrets" and put an item to it with content, like:
{
"id": "hipchat",
"api_token" : "2520f5f2f3d33cefb61c08asdfasdfasdf",
"room_name" : "Main"
}
OR
include_recipe "hipchat::command"
You can then use
/usr/bin/hipchat "My test command"