-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.ini.in
131 lines (101 loc) · 2.49 KB
/
settings.ini.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[bus]
; Liste des serveurs AMQP (noms ou adresses IP) à utiliser,
; séparés par des virgules. Un numéro de port peut être spécifié
; en ajoutant ":" suivi du numéro après le nom / l'adresse du serveur.
; Par défaut, le port 5672 est utilisé lorsque l'option "use_ssl" vaut
; False ou 5671 lorsque l'option vaut True.
hosts = localhost
; Nom d'utilisateur à utiliser pour se connecter au bus.
user = vigilo-admin
; Mot de passe associé
password = vigilo-admin
; Chiffrement de la connexion
use_ssl = False
; Logguer le trafic lié au bus
log_traffic = False
;
; Exchanges
;
[exchange:event]
type = fanout
[exchange:perf]
type = fanout
[exchange:state]
type = fanout
[exchange:correlation]
type = fanout
[exchange:nagios]
type = fanout
;type = direct
[exchange:command]
type = direct
[exchange:statistics]
type = fanout
[exchange:computation-order]
type = fanout
;
; Bindings
;
[binding:event-correlator]
exchange = event
queue = correlator
[binding:computation-order-correlator]
exchange = computation-order
queue = correlator
[binding:command-vigiconf]
exchange = command
queue = connector-vigiconf
key = vigiconf
[binding:command-nagios-localhost]
exchange = command
queue = connector-nagios-localhost
key = nagios
; commandes Nagios pour le groupe Vigilo
[binding:nagios-nagios-localhost-Vigilo]
exchange = nagios
queue = connector-nagios-localhost
key = Vigilo
;
; Logging
;
[loggers]
keys = root,twisted
[handlers]
keys = syslog,console,errors
[formatters]
keys = consoleFormatter,syslogFormatter,errorFormatter
[logger_root]
level = INFO
handlers = syslog,console,errors
[logger_twisted]
level = WARNING
qualname = twisted
propagate = 0
handlers = syslog,console,errors
[handler_console]
class = StreamHandler
level = NOTSET
formatter = consoleFormatter
args = (sys.stdout,)
[handler_syslog]
class = handlers.SysLogHandler
level = NOTSET
formatter = syslogFormatter
args = '/dev/log', 'daemon'
[handler_errors]
level = ERROR
class = handlers.RotatingFileHandler
args = ('@LOCALSTATEDIR@/log/vigilo/connector/error.log', 'a', 1024*1024*10, 5)
formatter = errorFormatter
[formatter_consoleFormatter]
format = [%(created)f] %(levelname)s::%(name)s::%(message)s
datefmt =
class = vigilo.common.logging.VigiloFormatter
[formatter_syslogFormatter]
format = %(processName)s[%(process)d]: %(levelname)s::%(message)s
datefmt =
class = vigilo.common.logging.VigiloFormatter
[formatter_errorFormatter]
format = %(asctime)s %(levelname)s %(name)s::%(message)s
datefmt =
class = vigilo.common.logging.VigiloFormatter