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

Add exclude regexp filters for pgoperate check PG_CHECK_LOGFILES #19

Open
rolandstirnimann opened this issue Jan 25, 2022 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@rolandstirnimann
Copy link
Collaborator

Currently the pgoperate check module allows to include specific thresholds with the following parameter:

PG_CHECK_LOGFILES_THRESHOLD="ERROR|FATAL|PANIC"

However, it would be helpful to have an additional parameter to exclude specific patterns based on a regexp. Example:
PG_CHECK_LOGFILES_EXCLUDE_PATTERN="<regexp>"

This means the check searches first for the given thresholds and applies then the exclude pattern. Everything that remains afterwards will be treaten as issue.

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

No branches or pull requests

2 participants