| Scroll Ignore | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
|
Concept
Cette partie permet de définir les valeurs utilisées quand un champ de configuration n'est pas défini ( voir la page Édition des notifications - É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 | ||||
|---|---|---|---|---|
| ||||
/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 | ||||
|---|---|---|---|---|
| ||||
/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_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 | ||||
|---|---|---|---|---|
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ─────────────────────────── 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 | ||
|---|---|---|---|---|---|---|
| Booléen | --- | 0 | Cette option vous permet de choisir si les notifications sonores sont actives ou non
|
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 | ||||
|---|---|---|---|---|
| ||||
# ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐ #
# │ ─────────────────────────── 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 | ||
|---|---|---|---|---|---|---|
| Booléen | --- | 1 | Cette option vous permet de choisir si la notification visuelle "Clignotement" est active ou non.
|