Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

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

Open
sairamsadanala opened this issue Oct 31, 2023 · 1 comment
Open

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

sairamsadanala opened this issue Oct 31, 2023 · 1 comment
Labels

Comments

@sairamsadanala
Copy link

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.

@EatMoreChicken
Copy link

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)

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

No branches or pull requests

2 participants