Revision 6314d47e
Corrections diverses pour l'auto-supervision
- ajout de l'exchange state_hyp ;
- correction du seuil de fraîcheur par défaut (passage à 1) ; correction des traductions.
Change-Id: I97298a267ee33a7cbdbcdf6002bd15c28d023e2a
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/1237
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
Tested-by: Francois POIROTTE <francois.poirotte@c-s.fr>
vigiboard/websetup.py | ||
---|---|---|
24 | 24 |
|
25 | 25 |
__all__ = ['setup_app', 'populate_db'] |
26 | 26 |
|
27 |
def dummy(msg): |
|
28 |
""" |
|
29 |
Cette fonction n'est jamais exécutée. |
|
30 |
Elle permet simplement de forcer la traduction de |
|
31 |
chaînes provenant de vigilo-turbogears |
|
32 |
""" |
|
33 |
_('Vigilo has detected a breakdown on the following ' |
|
34 |
'collector(s): %(list)s') |
|
35 |
|
|
27 | 36 |
def setup_app(command, conf, variables): |
28 | 37 |
"""Place any commands to setup vigiboard here""" |
29 | 38 |
from vigilo.turbogears import populate_db as tg_pop_db |
Also available in: Unified diff