Add placeholder templates
This commit is contained in:
parent
0a171abe48
commit
3190f33edb
5
ansible/templates/alerta.conf
Normal file
5
ansible/templates/alerta.conf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
sslverify = no
|
||||||
|
output = psql
|
||||||
|
endpoint = http://localhost:8080/api
|
||||||
|
timezone = Europe/London
|
24
ansible/templates/alertad.conf
Normal file
24
ansible/templates/alertad.conf
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
DEBUG = True
|
||||||
|
SECRET = "^Bpa%i8_nCAc8fI4l9)nhn2EG2!@GJga"
|
||||||
|
AUTH_REQUIRED = True
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
DEFAULT_NORMAL_SEVERITY = 'normal' # 'normal', 'ok', 'cleared'
|
||||||
|
DEFAULT_PREVIOUS_SEVERITY = 'indeterminate'
|
||||||
|
|
||||||
|
PLUGINS = ['reject', 'blackout', 'geoip', 'normalise']
|
||||||
|
GEOIP_URL = 'http://ip-api.com/json'
|
1
ansible/templates/config.json
Normal file
1
ansible/templates/config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"endpoint": "https://alerta-api.example.com"}
|
Reference in New Issue
Block a user