· 5 years ago · Mar 03, 2020, 04:34 PM
1## MOM ##
2
3DATABASE_URL = 'postgres://postgres:postgres@alerta_db:5432/monitoring'
4PLUGINS = ['remote_ip', 'reject', 'blackout', 'normalise', 'enhance', 'heartbeat', 'forwarder']
5
6SIGNUP_ENABLED = "False"
7SECRET_KEY = 'changeme'
8
9# Forwarder Settings
10
11HMAC_AUTH_CREDENTIALS = [
12 {
13 'id': 'AKID001',
14 'key': 'supersecret',
15 'algorithm': 'sha256'
16 }
17]
18
19
20X_FORWARDED = 'manager-of-managers'
21FWD_DESTINATIONS = [
22 ('http://nag1.example.net:8080/api', 'AKID002', 'supersecret2', ['*']) # forward everything ie. alerts and actios
23]
24
25ALLOWED_ENVIRONMENTS = ['Production', 'Development']
26
27## MLM ##
28
29DATABASE_URL = 'postgres://postgres:postgres@alerta_db:5432/monitoring'
30PLUGINS = ['remote_ip', 'reject', 'blackout', 'normalise', 'enhance', 'heartbeat', 'forwarder']
31
32SIGNUP_ENABLED = "False"
33SECRET_KEY = 'changeme'
34
35
36# Forwarder Settings
37HMAC_AUTH_CREDENTIALS = [
38 {
39 'id': 'AKID002',
40 'key': 'supersecret2',
41 'algorithm': 'sha256'
42 }
43]
44
45X_FORWARDED = 'mid-level-manager'
46FWD_DESTINATIONS = [
47 ('http://nagios.example.net:8080/api', 'AKID001', 'supersecret', ['*']) # forward everything ie. alerts and actions
48]
49
50ALLOWED_ENVIRONMENTS = ['Production', 'Development']