Hosted Chef: Send Node Notifications to Slack possible?


#1

Hello,

I know it’s possible to connect Automate to Slack for notifications. Is there any way to connect Hosted Chef? If not though through the Chef Manage GUI (I don’t see a “notifications” option), via knife or something else? Thanks a lot.

Steve


#2

Hey Steve,

What kind of notifications are you looking to receive? Chef has its handler system that allows you to send post-converge reports or exceptions. They also have specific events you can subscribe to, and trigger from.

Chef Handlers:

https://docs.chef.io/handlers.html

An existing slack handler:

https://github.com/rackspace-cookbooks/chef-slack_handler

Brandon


#3

Excellent, thanks Brandon. Looking into it now…


#4

WORKING! Thanks Brandon. Very cool.