Le comportement des propriétés des hôtes se configurent dans le fichier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_behaviour_properties/hosts_behaviour_properties.cfg
# This shows a warning / error when trying to save or import a host with an address ( or hostname ) already in use. # Four values possibles to tweak the severity of the warning : # duplicated_accepted : Does not warn when trying to import / save a host ( deactivate this feature ) # warning_displayed : Display a warning with all hosts with the same address when editing / importing a host # error_displayed : Display an error with all hosts with the same address when editing / importing a host. # This also prevents a host in conflict to go into production. # save_forbidden : Prevent a host from being imported / saved when it enters in conflict with other hosts. # host__detect_unique_address__behaviour=duplicated_accepted |
Cette propriété va influencer le niveau d'importance que l'on souhaite apporter à la gestion des adresses dupliquées.
Cela se traduit par :
Les valeurs possibles sont:
| Propriété | Description |
|---|---|
| Valeur par défaut. Autorise la sauvegarde ou l'import d'un hôte avec une adresse déjà utilisée par un autre.
|
| Les hôtes en conflit avec l'élément importé ou en cours d'édition sont affichés en AVERTISSEMENT.
|
| Les hôtes en conflit avec l'élément importé ou en cours d'édition sont affichés en ERREUR.
|
| Les hôtes en conflit avec l'élément importé ou en cours d'édition sont affichés en ERREUR.
|
En error_displayed et save_forbidden, les éléments dans la colonne VENANT DES SOURCES restent en avertissement, car ils sont considérés en conflit seulement après l'acceptation de leurs différences. Plus d'informations sur les cas particuliers à cette page : Editer un Hôte |