slack-alerts icon indicating copy to clipboard operation
slack-alerts copied to clipboard

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

Open sairamsadanala opened this issue 1 year ago • 1 comments

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:

  • Splunk Version: [9.1.1]
  • OS: [RHEL 7] Additional context We are using slack-webhook-alert 2.0.1 version and when I am changing the slack endpoint from slack proxy endpoint to hooks.slack.com, receiving “slack_webhook_alert STDERR - requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1106).”. I don’t see any certs configured with in the slack-webhook-alert 2.0.1 app. I downloaded slack_alerts 2.3.0 and observe there is a difference in the attributes of the alert configuration. For an example: in slack-webhook-alertm we have action.slack_webhook_alert.param.slack_webhook but in slack_alerts it is action.slack.param.webhook_url.

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.

sairamsadanala avatar Oct 31 '23 16:10 sairamsadanala