Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

perfdata_timeout=5

Il s'agit du nombre maximum de secondes pour lancer une commande de données de performance d'un hôte ou d'un check .Si une commande dépasse cette limite de temps, elle sera supprimée et une alarme sera logguée. 

 

...

Option de gestion des données de performance 

Format:

process_performance_data=<0/1>

...

host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata

Cette option allows you to specify a command to be run after every host/check to process host/check performance data that may be returned from the check. The command argument is the short name of a command definition that you define in your object configuration file. This command is only executed if the Performance Data Processing Option option is enabled globally and if the permet de spécifier une commande à lancer afin de gérer les données de performance retournées après un check. L'argument de la commande est le nom raccourci de la définition de commande que vous avez défini dans le fichier de configuration de l'objet .Cette commande n'est exécutée que si l'option de gestion des données de performance est activée globalement et la directive  "process_perf_data" directive in the host definition is enableddans la définition de l'hôte est activée.

 

Advanced scheduling parameters

...

Paramètres avancés de planification 

Hôte orphelin/Service Check Option 

Format: 

check_for_orphaned_services=<0/1>
check_for_orphaned_hosts=<0/1>

ExampleExemple: 

check_for_orphaned_services=1
check_for_orphaned_hosts=1
This option allows you to enable or disable checks for orphaned host/check. Orphaned checks are checks which have been launched to pollers but did not get any results reported for a long time.

Since there is no results back, it is not rescheduled in the event queue. This can cause checks to stop being executed. Normally it should happen very rarely - it might happen if an external user or a process killed off the process that was being used to execute a check.

If this option is enabled and Shinken Enterprise does not find results back for a particular check, it will log an error message and reschedule the check. If you see checks that never seem to get rescheduled, enable this option and see if you notice any log messages about orphaned services.

  • 0 = Don't check for orphaned service checks
  • 1 = Check for orphaned service checks (default)

 

 

Performance tuning

...


Cette option permet d'activer ou désactiver les checks sur les hôtes/checks orphelins. Les checks orphelins sont ceux lancés par le poller mais qui n'ont jamais renvoyés de résultats depuis longtemps.  

Sachant qu'ils n'ont rien renvoyé, ils ne sont pas replanifiés dans la file d'événements.  

Si cette option est activée, et Shinken Enterprise ne trouve aucun résultats pour un check en particulier, un message d'erreur sera loggué et le check sera replanifié. Si vous voyez des checks qui ne sont jamais replanifiés, activez cette option et regardez si vous voyez des messages d'erreur loggués à propos de services orphelins.

  • 0 = ne pas vérifier les services orphelins 
  • 1 =vérifier les services orphelins (défaut)

Réglage des performances 

Hôtes en cache/Service Check Horizon 

Format:

 

cached_host_check_horizon=<seconds>
cached_service_check_horizon=<seconds>

ExampleExemple:

 

cached_host_check_horizon=0
cached_service_check_horizon=0
This option determines the maximum time (in seconds) the state of a previous host check is considered current. Cached host states (from host/check that were performed more recently than the time specified by this value) can hugely improve host check performance. If the value is too high for this option it may result in (temporarily) inaccurate host/check states. A low value may result in a performance hit for host/check. Use a value of 0 if you want to disable host/check caching.

 

Flapping parameters 

Flap Detection Option

Format:

 


Cette option détermine le temps maximum (en secondes) pendant lequel le dernier état d'un check est considéré comme son état courant. L'état géré en cache (venant d'hôtes/check ayant été exécutés plus récemment que le temps spécifié par cette valeur) peut grandement amélioré la performance des checks. Si cette valeur est trop élevée pour cette option, cela peut se traduire par un état (temporaire) inapproprié. Une valeur plus basse peut générer un pic de performance . Utiliser la valeur 0 si vous souhaitez désactiver la mise en cache des hôtes/checks.

 

Paramètres de Flapping  

Option de détection de Flap 

Format:

enable_flap_detection=<0/1>

Example:

 

enable_flap_detection=1
This option determines whether or not Shinken Enterprise will try and detect hosts and checks that are
Cette option détermine si Shinken Enterprise va tenter de détecter les hôtes et checks en état “flapping". Flapping occurs when a host or check changes between states too frequently, resulting in a barrage of notifications being sent out. When Shinken Enterprise detects a flapping host or check, it will temporarily suppress notifications for that host/check until it stops flapping.Cet état Flapping apparaît quand un hôte ou un check passent d'un état à un autre très fréquemment, bloquant l'envoi de notifications. Quand Shinken Enterprise détecte un hôte ou un check en flapping,  il supprimera temporairement les notifications jusqu'à la fin du flapping.

Vous trouverez plus d'information sur la détection du flapping dans le paragraphe More information on how flap detection and handling works can be found here <advanced/flapping>`.

  • 0 = Don't enable flap detection (defaultne pas activer la détection du flapping (défaut)
  • 1 = Enable flap detection

...

  • activer la détection du flapping 

 

Seuil bas Service/Host

...

Flap 

Format:

 

low_service_flap_threshold=<percent>
low_host_flap_threshold=<percent>

ExampleExemple:

 

low_service_flap_threshold=25.0
low_host_flap_threshold=25.0
This option is used to set the low threshold for detection of host/check flapping. For more information on how flap detection and handling works (and how this option affects things) read this
Cette option est utilisée pour définir le seuil bas de détection du flapping.Pour plus d'information, suivre ce lien flapping.

 

...

Seuil haut Service/Host

...

Flap 

Format:

 

high_service_flap_threshold=<percent>
high_host_flap_threshold=<percent>

ExampleExemple:

 

high_service_flap_threshold=50.0
high_host_flap_threshold=50.0
This option is used to set the high threshold for detection of host/check flapping. For more information on how flap detection and handling works (and how this option affects things) read this.

 

Various commands Timeouts

Format:


Cette option est utilisée pour définir le seuil haut de détection du flapping. Pourplus d'informations, suivre ce lien flapping.

Diverses commandes en timeout

Format: 

event_handler_timeout=<seconds> # default: 30s
notification_timeout=<seconds> # default: 30s

ExampleExemple: 

event_handler_timeout=60
notification_timeout=60
This is the maximum number of seconds to run event handlers & notification. If a command exceeds this time limit it will be killed and a warning will be logged.

There is often widespread confusion as to what this option really does. It is meant to be used as a last ditch mechanism to kill off commands which are misbehaving and not exiting in a timely manner. It should be set to something high (like 60 seconds or more for notification), so that each event handler command normally finishes executing within this time limit. If an event handler runs longer than this limit, Shinken Enterprise will kill it off thinking it is a runaway process.

 

Freshness check 

Host/Service Freshness Checking Option

Format:



Il s'agit du nombre maximum en secondes pour lancer le gestionnaire d'événements & notification. Si une commande dépasse cette limite de temps, elle sera supprimée et une alerte sera logguée.  

Il y a souvent une large confusion sur ce que fait réellement cette option. Elle a été conçue pour être utilisée en dernier recours comme un mécanisme de suppression d'une commande qui se comporte mal dans le temps. Elle devrait être définie à une valeur élevée(comme 60 secondes ou plus pour une notification),de façon à ce que chaque gestionnaire d’événements puisse terminer d'eécuter sa tâche dans les temps. 

Rafraîchissement des checks 

Option de rafraîchissement des Hôtes/Service 

Format: 

check_service_freshness=<0/1>
check_host_freshness=<0/1>

ExampleExemple: 

check_service_freshness=0
check_host_freshness=0
This
Cette option determines if Shinken Enterprise will periodically check the “freshness" of host/check. Enabling this option is useful for helping to ensure that passive checks are received in a timely manner. More information on freshness checking can be found here.

  • 0 = Don't check host/check freshness
  • 1 = Check host/check freshness (default)

 

Host/Service Freshness Check Interval

Format:

détermine si Shinken Enterprise va vérifier régulièrement le rafraîchissement des hôtes/services. Activer cette option est très utile pour permettre de vérifier que les checks passifs se déroulent bien dans le temps.  Vous trouverez plus d'informations ici.

  • 0 = ne pas vérifier le rafraîchissement des hôtes/services
  • 1 = vérifier le rafraîchissement des hôtes/services (défaut)

 

Intervalle de rafraîchissement 

Format: 

service_freshness_check_interval=<seconds>
host_freshness_check_interval=<seconds>

ExampleExemple: 

service_freshness_check_interval=60
host_freshness_check_interval=60
This setting determines how often (in seconds) Shinken will periodically check the “freshness" of host/check results. If you have disabled host/check freshness checking (with the check_service_freshness option), this option has no effect. More information on freshness checking can be found here.

 

Resource File

Format

 


Ce paramètre définit la fréquence (en secondes) à laquelle Shinken Enterprise va vérifier le rafraîchissement d'un hôte/service. Vous trouverez plus d’informations  ici.

 

Fichier ressource

Format

resource_file=<file_name>

Example: 

resource_file=/etc/shinken/resource.cfg

This is used to specify an optional resource file that can contain "$USERn$" Understanding Macros/Data and How They Work definitions. "$USERn$" macros are useful for storing usernames, passwords, and items commonly used in command definitions (like directory paths).
A classical variable used is $USER1$, used to store the plugins path, Utilisé pour spécifier un fichier ressource optionnel qui peut contenir "$USERn$" .Les macros "$USERn$" sont utiles pour stocker les noms d'utilisateurs, les mots de passe, et tout ce qui est communément utiliser dans la définition de commandes (comme le chemin vers un répertoire) 
Une variable classique utilisée est $USER1$, afin de stocker le chemin des plugins "/usr/lib/nagios/plugins" on a classic sur une installation classique.

 

...

Option de notification 

Format:

 

enable_notifications=<0/1>

Example: 

enable_notifications=1

This Cette option determines if détermine si Shinken Enterprise will send out va envoyer des notifications. If this option is disabled, Shinken will not send out notifications for any host or check.Si cette option est désactivée, Shinken Enterprise n'enverra aucune notification pour aucun des hôtes/services. 

Les valeurs sont les suivantes Values are as follows :

  • 0 = Disable Désactives les notifications
  • 1 = Enable Active les notifications (default)

 

...

  • défaut

Méthode de rétention des logs (pas totalement implémenté)

Format:

 

log_rotation_method=<d>

ExampleExemple: 

log_rotation_method=dThis is

the rotation method used by Shinken Enterprise for your log file on the broker server . Values are as followsIl s'agit de la méthode de remplacement utilisée  Shinken Enterprise pour le fichier log sur le serveur broker .Les valeurs sont les suivantes :

  • d = Daily (rotate the log at midnight each dayjournalier (remplacement des logs à minuit chaque jour)

 

 

...

Option de commande externe 

Format: 

check_external_commands=<0/1>

Example:

 

check_external_commands=1This

Cette option determines if Shinken Enterprise will check the External Command File for commands that should be executed with the arbiter daemon .

  • 0 = Don't check external commands
  • 1 = Check external commands (default)

 

Scheduling parameters

Service/Host Check Execution Option

Format:

 

détermine si Shinken Enterprise va vérifier le fichier de commande externe pour les commandes devant être exécutées depuis le démon arbiter.  

  • 0 = ne pas vérifier les commandes externes
  • 1 = vérifier les commandes externe (défaut)

 

Paramètres de planification 

Option d'exécution d'un hôte/service 

Format:

execute_service_checks=<0/1>
execute_host_checks=<0/1>

ExampleExemple: 

execute_service_checks=1
execute_host_checks=1

This Cette option determines if détermine si Shinken Enterprise will execute host/check. Do not change this option unless you use a old school distributed architecture. And even if you do this, please change your architecture with a cool new one far more efficient.va exécuter les checks. 

  • 0 = ne pas exécuter les 0 = Don't execute checks
  • 1 = Execute exécuter les checks (defaultdéfaut)

...



Option d'acceptation de check/service passifs 

Format: 

accept_passive_service_checks=<0/1>
accept_passive_host_checks=<0/1>

ExampleExemple: 

accept_passive_service_checks=1

accept_passive_host_checks=1This

Cette option determines if Shinken will accept passive hostdétermine si Shinken Enterprise acceptera les hôtes/checks passifs . If this option is disabled, Nagios will not accept any passive host/checksSi cette option est désactivée, Shinken Enterprise n'acceptera aucun check passif.  .

  • 0 = Don't accept passive host/checksN'accepte pas les checks passifs 
  • 1 = Accept passive host/checks (default)Accepte les checks passifs  

 

Event Handler Option

Format:

...