Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to integrate chef with slack using the incoming web hooks #7

Open
akshayanayak opened this issue Dec 22, 2014 · 0 comments
Open

Comments

@akshayanayak
Copy link

Hi there,
I am constantly trying to integrate my chef handler reports to slack for reporting the chef-client run. But for some reason, i am not been able to use the method you have suggested as i get the following error.

Running handlers:
[2014-12-22T11:59:29+00:00] INFO: Running report handlers
[2014-12-22T11:59:29+00:00] DEBUG: Sending report to Slack #channel@#{team}.slack.com
[2014-12-22T11:59:29+00:00] DEBUG: Failed to send message to Slack: Slack.com - 404 - No hooks

Chef::Handler::Slack Running handlers complete [2014-12-22T11:59:29+00:00] INFO: Report handlers complete Chef Client finished, 3/10 resources updated in 2.509132201 seconds
For some reason i get a 404 NO HOOKS error. Could you kindly help me with another alternative? Also what are :tokens?? isn't it WEBHOOK URL? as that is the only thing we get during a slack incoming web hook creation.

Hoping to get a response at the earliest as this is very urgent.

Thank you for looking it.
Regards,
Akshay

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant