Slack alerts via Webhook

dmitchell
Contributor

I am trying to configure webhooks for events to post to a specified Slack channel. The channel already has the incoming-webhook app configured to post. I have created webhooks in Jamf pro pointing to the URL as JSON (tried XML too, no luck) but I just can't get it to post. I use the same channel for AutoPkgr notifications as well and those work fine.

I am not very Slack or Webhook savy, is there a step I am missing?

2 REPLIES 2

bumbletech
Contributor III

Would @brysontyrrell 's Jackalope be of any help?

EDIT: Whoops, forgot the link: http://jackalope-slack.readthedocs.io/en/latest/

jaguilar
New Contributor II

I actually tried implementing this last week. Apparently, you need to set up some third-party intermediary (such as Jackalope) to get Jamf to talk to Slack in a way that Slack will understand. I ended up just configuring an Email integration in Slack. I then set up a user in Jamf and used the e-mail address generated from Slack. I logged in as that user and enabled the desired e-mail notifications. So far it's been working well. For example, I have a Smart Group that checks for failing batteries. When a Mac enters that group, an e-mail gets sent to my Slack channel.