Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll Ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse
Panel
titleSommaire

Table of Contents
stylenone

Prรฉsentation

ย Pour une raison de simplicitรฉ de gestion, les dispositions par dรฉfaut et le reste de la configuration du module sont dรฉcoupรฉes en plusieurs parties qui se trouvent par dรฉfaut dans les fichiers suivants :

  • Pour la configuration de la disposition par dรฉfaut de la barre d'information :
  • Pour la configuration de la disposition par dรฉfaut des widgets :
    • /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg


Info

Si vous faites plusieurs modules de mรฉtรฉo, vous devez choisir soit de :

  • Faire un nouveau rรฉpertoire. Le nom du rรฉpertoire est libre, mais nous vous conseillons de l'appeler du mรชme nom que votre module pour que votre configuration soit plus simple ร  maintenir.
    • Exemple : /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/Mon-Module-Webui-Module-Service-Weather
    • Voir la page Module webui-module-service-weather pour plus de dรฉtail pour le choix du nom du module
  • Garder la configuration dans le mรชme rรฉpertoire pour uniformiser la configuration de toutes les mรฉtรฉos.

Configuration du module

Exemple de fichier de configuration

Code Block
languagejs
themeConfluence
#================================================================================
# webui-module-service-weather
#================================================================================
# Modules that can load this module:
# - WebUI
# This module display service-weather in WebUI
#================================================================================

define module {

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    MODULE IDENTITY    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ Module name [ Must be unique ]                                                                                              [ MANDATORY ] โ”€โ”€โ”€
    # โ”€โ”€โ”€                                                                                                                                           โ”€โ”€โ”€
    module_name                                         webui-module-service-weather-example

    # โ”€โ”€โ”€ Module type [ Do not edit ]                                                                                                 [ MANDATORY ] โ”€โ”€โ”€
    # โ”€โ”€โ”€                                                                                                                                           โ”€โ”€โ”€
    module_type                                         webui_module_service_weather

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    EXTERNAL LINKS OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ This option allows you to change the path for external links.                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€       Use it for security reasons, to have external url with a different path than the                                                    โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       โš  Change this parameter will change all your external links.                                                                        โ”€โ”€โ”€
    # โ”€โ”€โ”€ sample url : http://localhost:7767/service-weather/external/abcd01/xyz009                                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€ where :                                                                                                                                   โ”€โ”€โ”€
    # โ”€โ”€โ”€     "http://" is the value of the link protocol                                                                                           โ”€โ”€โ”€
    # โ”€โ”€โ”€     "localhost:7767" is the value of the base url                                                                                         โ”€โ”€โ”€
    # โ”€โ”€โ”€     "external" is the value of this parameter                                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€     "abcd01" is the service weather uuid                                                                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€     "xyz009" is the external link configuration uuid                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ The following characters are prohibited : ",',/ and space.                                                                                โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : external                                                                                                                  โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__external_part_url external

    # โ”€โ”€โ”€ This option allows you to change the path for external links.                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€       Use it for security reasons, to have external url with a different path than the                                                    โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       โš  Change this parameter will change all your external links.                                                                        โ”€โ”€โ”€
    # โ”€โ”€โ”€ sample url : http://localhost:7767/service-weather/external/abcd01/xyz009                                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€ where :                                                                                                                                   โ”€โ”€โ”€
    # โ”€โ”€โ”€     "http://" is the value of the link protocol                                                                                           โ”€โ”€โ”€
    # โ”€โ”€โ”€     "localhost:7767" is the value of this parameter                                                                                       โ”€โ”€โ”€
    # โ”€โ”€โ”€     "external" is the value of the external_part_url                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€     "abcd01" is the service weather uuid                                                                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€     "xyz009" is the external link configuration uuid                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ The following characters are prohibited : ",', and space.                                                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : Your broker base url                                                                                                      โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__base_url 

    # โ”€โ”€โ”€ This option allows you to change the link protocol for your external links                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       This can be useful if you want your links to be on a reverse proxy that doesn't use same protocol as the WebUI                      โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       Change this parameter will change all your external links.                                                                          โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : protocol_from_webui => It will be equal to the use_ssl of the WebUI.                                                      โ”€โ”€โ”€
    #                                            If use_ssl is True, it will be HTTPS, else it will be HTTP                                         โ”€โ”€โ”€
    #           ...     : http                                                                                                                      โ”€โ”€โ”€
    #           ...     : https                                                                                                                     โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__link_protocol protocol_from_webui

    # โ”€โ”€โ”€ This option allows you to change if the authentication is needed for an external link.                                                    โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 1 ( authentication is needed )                                                                                            โ”€โ”€โ”€
    #           ...     : 0 ( authentication is not needed )                                                                                        โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__authentication_needed 1

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    WEATHER HISTORY OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ This option allows you to set the maximum number of changes saved in database for each weather view.                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ If you decrease the value, the extra history will be deleted on daemon startup.                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ Minimum value is 10.                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 100                                                                                                                       โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__weather_history__nb_changes_kept 100

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    INTERFACE VIEWS TRASH OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  All Views Parameters  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ #

    # โ”€โ”€โ”€ This option allows you to set the maximum number of days that views are kept in the trash.                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ After this delay, the views are permanently DELETED.                                                                            โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ If you decrease the value, the too old views can be DELETED on daemon startup.                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ Minimum value is 7 days.                                                                                                        โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : use_default_for_all => It will be equal to the 'views_trash__delay_before_deletion__default_for_all' of the WebUI         โ”€โ”€โ”€
    #           ...     : A number of days (for example 30)                                                                                         โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__views_trash__delay_before_deletion__service_weather use_default_for_all

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    PERFORMANCE OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ Maximal number of widgets for one weather page.                                                                                           โ”€โ”€โ”€
    # โ”€โ”€โ”€ Use this to limit your users and prevent them from making a weather page that takes                                                       โ”€โ”€โ”€
    # โ”€โ”€โ”€ all server resources.                                                                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€                                                                                                                                           โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_max_widget_number 100

    # โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  CACHE  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ #

    # โ”€โ”€โ”€ The refresh interval in seconds between each cache data calculation.                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ Increase this period if the cache takes too many resources on server.                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€ Minimum value is 60 seconds.                                                                                                              โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 60 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__refresh_interval 60

    # โ”€โ”€โ”€ Define the limited time allowed to refresh the cache before raising a warning.                                                            โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will be used by the shinken-broker-module-weather-service checks to change its state                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 30 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__time_taken_for_compute_warning 30

    # โ”€โ”€โ”€ Define the limited time allowed to refresh the cache before raising an error.                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will be used by the shinken-broker-module-weather-service checks to change its state                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 40 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__time_taken_for_compute_critical 40

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    INTERNAL OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ INTERNAL : DO NOT EDIT FOLLOWING PARAMETERS WITHOUT YOUR DEDICATED SUPPORT                                                                โ”€โ”€โ”€

    # โ”€โ”€โ”€ The time to wait before starting to refresh the cache                                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€ At start of the Broker, some element data are not directly available                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ Increase this time if the module has "missing element" on every element at start                                                          โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will give more time to the Scheduler to give all element data to the Broker and the module                                           โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 30 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__awaited_time_before_fetching_element_data 30 ย     

    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    EXTENDED FILE CONFIGURATION    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #
 ย  ย  ย 
	[OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
    [OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
    [OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg 
	[OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
 }
  



Dรฉtails des sections composant le fichier de configuration

Identification du module

Il est possible de dรฉfinir plusieurs instances de module de type "webui-module-service-weather" dans votre architecture Shinken .

  • Chaque instance devra avoir un nom unique.

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
module_name 

Texte

---

webui-module-service-weather

Nous vous conseillons de choisir un nom en fonction de l'utilisation du module pour que votre configuration soit simple ร  maintenir.

Doit รชtre unique.

No Format
module_typeย 

Texte

---

webui_module_service_weather

Ne peut รชtre modifiรฉ.

Options des liens externes

Code Block
languagejs
themeConfluence
# โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    EXTERNAL LINKS OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ This option allows you to change the path for external links.                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€       Use it for security reasons, to have external url with a different path than the                                                    โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       โš  Change this parameter will change all your external links.                                                                        โ”€โ”€โ”€
    # โ”€โ”€โ”€ sample url : http://localhost:7767/service-weather/external/abcd01/xyz009                                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€ where :                                                                                                                                   โ”€โ”€โ”€
    # โ”€โ”€โ”€     "http://localhost:7767" is the value of the base url                                                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€     "external" is the value of this parameter                                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€     "abcd01" is the service weather uuid                                                                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€     "xyz009" is the external link configuration uuid                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ The following characters are prohibited : ",',/ and space.                                                                                โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : external                                                                                                                  โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__external_part_url external

    # โ”€โ”€โ”€ This option allows you to change the path for external links.                                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€       Use it for security reasons, to have external url with a different path than the                                                    โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       โš  Change this parameter will change all your external links.                                                                        โ”€โ”€โ”€
    # โ”€โ”€โ”€ sample url : http://localhost:7767/service-weather/external/abcd01/xyz009                                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€ where :                                                                                                                                   โ”€โ”€โ”€
    # โ”€โ”€โ”€     "http://localhost:7767" is the value of this parameter                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€     "external" is the value of the external_part_url                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€     "abcd01" is the service weather uuid                                                                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€     "xyz009" is the external link configuration uuid                                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ The following characters are prohibited : ",', and space.                                                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : Your broker base url                                                                                                      โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__base_url 

    # โ”€โ”€โ”€ This option allows you to change the link protocol for your external links                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       This can be useful if you want your links to be on a reverse proxy that doesn't use same protocol as the WebUI                      โ”€โ”€โ”€
    # โ”€โ”€โ”€       default installation                                                                                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       Change this parameter will change all your external links.                                                                          โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : protocol_from_webui => It will be equal to the use_ssl of the WebUI. 														โ”€โ”€โ”€
    #                                            If use_ssl is True, it will be HTTPS, else it will be HTTP                                         โ”€โ”€โ”€
    #           ...     : http                                                                                                                      โ”€โ”€โ”€
    #           ...     : https                                                                                                                     โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__link_protocol protocol_from_webui

    # โ”€โ”€โ”€ This option allows you to change if the authentication is needed for an external link.                                                    โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 1 ( authentication is needed )                                                                                            โ”€โ”€โ”€
    #           ...     : 0 ( authentication is not needed )                                                                                        โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_external_link__authentication_needed 1

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
broker__module_webui__module_service_weather__default_external_link__external_part_url

Texte

---

external

Cette option vous permet de modifier le chemin d'accรจs aux liens externes.
Exemple d'url : http://localhost:7767/service-weather/external/abcd01/xyz009
Oรน :

  • http est la valeur du paramรจtre link_protocol
  • localhost:7767 est la valeur de la base url
  • external est la valeur de ce paramรจtre
  • abcd01 est l'uuid de la mรฉtรฉo du service
  • xyz009 est l'uuid de configuration du lien externe

Le caractรจre "/" et les autres caractรจres interdits dans les URL ne sont pas autorisรฉs dans ce paramรจtre.
Exemple de caractรจres interdit : !,#,$,&,',(,),*,+,,/,:,;,=,?,@,[,],<,>, caractรจres avec des accentsโ€ฆ

No Format
broker__module_webui__module_service_weather__default_external_link__base_url
Texte--- La base url du Broker

Cette option vous permet de modifier la base url d'accรจs aux liens externes.
Exemple d'url : http://localhost:7767/service-weather/external/abcd01/xyz009
Oรน :

  • http est la valeur du paramรจtre link_protocol
  • localhost:7767 est la valeur de ce paramรจtre
  • external est la valeur du paramรจtre external_part_url
  • abcd01 est l'uuid de la mรฉtรฉo du service
  • xyz009 est l'uuid de configuration du lien externe

Le caractรจre "/" et les autres caractรจres interdits dans les URL ne sont pas autorisรฉs dans ce paramรจtre.
Exemple de caractรจres interdit : !,#,$,&,',(,),*,+,,/,:,;,=,?,@,[,],<,>, caractรจres avec des accentsโ€ฆ

No Format
broker__module_webui__module_service_weather__default_external_link__link_protocol
Texte--- Le protocole du serveur WebUI

Cette option vous permet de modifier le protocole utilisรฉ par les url d'accรจs aux liens externes.
Exemple d'url : http://localhost:7767/service-weather/external/abcd01/xyz009
Oรน :

  • http est la valeur de ce paramรจtre
  • localhost:7767 est la valeur de la base url
  • external est la valeur du paramรจtre external_part_url
  • abcd01 est l'uuid de la mรฉtรฉo du service
  • xyz009 est l'uuid de configuration du lien externe


La valeur peut-รชtre

  • "http"
  • "https"
  • "protocol_from_webui" (qui correspond au protocole du serveur WebUI :
    • "http" si "use_ssl" est ร  0
    • "https" si "use_ssl" est ร  1
No Format
broker__module_webui__module_service_weather__default_external_link__authentication_needed
Texte Boolรฉen 1 Cette option permet de choisir si une authentification est nรฉcessaire pour avoir accรจs aux liens externes de la mรฉtรฉo.
Warning

La modification de ce paramรจtre entraรฎne la modification de tous vos liens externes.

Options de l'historique des mรฉtรฉos

Code Block
languagejs
themeConfluence
    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    WEATHER HISTORY OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ This option allows you to set the maximum number of changes saved in database for each weather view.                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ If you decrease the value, the extra history will be deleted on daemon startup.                                                 โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ Minimum value is 10.                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 100                                                                                                                       โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__weather_history__nb_changes_kept 100

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
 broker__module_webui__module_service_weather__weather_history__nb_changes_kept
Entier positif--- 100

Limite du nombre d'entrรฉes stockรฉes dans l'historique des vues

Minimum : 10

Options de suppression des vues

No Format
languagejs
themeConfluence
    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    INTERFACE VIEWS TRASH OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  All Views Parameters  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ #

    # โ”€โ”€โ”€ This option allows you to set the maximum number of days that views are kept in the trash.                                                โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ After this delay, the views are permanently DELETED.                                                                            โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ If you decrease the value, the too old views can be DELETED on daemon startup.                                                  โ”€โ”€โ”€
    # โ”€โ”€โ”€       /!\ Minimum value is 7 days.                                                                                                        โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : use_default_for_all => It will be equal to the 'views_trash__delay_before_deletion__default_for_all' of the WebUI         โ”€โ”€โ”€
    #           ...     : A number of days (for example 30)                                                                                         โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__views_trash__delay_before_deletion__service_weather use_default_for_all

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
broker__module_webui__module_service_weather__views_trash__delay_before_deletion__service_weather 
Texte / Entier positifjour use_default_for_all

Nombre de jours durant lesquels les mรฉtรฉos seront sauvegardรฉes dans la poubelle

Minimum : 7

Options de performances

Code Block
languagejs
themeConfluence
    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    PERFORMANCE OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ Maximal number of widgets for one weather page.                                                                                           โ”€โ”€โ”€
    # โ”€โ”€โ”€ Use this to limit your users and prevent them from making a weather page that takes                                                       โ”€โ”€โ”€
    # โ”€โ”€โ”€ all server resources.                                                                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€                                                                                                                                           โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__default_max_widget_number 100

    # โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€  CACHE  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ #

    # โ”€โ”€โ”€ The refresh interval in seconds between each cache data calculation.                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ Increase this period if the cache takes too many resources on server.                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€ Minimum value is 60 seconds.                                                                                                              โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 60 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__refresh_interval 60

    # โ”€โ”€โ”€ Define the limited time allowed to refresh the cache before raising a warning.                                                            โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will be used by the shinken-broker-module-weather-service checks to change its state                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 30 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__time_taken_for_compute_warning 30

    # โ”€โ”€โ”€ Define the limited time allowed to refresh the cache before raising an error.                                                             โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will be used by the shinken-broker-module-weather-service checks to change its state                                                 โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 40 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__cache__time_taken_for_compute_critical 40 ย 

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
broker__module_webui__module_service_weather__default_max_widget_number

Entier positif

---

100


Nombre maximal de widgets pour une page mรฉtรฉo. Utilisez ceci pour limiter vos utilisateurs et les empรชcher de faire une page mรฉtรฉo qui prend toutes les ressources du serveur.

Cache

Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
broker__module_webui__module_service_weather__cache__refresh_interval
Entier positifseconde 60

Lโ€™intervalle de rafraรฎchissement en secondes entre chaque calcul de donnรฉes du cache. Augmentez cette pรฉriode si le cache prend trop de ressources sur le serveur.

Minimum : 60 secondes

No Format
broker__module_webui__module_service_weather__cache__time_taken_for_compute_warning
Entier positif--- 30

Dรฉfinie la limite de temps allouรฉ pour rafraรฎchir le cache, avant de gรฉnรฉrer un avertissement dans les checks de Sup de Sup. Ceci sera utilisรฉ par les checks shinken-broker-module-weather-service.

No Format
broker__module_webui__module_service_weather__cache__time_taken_for_compute_critical
Entier positifseconde 40

Dรฉfinie la limite temps allouรฉ pour rafraรฎchir le cache avant de gรฉnรฉrer une erreur dans les checks de Sup de Sup. Ceci sera utilisรฉ par les checks shinken-broker-module-weather-service.

Options internes

Code Block
languagejs
themeConfluence
    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€    INTERNAL OPTIONS    โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #

    # โ”€โ”€โ”€ INTERNAL : DO NOT EDIT FOLLOWING PARAMETERS WITHOUT YOUR DEDICATED SUPPORT                                                                โ”€โ”€โ”€

    # โ”€โ”€โ”€ The time to wait before starting to refresh the cache                                                                                     โ”€โ”€โ”€
    # โ”€โ”€โ”€ At start of the Broker, some element data are not directly available                                                                      โ”€โ”€โ”€
    # โ”€โ”€โ”€ Increase this time if the module has "missing element" on every element at start                                                          โ”€โ”€โ”€
    # โ”€โ”€โ”€ This will give more time to the Scheduler to give all element data to the Broker and the module                                           โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    #           Default : 30 ( seconds )                                                                                                            โ”€โ”€โ”€
    #                                                                                                                                               โ”€โ”€โ”€
    # broker__module_webui__module_service_weather__awaited_time_before_fetching_element_data 30


Nom

Type

Unitรฉ

Dรฉfaut

Commentaire

No Format
broker__module_webui__module_service_weather__awaited_time_before_fetching_element_data
Entier positifseconde 30

Temps dโ€™attente avant de commencer ร  rafraรฎchir le cache.

Au dรฉmarrage du Broker, certaines donnรฉes ne sont pas disponibles.

Augmentez cette durรฉe si le module affiche "รฉlรฉment manquant" sur chaque รฉlรฉment au dรฉmarrage.

Cela donnera plus de temps au Scheduler pour donner les donnรฉes au Broker et au module.

Surcharge de la configuration

Code Block
languagejs
themeConfluence
    # โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” #
    # โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ ย  ย EXTENDED FILE CONFIGURATION ย  ย โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚ #
    # โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ #
    
	[OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
    [OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
    [OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
    [OVERRIDE_FROM] /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
NomTypeUnitรฉDรฉfautCommentaire
No Format
languagejs
themeConfluence
 [OVERRIDE_FROM]
Texte------

Ce paramรจtre permet de surcharger les paramรจtres du module webui-module-service-weather.ย