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

Slack-Alerts failing possibly due to upgrade to Python 3 #56

Open
mcsclimenti opened this issue Sep 11, 2024 · 0 comments
Open

Slack-Alerts failing possibly due to upgrade to Python 3 #56

mcsclimenti opened this issue Sep 11, 2024 · 0 comments
Labels

Comments

@mcsclimenti
Copy link

Describe the bug

When attempting to send alerts to Slack the alert will never send it to Slack. This began after the upgrade to Splunk Cloud
Version: 9.2.2403.108 Build: 918af2204023. I believe it might be related to Python which I believe was upgraded from version 2 to version 3.

A list of the errors is below:

09-11-2024 03:33:32.232 +0000 WARN sendmodalert [2987359 AlertNotifierWorker-0] - action=slack - Alert action script returned error code=1

09-11-2024 03:33:32.232 +0000 INFO sendmodalert [2987359 AlertNotifierWorker-0] - action=slack - Alert action script completed in duration=168 ms with exit code=1

09-11-2024 03:33:32.224 +0000 FATAL sendmodalert [2987359 AlertNotifierWorker-0] - action=slack STDERR - Alert action failed

09-11-2024 03:33:32.224 +0000 INFO sendmodalert [2987359 AlertNotifierWorker-0] - action=slack STDERR - Slack API responded with HTTP status=200

09-11-2024 03:33:32.224 +0000 INFO sendmodalert [2987359 AlertNotifierWorker-0] - action=slack STDERR - Using configured Slack App OAuth token: REDACTED

09-11-2024 03:33:32.224 +0000 INFO sendmodalert [2987359 AlertNotifierWorker-0] - action=slack STDERR - Running python 3
To Reproduce
Steps to reproduce the behavior:

  1. Configure alert to use Slack App Integration

Expected behavior
Send the alert to Slack

Screenshots
See above for errors

Splunk Environment:

  • Splunk Version: Splunk Cloud version 9.2.2403.108 Build: 918af2204023
  • OS: [eg. Linux, MacOS, Windows]
  • Cloud: [yes if Splunk Cloud, no if self-hosted] yes

Client Environment: (if it's a UI issue)

  • Browser Type: [eg. Brave, Chrome, Firefox]
  • OS: [eg. Windows, MacOS]

Additional context
Add any other context about the problem here.

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

1 participant