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

AUTO_REFRESH_INTERVAL; be able to easily copy/paste alert. #1880

Open
Damian92666 opened this issue Sep 6, 2023 · 0 comments
Open

AUTO_REFRESH_INTERVAL; be able to easily copy/paste alert. #1880

Damian92666 opened this issue Sep 6, 2023 · 0 comments

Comments

@Damian92666
Copy link

Is your feature request related to a problem? Please describe.
I would like to easily copy/paste alert. When I select a specific alert, the page is refreshing automatically every 5 seconds. I've tried to set AUTO_REFRESH_INTERVAL = 60000 in alertad.conf but this is not working. I have to login and set "Refresh interval" to 60 second. But I don't want to login. Should I add something else? My alertad.conf:

DEBUG = False
SECRET = my_secret
ALLOWED_ENVIRONMENTS = ['Prod','Acc','Test']
DEFAULT_ENVIRONMENT = 'Prod'
PLUGINS = ['enhance', 'reject', 'prometheus']
CUSTOMER_VIEWS = False
AUTH_REQUIRED = False
DEFAULT_FILTER = {'status': ['open']}
DEFAULT_FIELD = 'environment'
ACTIONS = ['unshelve', 'unack']
AUTO_REFRESH_INTERVAL = 60000
COLUMNS = ['severity', 'status', 'lastReceiveTime', 'timeoutLeft', 'duplicateCount', 'cus', 'environment', 'service', 'resource', 'event', 'value', 'text']
COLOR_MAP = {
'severity': {
'critical': '#ff706b',
'warning': '#1e90ff',
'major' : '#ffa500',
'indeterminate': 'lightblue',
'ok': '#00CC00',
'unknown': 'silver'
},
'text':'black'
}

DEFAULT_FIELD is not working as well, but ACTIONS and DEFAULT_FILTER are working properly.

Describe the solution you'd like
AUTO_REFRESH_INTERVAL is working properly. I can easily copy/paste my alert.

Describe alternatives you've considered
Freeze a screen when I select specific alert (for 2 minutes for example).

Thank you in advance,
Damian

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

No branches or pull requests

1 participant