Présentation

Cette partie permet de définir les valeurs utilisées quand un champ de configuration n'est pas défini ( voir le chapitre Édition des notifications - Édition - Météo  ).

Configuration

La configuration des paramètres par défaut des notifications se trouve par défaut dans le fichier :


/etc/shinken-user/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg

Vous trouverez aussi un exemple de configuration dans :

/etc/shinken-user-example/configuration/daemons/brokers/modules/webui/modules/webui_module_service_weather/webui_module_service_weather__default_notifications_settings.cfg

Exemple de fichier de configuration

    # ─────────────────────────────────────────────────────────────────────────────────────────────────────── #
    # This comment is used by Shinken to recognize this file, please do not edit or remove it.
    # If done so, several parts of Shinken, like sanatize, may not work properly.
    # __OVERRIDE_TYPE__ webui_module_service_weather__default_notifications
    # ─────────────────────────────────────────────────────────────────────────────────────────────────────── #      

    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    DEFAULT SOUND NOTIFICATIONS SETTINGS    ──────────────────────────── │ #
    # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #

    # ─── NOTE: Change these parameters to customize the default sound notifications settings               ───

    # ──────────────────────  GENERAL  ────────────────────────────────────────────────────────────────────── #

    # ─── This option enable or disable the sound notifications                                             ───
    # ─── Possible values are :                                                                             ───
    #                                                                                                       ───
    #           Default : 0                                                                                 ───
    #           ...     : 1                                                                                 ───
    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__sound__enabled 0      

    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    DEFAULT VISUAL NOTIFICATIONS SETTINGS    ─────────────────────────── │ #
    # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #

    # ─── NOTE: Change these parameters to customize the default visual notifications settings              ───

    # ───────────────────────  BLINK  ─────────────────────────────────────────────────────────────────────── #

    # ─── This option enable or disable the blinking visual notifications                                   ───
    # ─── Possible values are :                                                                             ───
    #                                                                                                       ───
    #           Default : 0                                                                                 ───
    #           ...     : 1                                                                                 ───      
    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__visual__blink__enabled 0
  

Détails des sections composant le fichier de configuration

Paramétrage des notifications sonores

    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    DEFAULT SOUND NOTIFICATIONS SETTINGS    ──────────────────────────── │ #
    # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #

    # ─── NOTE: Change these parameters to customize the default sound notifications settings               ───

    # ──────────────────────  GENERAL  ────────────────────────────────────────────────────────────────────── #

    # ─── This option enable or disable the sound notifications                                             ───
    # ─── Possible values are :                                                                             ───
    #                                                                                                       ───
    #           Default : 0                                                                                 ───
    #           ...     : 1                                                                                 ───
    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__sound__enabled 0

Nom

Type

Unité

Défaut

Commentaire

broker__module_webui__module_service_weather__default_notifications_settings__sound__enabled 

Booléen

---

0

Cette option vous permet de choisir si les notifications sonores sont actives ou non

NomCommentaire
0
Les notifications sonores ne sont pas activées par défaut
1
Les notifications sonores sont activées par défaut





Paramétrage des notifications visuelles

    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    DEFAULT VISUAL NOTIFICATIONS SETTINGS    ─────────────────────────── │ #
    # └─────────────────────────────────────────────────────────────────────────────────────────────────────┘ #

    # ─── NOTE: Change these parameters to customize the default visual notifications settings              ───

    # ───────────────────────  BLINK  ─────────────────────────────────────────────────────────────────────── #

    # ─── This option enable or disable the blinking visual notifications                                   ───
    # ─── Possible values are :                                                                             ───
    #                                                                                                       ───
    #           Default : 0                                                                                 ───      
	#           ...     : 1                                                                                 ───

    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__visual__blink__enabled 0

Nom

Type

Unité

Défaut

Commentaire

broker__module_webui__module_service_weather__default_notifications_settings__visual__blink__enabled

Booléen

---

1

Cette option vous permet de choisir si la notification visuelle "Clignotement" est active ou non

NomCommentaire
0
La notification n'est pas active par défaut
1
La notification est active par défaut