Description

Le fichier de configuration des paramètres du module Webui pouvant être modifiés par les commandes Shinken, il est préférable d'ajuster les paramètres nécessaires dans le fichier suivant : /etc/shinken-user/configuration/daemons/brokers/modules/webui/webui_cfg_overload.cfg

Les paramètres définis dans ce fichier vont écraser ceux dans les fichiers de configuration des modules WebUI utilisant ce fichier.

Pour plus de détails sur les paramètres, référez vous à la page suivante : Configuration du module WebUI

Exemple : Surcharge de la configuration de l'interface Web

#**********************************************************************************
#  This file contains overloaded values for webui configuration
#  Example available in /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/webui_cfg_overload.cfg
#**********************************************************************************

#==================================================================================
#======== default_tiles_format =========

                                                       # Describe how the tiles are displayed in the hive.
                                                       #
                                                       # Possible values:
                                                       #
                                                       #   - context : (default) Tile is of the color of the context when there is one, else of the status.
                                                       #   - context_and_status : Tile color is split between status and context, when there is one.
                                                       #   - status : Tile is always of the color of the status. Context is displayed as a secondary icon.
tiles_background=context_and_status
#==================================================================================
#======== Colors for graphics =========
                                                       # Give the list of color format hexadecimal (without the #) separate by comma
                                                       #
                                                       # Possible values ==> any existing color
                                                       # size => infinite

colors_graphics=6cc4b9,4485aa,314293,329347,72a82c,ef7c14,d82e2e,931616,FF00FF,000000
#==================================================================================

#==================================================================================
#======== history__nb_changes_displayed =========
                                                       # Number of changes displayed in change detail area of each days in History/SLA tab
                                                       # This number will be also used to display next changes went a user click on button "show more"
                                                       #
                                                       # Possible values ==> any positive integer
history__nb_changes_displayed=30

#======== history__size_sla_pane =========
                                                       # The default width of SLA column in History/SLA tab
                                                       # The width is define in px. If not set, the history column will be take 60% of the detail pane width
                                                       #
                                                       # Possible values ==> any positive integer
#history__size_sla_pane=250

#======== history__default_display_outputs =========
                                                       # The default status of the output display on the History/SLA tab for all new users (it still editable in UI)
                                                       #
                                                       # Possible values ==>
                                                       #      - 1 -> outputs will be display
                                                       #      - 0 -> outputs will be hidden
history__default_display_outputs=1

#======== history__default_collapse_outputs =========
                                                       # The default state of outputs folding in History/SLA tab for all new users (it still editable in UI)
                                                       #
                                                       # Possible values ==>
                                                       #      - 1 -> outputs will be fold
                                                       #      - 0 -> outputs will be unfold
history__default_collapse_outputs=0
#==================================================================================

colors_graphics=6cc4b9,4485aa,314293,329347,72a82c,ef7c14,d82e2e,931616,FF00FF,000000
#==================================================================================

#======== Webui Authentication External Log =========
                                                       # Log the webui authentication history in a file

                                                       # Enable authentication log or not.
                                                       # by default: 0 (disabled)
webui__log_users__enabled=0

                                                       # File use for log authentication history
webui__log_users__file_path=/var/log/shinken/webui/log_users.log

                                                       # Add user name to log.
                                                       # by default: 0 (disabled)
webui__log_users__add_user_name=0

#==================================================================================
#======== Synthesis =========
                                                       # These parameters are used to configure the Synthesis (or "Wall") menu.

                                                       # This property enables or disables the reports in the Synthesis menu.
                                                       # by default: 1 (enabled)
broker__module_webui__synthesis__report__enable=1