vigiboard / development.ini @ 88c9eb8e
History | View | Annotate | Download (4.03 KB)
1 | 49c8da1d | Thomas ANDREJAK | # |
---|---|---|---|
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 = true |
||
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 | 15636990 | Francois POIROTTE | host = 0.0.0.0 |
20 | 406ed350 | Francois POIROTTE | port = 8085 |
21 | 49c8da1d | Thomas ANDREJAK | |
22 | [app:main] |
||
23 | use = egg:vigiboard |
||
24 | b4aa7dff | Thomas ANDREJAK | |
25 | 88c9eb8e | Francois POIROTTE | db_basename= |
26 | ; vigilo_ |
||
27 | ;password_hashing_function=md5 |
||
28 | password_hashing_function= |
||
29 | 5dbfa80d | Francois POIROTTE | lang=fr |
30 | use_kerberos=False |
||
31 | 406ed350 | Francois POIROTTE | help_link=http://foo.bar/help |
32 | 5dbfa80d | Francois POIROTTE | |
33 | 3e6ee4db | Francois POIROTTE | ; Nombre d'événements par page. |
34 | ee3ae8c8 | Francois POIROTTE | vigiboard_items_per_page = 15 |
35 | 0f56fff9 | Francois POIROTTE | |
36 | ; URL vers laquelle le logo de Vigilo redirige. |
||
37 | 406ed350 | Francois POIROTTE | logo_link = / |
38 | 0f56fff9 | Francois POIROTTE | |
39 | 3e6ee4db | Francois POIROTTE | ; Ordre de tri pour la priorité des événements. |
40 | 434b574d | Francois POIROTTE | ; - Utiliser "asc" si la priorité est inversement proportionnelle à sa |
41 | ; valeur (ie: plus le nombre est bas, plus la priorité est élevée). |
||
42 | ; - Utiliser "desc" si la priorité est proportionnelle à sa valeur |
||
43 | ffb803df | Francois POIROTTE | ; (ie: plus le nombre est élevé, plus la priorité est élevée). |
44 | 434b574d | Francois POIROTTE | ; NE PAS METTRE DE GUILLEMETS/APOSTROPHES AUTOUR DE LA VALEUR. |
45 | vigiboard_priority_order = asc |
||
46 | |||
47 | 0f56fff9 | Francois POIROTTE | ; Default font size, must be a valid size as per the CSS 2.1 specification. |
48 | ; See http://www.w3.org/TR/CSS21/fonts.html#font-size-props |
||
49 | vigiboard_font.size = 10px |
||
50 | |||
51 | b2346a00 | Francois POIROTTE | ; Indique si le tri des événements se fait d'abord sur l'état Nagios |
52 | ; puis l'horodatage de l'événement, ou bien l'inverse. |
||
53 | ; Dans tous les cas, d'autres critères de tri interviennent avant |
||
54 | ; (état d'acquittement et priorité ITIL). |
||
55 | state_first = True |
||
56 | b4aa7dff | Thomas ANDREJAK | |
57 | 49c8da1d | Thomas ANDREJAK | full_stack = true |
58 | cache_dir = %(here)s/data |
||
59 | beaker.session.key = vigiboard |
||
60 | 0ae87c06 | Francois POIROTTE | beaker.session.secret = vigilo |
61 | sa_auth.cookie_secret = vigilo |
||
62 | 49c8da1d | Thomas ANDREJAK | |
63 | # If you'd like to fine-tune the individual locations of the cache data dirs |
||
64 | # for the Cache data, or the Session saves, un-comment the desired settings |
||
65 | # here: |
||
66 | #beaker.cache.data_dir = %(here)s/data/cache |
||
67 | #beaker.session.data_dir = %(here)s/data/sessions |
||
68 | |||
69 | 34daaff8 | Gabriel DE PERTHUIS | # DB - sqlite fails, not postgresql ready, use mysql for now |
70 | 5dbfa80d | Francois POIROTTE | sqlalchemy.url=postgres://vigilo:vigilo@localhost/vigilo |
71 | 49c8da1d | Thomas ANDREJAK | sqlalchemy.echo = false |
72 | sqlalchemy.echo_pool = false |
||
73 | sqlalchemy.pool_recycle = 3600 |
||
74 | |||
75 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
76 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
77 | # execute malicious code after an exception is raised. |
||
78 | #set debug = false |
||
79 | |||
80 | # Logging configuration |
||
81 | # Add additional loggers, handlers, formatters here |
||
82 | # Uses python's logging config file format |
||
83 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
84 | |||
85 | [loggers] |
||
86 | keys = root, vigiboard, sqlalchemy, auth |
||
87 | |||
88 | [handlers] |
||
89 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
90 | |||
91 | [formatters] |
||
92 | keys = generic |
||
93 | |||
94 | # If you create additional loggers, add them as a key to [loggers] |
||
95 | [logger_root] |
||
96 | 3d0d254c | Francois POIROTTE | level = INFO |
97 | handlers = console |
||
98 | 49c8da1d | Thomas ANDREJAK | |
99 | [logger_vigiboard] |
||
100 | 3e6ee4db | Francois POIROTTE | level = INFO |
101 | 49c8da1d | Thomas ANDREJAK | handlers = vigiboard_log |
102 | qualname = vigiboard |
||
103 | |||
104 | [logger_sqlalchemy] |
||
105 | b2346a00 | Francois POIROTTE | level = INFO |
106 | 15636990 | Francois POIROTTE | handlers = console |
107 | #sql_log |
||
108 | 49c8da1d | Thomas ANDREJAK | qualname = sqlalchemy.engine |
109 | |||
110 | # A logger for authentication, identification and authorization -- this is |
||
111 | # repoze.who and repoze.what: |
||
112 | [logger_auth] |
||
113 | 3d0d254c | Francois POIROTTE | level = WARN |
114 | 49c8da1d | Thomas ANDREJAK | handlers = auth_log |
115 | qualname = auth |
||
116 | |||
117 | # If you create additional handlers, add them as a key to [handlers] |
||
118 | [handler_console] |
||
119 | class = StreamHandler |
||
120 | args = (sys.stderr,) |
||
121 | level = NOTSET |
||
122 | formatter = generic |
||
123 | |||
124 | [handler_sql_log] |
||
125 | class = FileHandler |
||
126 | args = ('log/sql.log','a') |
||
127 | 3e6ee4db | Francois POIROTTE | level = INFO |
128 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
129 | |||
130 | [handler_root_log] |
||
131 | class = FileHandler |
||
132 | args = ('log/root.log','a') |
||
133 | 3e6ee4db | Francois POIROTTE | level = INFO |
134 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
135 | |||
136 | [handler_vigiboard_log] |
||
137 | class = FileHandler |
||
138 | args = ('log/vigiboard.log','a') |
||
139 | 3e6ee4db | Francois POIROTTE | level = INFO |
140 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
141 | |||
142 | [handler_auth_log] |
||
143 | class = FileHandler |
||
144 | args = ('log/auth.log','a') |
||
145 | 3e6ee4db | Francois POIROTTE | level = INFO |
146 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
147 | |||
148 | # If you create additional formatters, add them as a key to [formatters] |
||
149 | [formatter_generic] |
||
150 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
151 | datefmt = %H:%M:%S |