Versions Compared

Key

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

Table of Contents
stylenone

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 Edition des notifications - Edition - 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

Code Block
    # ─────────────────────────────────────────────────────────────────────────────────────────────────────── #
    # 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                                                                                 ───
    #           Default...     : 1                                                                                 ───      
    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__visual__blink__enabled 1
  

Détails des sections composant le fichier de configuration

Paramètrage des notifications sonores

Code Block
    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    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

Code Block
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
Code Block
0
Les notifications sonores ne sont pas activées par défaut
Code Block
1
Les notifications sonores sont activées par défaut





Paramètrage des notifications visuelles

Code Block
    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    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   : 0                                                                             ───      ───
	#    #       ...    Default : 1                                                                                 ───

    #                                                                                                       ───
    # broker__module_webui__module_service_weather__default_notifications_settings__visual__blink__enabled 1
Notification visuelle : Clignotement

Nom

Type

Unité

Défaut

Commentaire

Code Block
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
Code Block
0
La notification n'est pas active par défaut
Code Block
1
La notification est active par défaut