Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue


Panel
titleSommaire

Table of Contents
stylenone



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 : Module WebUI

Exemple : Surcharge

Voici un exemple

de la configuration de l'interface Web

pour :la faire écouter en SSL et lui définir ses paramètres SSL

  • autoriser le remote_user dans le cas d'une activation d'un SSO ( Single-Sign-On )

  • Code Block
    languagebashjs
    title/etc/shinken-user/configuration/daemons/brokers/synchronizersmodules/webui/synchronizerwebui_cfg_overload.cfg
    # set the Configuration interface into HTTPs or not (disabled by default)
    http_use_ssl=1
    
    # Mandatory is SSL is enabled: server key and certificate
    http_ssl_cert=/etc/ssl/certs/shinken.cert
    http_ssl_key=/etc/ssl/certs/shinken.key
    
    
    # Remote application authentification
    # if 1: allow the user to be load from a HTTP Header
    http_remote_user_enable=1
    
    # which HTTP header to get user name if remote_user_enable is 1
    http_remote_user_variable=X_Remote_User
    
    # if remote_user_enable is 1,
    # http_remote_user_case_sensitive to 1 enable case check on remote user login
    # http_remote_user_case_sensitive to 0 disable case check on remote user login
    # default value : 1, login is case sensitive
    http_remote_user_case_sensitive=1
    
    **********************************************************************************
    #  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
    #==================================================================================
    
    #======== 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