vigiboard / deployment / settings.ini @ 3c9b8906
History | View | Annotate | Download (4.19 KB)
1 | 5dbfa80d | Francois POIROTTE | ; |
---|---|---|---|
2 | ; vigiboard - Pylons development environment configuration |
||
3 | ; |
||
4 | ; The %(here)s variable will be replaced with the parent directory of this file |
||
5 | ; |
||
6 | ; This file is for deployment specific config options -- other configuration |
||
7 | ; that is always required for the app is done in the config directory, |
||
8 | ; and generally should not be modified by end users. |
||
9 | |||
10 | [DEFAULT] |
||
11 | debug = false |
||
12 | ; Uncomment and replace with the address which should receive any error reports |
||
13 | ;email_to = you@yourdomain.com |
||
14 | smtp_server = localhost |
||
15 | error_email_from = paste@localhost |
||
16 | |||
17 | [server:main] |
||
18 | use = egg:Paste#http |
||
19 | d43086aa | Francois POIROTTE | host = 0.0.0.0 |
20 | port = 80 |
||
21 | 5dbfa80d | Francois POIROTTE | |
22 | [app:main] |
||
23 | use = egg:vigiboard |
||
24 | |||
25 | 340bf711 | Francois POIROTTE | db_basename=vigilo_ |
26 | password_hashing_function=md5 |
||
27 | 5dbfa80d | Francois POIROTTE | lang=fr |
28 | use_kerberos=False |
||
29 | 340bf711 | Francois POIROTTE | help_link=http://foo.bar/help |
30 | 5dbfa80d | Francois POIROTTE | |
31 | ; Nombre d'événements par page. |
||
32 | vigiboard_items_per_page = 15 |
||
33 | |||
34 | ; URL vers laquelle le logo de Vigilo redirige. |
||
35 | 340bf711 | Francois POIROTTE | logo_link = / |
36 | 5dbfa80d | Francois POIROTTE | |
37 | ; Ordre de tri pour la priorité des événements. |
||
38 | ; - Utiliser "asc" si la priorité est inversement proportionnelle à sa |
||
39 | ; valeur (ie: plus le nombre est bas, plus la priorité est élevée). |
||
40 | ; - Utiliser "desc" si la priorité est proportionnelle à sa valeur |
||
41 | ; (ie: plus le nombre est élevé, plus la priorité est élevée). |
||
42 | ; NE PAS METTRE DE GUILLEMETS/APOSTROPHES AUTOUR DE LA VALEUR. |
||
43 | vigiboard_priority_order = asc |
||
44 | |||
45 | ; Default font size, must be a valid size as per the CSS 2.1 specification. |
||
46 | ; See http://www.w3.org/TR/CSS21/fonts.html#font-size-props |
||
47 | vigiboard_font.size = 10px |
||
48 | |||
49 | b2346a00 | Francois POIROTTE | ; Indique si le tri des événements se fait d'abord sur l'état Nagios |
50 | ; puis l'horodatage de l'événement, ou bien l'inverse. |
||
51 | ; Dans tous les cas, d'autres critères de tri interviennent avant |
||
52 | ; (état d'acquittement et priorité ITIL). |
||
53 | state_first = True |
||
54 | |||
55 | 5dbfa80d | Francois POIROTTE | full_stack = true |
56 | cache_dir = /tmp/vigilo/vigiboard/data |
||
57 | beaker.session.key = vigiboard |
||
58 | 340bf711 | Francois POIROTTE | beaker.session.secret = vigilo |
59 | 98ab9016 | Aurelien BOMPARD | sa_auth.cookie_secret = vigilo |
60 | 5dbfa80d | Francois POIROTTE | |
61 | ; If you'd like to fine-tune the individual locations of the cache data dirs |
||
62 | ; for the Cache data, or the Session saves, un-comment the desired settings |
||
63 | ; here: |
||
64 | ;beaker.cache.data_dir = %(here)s/data/cache |
||
65 | ;beaker.session.data_dir = %(here)s/data/sessions |
||
66 | |||
67 | ; DB - sqlite fails, not postgresql ready, use mysql for now |
||
68 | sqlalchemy.url=postgres://vigilo:vigilo@localhost/vigilo |
||
69 | |||
70 | ; echo shouldn't be used together with the logging module. |
||
71 | sqlalchemy.echo = false |
||
72 | sqlalchemy.echo_pool = false |
||
73 | sqlalchemy.pool_recycle = 3600 |
||
74 | |||
75 | base_url_filter.base_url= |
||
76 | set debug = false |
||
77 | |||
78 | ; Logging configuration |
||
79 | ; Add additional loggers, handlers, formatters here |
||
80 | ; Uses python's logging config file format |
||
81 | ; http://docs.python.org/lib/logging-config-fileformat.html |
||
82 | |||
83 | [loggers] |
||
84 | keys = root, vigiboard, sqlalchemy, auth |
||
85 | |||
86 | [handlers] |
||
87 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
88 | |||
89 | [formatters] |
||
90 | keys = generic |
||
91 | |||
92 | ; If you create additional loggers, add them as a key to [loggers] |
||
93 | [logger_root] |
||
94 | 7a5f9bd5 | Aurelien BOMPARD | level = INFO |
95 | 5dbfa80d | Francois POIROTTE | handlers = root_log |
96 | |||
97 | [logger_vigiboard] |
||
98 | 7a5f9bd5 | Aurelien BOMPARD | level = INFO |
99 | 5dbfa80d | Francois POIROTTE | handlers = vigiboard_log |
100 | qualname = vigiboard |
||
101 | |||
102 | [logger_sqlalchemy] |
||
103 | 7a5f9bd5 | Aurelien BOMPARD | level = INFO |
104 | 5dbfa80d | Francois POIROTTE | handlers = sql_log |
105 | qualname = sqlalchemy.engine |
||
106 | |||
107 | ; A logger for authentication, identification and authorization -- this is |
||
108 | ; repoze.who and repoze.what: |
||
109 | [logger_auth] |
||
110 | 7a5f9bd5 | Aurelien BOMPARD | level = INFO |
111 | 5dbfa80d | Francois POIROTTE | handlers = auth_log |
112 | qualname = auth |
||
113 | |||
114 | ; If you create additional handlers, add them as a key to [handlers] |
||
115 | [handler_console] |
||
116 | class = StreamHandler |
||
117 | args = (sys.stderr,) |
||
118 | level = NOTSET |
||
119 | formatter = generic |
||
120 | |||
121 | [handler_sql_log] |
||
122 | 8450ae48 | Aurelien BOMPARD | class = TimedRotatingFileHandler |
123 | 7a5f9bd5 | Aurelien BOMPARD | args = ('/var/log/vigilo/vigiboard/sql.log','a') |
124 | 5dbfa80d | Francois POIROTTE | level = DEBUG |
125 | formatter = generic |
||
126 | 8450ae48 | Aurelien BOMPARD | when = D |
127 | interval = 30 |
||
128 | backupcount = 12 |
||
129 | 5dbfa80d | Francois POIROTTE | |
130 | [handler_root_log] |
||
131 | 8450ae48 | Aurelien BOMPARD | class = TimedRotatingFileHandler |
132 | 7a5f9bd5 | Aurelien BOMPARD | args = ('/var/log/vigilo/vigiboard/root.log','a') |
133 | 5dbfa80d | Francois POIROTTE | level = DEBUG |
134 | formatter = generic |
||
135 | 8450ae48 | Aurelien BOMPARD | when = D |
136 | interval = 30 |
||
137 | backupcount = 12 |
||
138 | 5dbfa80d | Francois POIROTTE | |
139 | [handler_vigiboard_log] |
||
140 | 8450ae48 | Aurelien BOMPARD | class = TimedRotatingFileHandler |
141 | 7a5f9bd5 | Aurelien BOMPARD | args = ('/var/log/vigilo/vigiboard/vigiboard.log','a') |
142 | 5dbfa80d | Francois POIROTTE | level = DEBUG |
143 | formatter = generic |
||
144 | 8450ae48 | Aurelien BOMPARD | when = D |
145 | interval = 30 |
||
146 | backupcount = 12 |
||
147 | 5dbfa80d | Francois POIROTTE | |
148 | [handler_auth_log] |
||
149 | 8450ae48 | Aurelien BOMPARD | class = TimedRotatingFileHandler |
150 | 7a5f9bd5 | Aurelien BOMPARD | args = ('/var/log/vigilo/vigiboard/auth.log','a') |
151 | 5dbfa80d | Francois POIROTTE | level = DEBUG |
152 | formatter = generic |
||
153 | 8450ae48 | Aurelien BOMPARD | when = D |
154 | interval = 30 |
||
155 | backupcount = 12 |
||
156 | 5dbfa80d | Francois POIROTTE | |
157 | ; If you create additional formatters, add them as a key to [formatters] |
||
158 | [formatter_generic] |
||
159 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
160 | datefmt = %H:%M:%S |