splunk / slack-alerts

Splunk custom alert action for sending messages to Slack channels
https://splunkbase.splunk.com/app/2878/
Apache License 2.0
18 stars 12 forks source link

Unable to send alerts to Slack (hooks.slack.com) #50

Open sairamsadanala opened 1 year ago

sairamsadanala commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Expected behavior Unable to send alerts to Slack (hooks.slack.com)

Screenshots 10-31-2023 15:12:16.534 +0000 ERROR sendmodalert [7101 AlertNotifierWorker-0] - action=slack_webhook_alert STDERR - requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106)

Splunk Environment:

slack-webhook-alert 2.0.1 app : (DEPRECATED) Slack Webhook Alert | Splunkbase slack_alerts 2.3.0: Slack Notification Alert | Splunkbase

1) We have thousands of alert jobs using slack-webhook-alert 2.0.1 and need to update to hooks.slack.com. Any suggestions on SSL issue? 2) How can we migrate from slack-webhook-alert 2.0.1 to slack_alerts 2.3.0 ?

I really appreciate your help.

EatMoreChicken commented 11 months ago

Similar error when running from Splunk Cloud as well: --sslclientsession=\x00\x00\x00 died on exception (exit_code=111): Error in 'sendalert' command: Alert script returned error code 3. (This is from using the command)