Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

vigiboard / vigiboard / config / vigiboard_cfg.py @ d3c47597

History | View | Annotate | Download (1.22 KB)

1
# -*- coding: utf-8 -*-
2
# vim:set expandtab tabstop=4 shiftwidth=4:
3
"""Configuration de Vigiboard."""
4

    
5
vigiboard_config = {
6
    'vigiboard_bdd.basename' : '',
7
    
8
    # Affichage, lien disponibles dans la fenêtre de détail d'un évènement
9
    'vigiboard_links.eventdetails' : {
10
        'nagios' : ['Nagios host details','http://example1.com/%(idevent)d'],
11
        'metrology' : ['Metrology details','http://example2.com/%(idevent)d'],
12
        'security' : ['Security details','http://example3.com/%(idevent)d'],
13
        'servicetype' : ['Service Type','http://example4.com/%(idevent)d']
14
        },
15
    
16
    # Nombre d'évènments par pages
17
    'vigiboard_item_per_page' : '15',
18
    
19
    # plugin a activer
20
    # nom du fichier sans l'extension suivit du nom de la classe
21
    'vigiboard_plugins' : [
22
        [ 'shn' , 'PluginSHN' ]
23
        ],
24

    
25
    # Version de Vigiboard
26
    'vigiboard_version' : '0.1',
27

    
28
    # URL pour le logo Vigilo, si vide on renvoi sur /
29
    'vigiboard_links.logo' : '',
30

    
31
    # URL des tickets, possibilités:
32
    # - %(idevent)d
33
    # - %(host)s
34
    # - %(service)s
35
    # - %(tt)s
36
    'vigiboard_links.tt' : 'http://example4.com/%(idevent)d/%(tt)s',
37

    
38
    # Taille de police par défaut
39
    'vigiboard_font.size' : '10'
40
}
41