| Scroll Ignore | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
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 gรฉnรฉrale du module :ย
- /etc/shinken/modules/webui_module_service_weather.cfg
- Fichier d'exemple : /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather.cfg
- Fichier d'exemple : /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather.cfg
- /etc/shinken/modules/webui_module_service_weather.cfg
- Pour la configuration de la disposition par dรฉfaut de la grille :ย
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
( voir Configuration de la disposition par dรฉfaut de la grille - webui-module-service-weathera page Configuration de la disposition par dรฉfaut de la grille - webui-module-service-weather )
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_grid_layout.cfg
- Pour la configuration de la disposition par dรฉfaut de la barre d'information :
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
( voir la page Configuration de la disposition par dรฉfaut de la barre d'information - webui-module-service-weather )
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_info_bar_layout.cfg
- 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
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
( voir la page Configuration de la disposition par dรฉfaut des widgets - webui-module-service-weather )
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_widgets_layout.cfg
- Pour la configuration par dรฉfaut des notifications :
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
( voir la page Configuration des paramรจtres par dรฉfaut des notifications de changements - webui-module-service-weather )
- Fichier d'exemple : ย /etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
- /etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg
| Info |
|---|
Si vous faites plusieurs modules de mรฉtรฉo, vous devez choisir soit de :
|
Configuration du module
Exemple de fichier de configuration
| Code Block | ||||
|---|---|---|---|---|
| ||||
#================================================================================
# 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 | ||
|---|---|---|---|---|---|---|
| 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. | ||
| Texte | --- | webui_module_service_weather | Ne peut รชtre modifiรฉ. |
Options des liens externes
| Code Block | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 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 | ||
|---|---|---|---|---|---|---|
| Texte | --- | external | Cette option vous permet de modifier le chemin d'accรจs aux liens externes.
Le caractรจre "/" et les autres caractรจres interdits dans les URL ne sont pas autorisรฉs dans ce paramรจtre. | ||
| Texte | --- | La base url du Broker | Cette option vous permet de modifier la base url d'accรจs aux liens externes.
Le caractรจre "/" et les autres caractรจres interdits dans les URL ne sont pas autorisรฉs dans ce paramรจtre. | ||
| Texte | --- | Le protocole du serveur WebUI | Cette option vous permet de modifier le protocole utilisรฉ par les url d'accรจs aux liens externes.
| ||
| 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 | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 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 | ||
|---|---|---|---|---|---|---|
| Entier positif | --- | 100 | Limite du nombre d'entrรฉes stockรฉes dans l'historique des vues |
Options de suppression des vues
| No Format | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 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 | ||
|---|---|---|---|---|---|---|
| Texte / Entier positif | jour | use_default_for_all | Nombre de jours durant lesquels les mรฉtรฉos seront sauvegardรฉes dans la poubelle |
Options de performances
| Code Block | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 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 | ||
|---|---|---|---|---|---|---|
| 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 | ||
|---|---|---|---|---|---|---|
| Entier positif | seconde | 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. | ||
| 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. | ||
| Entier positif | seconde | 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 | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 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 | ||
|---|---|---|---|---|---|---|
| Entier positif | seconde | 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 | ||||
|---|---|---|---|---|
| ||||
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #
# โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ ย ย 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 |
| Nom | Type | Unitรฉ | Dรฉfaut | Commentaire | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Texte | --- | --- | Ce paramรจtre permet de surcharger les paramรจtres du module webui-module-service-weather.ย |