Le format et l'apparence des widget peuvent être prédéfinis pour l'ensemble de vos météos ( voir la page Concept et paramétrage de la grille - Edition - Météo ).
Cette partie permet de définir les valeurs utilisées quand un champ de configuration n'est pas défini ( voir le chapitre Concept et paramétrage des widgets - Edition - Météo ).
La configuration de la disposition par défaut des widgets se trouve par défaut dans le fichier :
Vous trouverez aussi un exemple de configuration dans :
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ────────────────────────────────── DEFAULT WIDGETS LAYOUT ─────────────────────────────────── │ #
# └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #
# ─────────── default weather widget layout ─────────────────────────────────────────────────────────── #
# ─── NOTE: Change these parameters to customize the default weather widget layout ───
# ─── This option selects what name will be used in weather widget layout. ───
# ─── Possible values are : ───
# ───
# ... : definition_name ( Will use the field "host_name" for host and cluster ───
# and "service_description" for check ) ───
# Default : visualisation_name ( Will use the field visualisation_name ───
# for host, cluster and check ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name visualisation_name
# ─── This option allows you to select which of the context or status ───
# ─── will be the large icon and the small icon by default. ───
# ─── The from_webui value will use the value from WebUI, with the parameter : tiles_background ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ─── Possible values are : ───
# ───
# Default : from_webui ( Use the WebUI configuration. ) ───
# ... : context_then_status ( context on big icon, status on small icon. ) ───
# ... : status_then_context ( status on big icon, context on small icon. ) ───
# ... : only_status ( status on big icon, context is not display. ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__state_icon from_webui
# ─── This option allows you to select how the background is made. ───
# ─── The from_webui value will use the value from WebUI, with the parameter : tiles_background ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ─── Possible values are : ───
# ───
# Default : from_webui ( Use the WebUI configuration. ) ───
# ... : context_then_status ( Will use the context to select the color. ───
# If there are no context, status will be use. ) ───
# ... : context_and_status ( Will use the context and the status to select the color. ) ───
# ... : only_status ( Will use the only status to select the color. ) ───
# ... : no_background ( The background will be blank. ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__background from_webui
# ─── This option allows you to choose if the sla info will be displayed on the weather widget. ───
# ─── Deactivate SLA info will free MongoDB resources. ───
# ───
# ... : 0 => Disable ( Disable display SLA info ) ───
# Default : 1 => Enable ( Display SLA info ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__sla 1
# ─── This option allows you to choose the default size the weather widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : 15,4 ( width:15 height:4 ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__size 15,4
# ────────── default separator widget layout ────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default color of the text in separator widget. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__text_color #000000
# ─── This option allows you to choose the default size the separator widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,2 ( width:all height:2 ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__size all,2
# ─── This option allows you to choose the percent of where text zone starts. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The text zone starts at 10 percent of the width ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__start_zone_text_percent 10
# ─── This option allows you to choose the percent of where text zone ends. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The text zone ends at 10 percent of the width ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__end_zone_text_percent 10
# ─── This option allows you to choose the text position in the zone text define upper. ───
# ───
# Default : center ( text will be centred ) ───
# ... : left ( text will be align on the left ) ───
# ... : right ( text will be align on the right ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__text_align center
# ──────────── default title widget layout ──────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default color of the text in title widget. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ───
# broker__module_webui__module_service_weather__default_title_widget_layout__text_color #000000
# ─── This option allows you to choose the default size the title widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,3 ( width:all height:3 ) ───
# ───
# broker__module_webui__module_service_weather__default_title_widget_layout__size all,3
La configuration décrite ci-dessous n'est que la configuration par défaut il est tout à fait possible de modifier la disposition des widgets pour chaque météo. |
# ──────────── default title widget layout ──────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default color of the text in title widget. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ───
# broker__module_webui__module_service_weather__default_title_widget_layout__text_color #000000
# ─── This option allows you to choose the default size the title widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,3 ( width:all height:3 ) ───
# ───
# broker__module_webui__module_service_weather__default_title_widget_layout__size all,3
Nom | Type | Unité | Défaut | Commentaire | |
|---|---|---|---|---|---|
| Texte | --- | #000000 | Cette option vous permet de choisir la couleur par défaut du texte dans le widget titre. Le format de la valeur est une couleur web ( Voir : https://en.wikipedia.org/wiki/Web_colors ) | |
| Size | --- | all,3 | Cette option vous permet de choisir la taille par défaut du widget titre. La taille est en nombre de cases. |
# ────────── default separator widget layout ────────────────────────────────────────────────────────── #
# ─── This option allows you to choose the default color of the text in separator widget. ───
# ─── The value format is a web colors ( css color ) see https://en.wikipedia.org/wiki/Web_colors ───
# ───
# Default : #000000 ( black ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__text_color #000000
# ─── This option allows you to choose the default size the separator widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : all,2 ( width:all height:2 ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__size all,2
# ─── This option allows you to choose the percent of where text zone starts. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The text zone starts at 10 percent of the width ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__start_zone_text_percent 10
# ─── This option allows you to choose the percent of where text zone ends. ───
# ─── Format is in percent of the width of the widget. ───
# ───
# Default : 10 ( The text zone ends at 10 percent of the width ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__end_zone_text_percent 10
# ─── This option allows you to choose the text position in the zone text define upper. ───
# ───
# Default : center ( text will be centred ) ───
# ... : left ( text will be align on the left ) ───
# ... : right ( text will be align on the right ) ───
# ───
# broker__module_webui__module_service_weather__default_separator_widget_layout__text_align center
Nom | Type | Unité | Défaut | Commentaire | |
|---|---|---|---|---|---|
| Texte | --- | #000000 | Cette option vous permet de choisir la couleur par défaut du texte dans le widget séparateur. Le format de la valeur est une couleur web ( Voir : https://en.wikipedia.org/wiki/Web_colors ) | |
| Size | --- | all,2 | Cette option vous permet de choisir la taille par défaut du widget séparateur. La taille est en nombre de cases. | |
| Size | % | 10 | Cette option vous permet de choisir le pourcentage d’où commence la zone de texte. | |
| Size | % | 10 | Cette option vous permet de choisir le pourcentage de l’endroit où se termine la zone de texte. | |
| --- | --- | center | Cette option vous permet de choisir la position du texte dans la zone texte définie. (zone restant entre start_zone_text_percent et end_zone_text_percent) Valeurs possibles :
|
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ────────────────────────────────── DEFAULT WIDGETS LAYOUT ─────────────────────────────────── │ #
# └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #
# ─────────── default weather widget layout ─────────────────────────────────────────────────────────── #
# ─── NOTE: Change these parameters to customize the default weather widget layout ───
# ─── This option selects what name will be used in weather widget layout. ───
# ─── Possible values are : ───
# ───
# ... : definition_name ( Will use the field "host_name" for host and cluster ───
# and "service_description" for check ) ───
# Default : visualisation_name ( Will use the field visualisation_name ───
# for host, cluster and check ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__name visualisation_name
# ─── This option allows you to select which of the context or status ───
# ─── will be the large icon and the small icon by default. ───
# ─── The from_webui value will use the value from WebUI, with the parameter : tiles_background ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ─── Possible values are : ───
# ───
# Default : from_webui ( Use the WebUI configuration. ) ───
# ... : context_then_status ( context on big icon, status on small icon. ) ───
# ... : status_then_context ( status on big icon, context on small icon. ) ───
# ... : only_status ( status on big icon, context is not display. ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__state_icon from_webui
# ─── This option allows you to select how the background is made. ───
# ─── The from_webui value will use the value from WebUI, with the parameter : tiles_background ───
# ─── Mapping of the tiles_background values will be : ───
# ─── -> context : context_then_status ───
# ─── -> context_and_status : context_and_status ───
# ─── -> status : only_status ───
# ─── Possible values are : ───
# ───
# Default : from_webui ( Use the WebUI configuration. ) ───
# ... : context_then_status ( Will use the context to select the color. ───
# If there are no context, status will be use. ) ───
# ... : context_and_status ( Will use the context and the status to select the color. ) ───
# ... : only_status ( Will use the only status to select the color. ) ───
# ... : no_background ( The background will be blank. ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__background from_webui
# ─── This option allows you to choose if the sla info will be displayed on the weather widget. ───
# ─── Deactivate SLA info will free MongoDB resources. ───
# ───
# ... : 0 => Disable ( Disable display SLA info ) ───
# Default : 1 => Enable ( Display SLA info ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__sla 1
# ─── This option allows you to choose the default size the weather widget. ───
# ─── Format is WIDTH,HEIGHT. Size is in number of case. ───
# ─── Value "all" in width makes the widget take all the width. ───
# ───
# Default : 15,4 ( width:15 height:4 ) ───
# ───
# broker__module_webui__module_service_weather__default_weather_widget_layout__size 15,4
Nom | Type | Unité | Défaut | Commentaire | ||
|---|---|---|---|---|---|---|
| Texte | --- | visualisation_name | Propriété des éléments utilisés pour afficher le nom sur la widget météo
| ||
| Texte | --- | from_webui | Cette option permet de choisir comment s'affiche le statut et le contexte d'un élément. 4 options sont disponibles :
Pour la valeur from_webui on prendra la valeur du paramètre : tiles_background Avec la correspondance suivante :
| ||
| Texte | --- | from_webui | Cette option permet de choisir comment s'affiche la couleur de fond d'un widget météo. 6 options sont disponibles :
| ||
| Booléen | --- | 1 | Défini l'affichage des SLA de la journée et la tendance. Valeurs possibles:
| ||
| Size | --- | 15,4 | Cette option permet de choisir la taille par défaut du widget météo. La taille est en nombre de cases. |