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

upgrade steps for the alert renaming #646

Conversation

hardikhdholariya
Copy link
Contributor

No description provided.


logger.info("Re-enabled the product={}".format(product))
except Exception:
logger.info("Error while product enable/disable. Please manually disable/enable the product on Cyences App Configuration > Product Setup page")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a warning or error message instead
Also add the exception message

except Exception:
logger.info("Error while product enable/disable. Please manually disable/enable the product on Cyences App Configuration > Product Setup page")

alerts_to_disable = [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add comment on why we are doing this:

Removed alert might be present in apps/cyences_app_for_splunk/local/savedsearches.conf, which would constantly generate errors or run searches in all times, etc, etc. To avoid this we are disabling all these alerts if they present in the local folder.

@hardikhdholariya hardikhdholariya merged commit 0f5168c into upgrade-steps-for-release-5.0.0 Oct 3, 2024
1 check passed
@hardikhdholariya hardikhdholariya deleted the upgrade-steps-for-the-alert-name-changes branch October 3, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants