This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SITE_LOGO_URL = 'https://www.coops.tech/images/coops/autonomic'
|
||||
SITE_LOGO_URL = "https://www.coops.tech/images/coops/autonomic"
|
||||
|
||||
DEBUG = True
|
||||
|
||||
@@ -34,33 +34,33 @@ OAUTH2_CLIENT_ID = "{{ oauth_client_id }}"
|
||||
OAUTH2_CLIENT_SECRET = "{{ oauth_client_secret }}"
|
||||
|
||||
SEVERITY_MAP = {
|
||||
'fatal': 0,
|
||||
'critical': 1,
|
||||
'major': 2,
|
||||
'minor': 3,
|
||||
'warning': 4,
|
||||
'indeterminate': 5,
|
||||
'cleared': 5,
|
||||
'normal': 5,
|
||||
'ok': 5,
|
||||
'informational': 6,
|
||||
'debug': 7,
|
||||
'trace': 8,
|
||||
'unknown': 9
|
||||
"fatal": 0,
|
||||
"critical": 1,
|
||||
"major": 2,
|
||||
"minor": 3,
|
||||
"warning": 4,
|
||||
"indeterminate": 5,
|
||||
"cleared": 5,
|
||||
"normal": 5,
|
||||
"ok": 5,
|
||||
"informational": 6,
|
||||
"debug": 7,
|
||||
"trace": 8,
|
||||
"unknown": 9
|
||||
}
|
||||
|
||||
DEFAULT_NORMAL_SEVERITY = 'normal' # 'normal', 'ok', 'cleared'
|
||||
DEFAULT_PREVIOUS_SEVERITY = 'indeterminate'
|
||||
DEFAULT_NORMAL_SEVERITY = "normal"
|
||||
DEFAULT_PREVIOUS_SEVERITY = "indeterminate"
|
||||
|
||||
PLUGINS = ['reject', 'blackout', 'normalise']
|
||||
PLUGINS = ["reject", "blackout", "normalise"]
|
||||
|
||||
DATABASE_URL = "postgres://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
|
||||
DATABASE_NAME = "{{ db_name }}"
|
||||
|
||||
EMAIL_VERIFICATION = False
|
||||
MAIL_FROM = "alerta-noreply@autonomic.zone"
|
||||
MAIL_FROM = "{{ mail_from }}"
|
||||
SMTP_HOST = "mail.gandi.net"
|
||||
SMTP_PASSWORD = "{{ smtp_passwd }}"
|
||||
SMTP_PORT = "587"
|
||||
SMTP_STARTTLS = True
|
||||
SMTP_USERNAME = 'alerta-noreply'
|
||||
SMTP_USERNAME = "alerta-noreply"
|
||||
|
||||
Reference in New Issue
Block a user