Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make by tools (01.00.01) - action=clean_macro_parameter
Scroll Ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbookhtmltruefalse
scroll-eclipsehelpdocbooktrue
scroll-epubeclipsehelptrue
scroll-htmlepubtrue
Panel
titleSommaire

Table of Contents
stylenone

Présentation

Concept

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

Configuration

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


Code Block
languagetext
themeEmacs
/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 :

Code Block
languagetext
themeEmacs
/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
languagejs
themeConfluence
    # ─────────────────────────────────────────────────────────────────────────────────────────────────────── #
    # 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_settings
    # ─────────────────────────────────────────────────────────────────────────────────────────────────────── #      

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

Code Block
languagejs
themeConfluence
    # ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
    # │ ───────────────────────────    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
No Format
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
  • → Les notifications sonores sont activées par défaut.
  •  
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
  • .






Changement du son joué

Vous pouvez changer le son joué lors des notifications de changements ( voir la page Changer le son des notifications utilisé par l'Interface de visualisation )

Paramétrage des notifications visuelles

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

code
No Format
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 n'est pas active par défaut.