vigiboard / development.ini @ 47bbb5b6
History | View | Annotate | Download (4.58 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 | 2e753457 | Francois POIROTTE | # that is always required for the app is done in the config directory, |
8 | # and generally should not be modified by end users. |
||
9 | 49c8da1d | Thomas ANDREJAK | |
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 | 2e753457 | 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 | 79fa773b | Francois POIROTTE | db_basename=vigilo_ |
26 | 2cbf5f32 | Aurelien BOMPARD | password_hashing_function=md5 |
27 | 5dbfa80d | Francois POIROTTE | lang=fr |
28 | use_kerberos=False |
||
29 | 406ed350 | Francois POIROTTE | help_link=http://foo.bar/help |
30 | 5dbfa80d | Francois POIROTTE | |
31 | 6f89d8f8 | Francois POIROTTE | ; Délai de rafraîchissement automatique (en secondes). |
32 | refresh_delay=30 |
||
33 | ; Indique si le rafraîchissement automatique |
||
34 | ; est activé ou non par défaut. |
||
35 | refresh_enabled=True |
||
36 | c424d010 | Francois POIROTTE | |
37 | 3e6ee4db | Francois POIROTTE | ; Nombre d'événements par page. |
38 | ee3ae8c8 | Francois POIROTTE | vigiboard_items_per_page = 15 |
39 | 0f56fff9 | Francois POIROTTE | |
40 | ; URL vers laquelle le logo de Vigilo redirige. |
||
41 | 406ed350 | Francois POIROTTE | logo_link = / |
42 | 0f56fff9 | Francois POIROTTE | |
43 | 3e6ee4db | Francois POIROTTE | ; Ordre de tri pour la priorité des événements. |
44 | 434b574d | Francois POIROTTE | ; - Utiliser "asc" si la priorité est inversement proportionnelle à sa |
45 | ; valeur (ie: plus le nombre est bas, plus la priorité est élevée). |
||
46 | ; - Utiliser "desc" si la priorité est proportionnelle à sa valeur |
||
47 | ffb803df | Francois POIROTTE | ; (ie: plus le nombre est élevé, plus la priorité est élevée). |
48 | 434b574d | Francois POIROTTE | ; NE PAS METTRE DE GUILLEMETS/APOSTROPHES AUTOUR DE LA VALEUR. |
49 | vigiboard_priority_order = asc |
||
50 | |||
51 | 6f89d8f8 | Francois POIROTTE | ; Taille par défaut du texte, doit être une taille valide |
52 | ; au sens de la spécification de CSS 2.1. |
||
53 | ; Cf. http://www.w3.org/TR/CSS21/fonts.html#font-size-props |
||
54 | 0f56fff9 | Francois POIROTTE | vigiboard_font.size = 10px |
55 | |||
56 | b2346a00 | Francois POIROTTE | ; Indique si le tri des événements se fait d'abord sur l'état Nagios |
57 | ; puis l'horodatage de l'événement, ou bien l'inverse. |
||
58 | ; Dans tous les cas, d'autres critères de tri interviennent avant |
||
59 | ; (état d'acquittement et priorité ITIL). |
||
60 | state_first = True |
||
61 | b4aa7dff | Thomas ANDREJAK | |
62 | cd93a0b8 | Aurelien BOMPARD | ; Emplacement des applications (vigirrd, Nagios, ...) |
63 | 79fa773b | Francois POIROTTE | ; sur les serveurs distants. |
64 | app_path.nagios = /nagios/ |
||
65 | |||
66 | ; Schéma ("protocol") à utiliser pour se connecter |
||
67 | ; à l'application. En général : http ou https. |
||
68 | ; Par défaut : http |
||
69 | app_scheme.nagios = http |
||
70 | |||
71 | ; Port de connexion au serveur distant hébergeant |
||
72 | ; l'application. |
||
73 | ; Par défaut : 80 |
||
74 | app_port.nagios = 80 |
||
75 | |||
76 | |||
77 | 49c8da1d | Thomas ANDREJAK | full_stack = true |
78 | cache_dir = %(here)s/data |
||
79 | beaker.session.key = vigiboard |
||
80 | 0ae87c06 | Francois POIROTTE | beaker.session.secret = vigilo |
81 | sa_auth.cookie_secret = vigilo |
||
82 | 49c8da1d | Thomas ANDREJAK | |
83 | # If you'd like to fine-tune the individual locations of the cache data dirs |
||
84 | # for the Cache data, or the Session saves, un-comment the desired settings |
||
85 | # here: |
||
86 | #beaker.cache.data_dir = %(here)s/data/cache |
||
87 | #beaker.session.data_dir = %(here)s/data/sessions |
||
88 | |||
89 | 5dbfa80d | Francois POIROTTE | sqlalchemy.url=postgres://vigilo:vigilo@localhost/vigilo |
90 | 49c8da1d | Thomas ANDREJAK | sqlalchemy.echo = false |
91 | sqlalchemy.echo_pool = false |
||
92 | sqlalchemy.pool_recycle = 3600 |
||
93 | |||
94 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
||
95 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
||
96 | # execute malicious code after an exception is raised. |
||
97 | #set debug = false |
||
98 | |||
99 | 2e753457 | Francois POIROTTE | auth.config = %(here)s/who.ini |
100 | #auth.log_file = stdout |
||
101 | #auth.log_level = debug |
||
102 | |||
103 | 49c8da1d | Thomas ANDREJAK | # Logging configuration |
104 | # Add additional loggers, handlers, formatters here |
||
105 | # Uses python's logging config file format |
||
106 | # http://docs.python.org/lib/logging-config-fileformat.html |
||
107 | |||
108 | [loggers] |
||
109 | keys = root, vigiboard, sqlalchemy, auth |
||
110 | |||
111 | [handlers] |
||
112 | keys = console,sql_log,root_log,vigiboard_log,auth_log |
||
113 | |||
114 | [formatters] |
||
115 | keys = generic |
||
116 | |||
117 | # If you create additional loggers, add them as a key to [loggers] |
||
118 | [logger_root] |
||
119 | 3d0d254c | Francois POIROTTE | level = INFO |
120 | handlers = console |
||
121 | 49c8da1d | Thomas ANDREJAK | |
122 | [logger_vigiboard] |
||
123 | 3e6ee4db | Francois POIROTTE | level = INFO |
124 | 49c8da1d | Thomas ANDREJAK | handlers = vigiboard_log |
125 | qualname = vigiboard |
||
126 | |||
127 | [logger_sqlalchemy] |
||
128 | b2346a00 | Francois POIROTTE | level = INFO |
129 | 15636990 | Francois POIROTTE | handlers = console |
130 | #sql_log |
||
131 | 49c8da1d | Thomas ANDREJAK | qualname = sqlalchemy.engine |
132 | |||
133 | # A logger for authentication, identification and authorization -- this is |
||
134 | # repoze.who and repoze.what: |
||
135 | [logger_auth] |
||
136 | 3d0d254c | Francois POIROTTE | level = WARN |
137 | 49c8da1d | Thomas ANDREJAK | handlers = auth_log |
138 | qualname = auth |
||
139 | |||
140 | # If you create additional handlers, add them as a key to [handlers] |
||
141 | [handler_console] |
||
142 | class = StreamHandler |
||
143 | args = (sys.stderr,) |
||
144 | level = NOTSET |
||
145 | formatter = generic |
||
146 | |||
147 | [handler_sql_log] |
||
148 | class = FileHandler |
||
149 | args = ('log/sql.log','a') |
||
150 | 3e6ee4db | Francois POIROTTE | level = INFO |
151 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
152 | |||
153 | [handler_root_log] |
||
154 | class = FileHandler |
||
155 | args = ('log/root.log','a') |
||
156 | 3e6ee4db | Francois POIROTTE | level = INFO |
157 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
158 | |||
159 | [handler_vigiboard_log] |
||
160 | class = FileHandler |
||
161 | args = ('log/vigiboard.log','a') |
||
162 | 3e6ee4db | Francois POIROTTE | level = INFO |
163 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
164 | |||
165 | [handler_auth_log] |
||
166 | class = FileHandler |
||
167 | args = ('log/auth.log','a') |
||
168 | 3e6ee4db | Francois POIROTTE | level = INFO |
169 | 49c8da1d | Thomas ANDREJAK | formatter = generic |
170 | |||
171 | # If you create additional formatters, add them as a key to [formatters] |
||
172 | [formatter_generic] |
||
173 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
||
174 | datefmt = %H:%M:%S |