| Scroll Ignore | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Contexte
Il est possible de modifier la valeur par défaut des éléments.
- Les modifications se trouvent dans le dossier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties
Chaque fichier correspond à un type d'élément.
Pour les Hôtes / Modèles d'hôtes
- /
- ( des fichiers d'exemple sont disponibles dans le dossier
- suivant : /etc/shinken-user-example/configuration/monitoring_policy/elements/elements_default_properties/ )
- Chaque fichier à l'intérieur de ce répertoire correspond à un type d'élément.
| Anchor | ||||
|---|---|---|---|---|
|
Pour les Hôtes / Modèles d'hôtes et Clusters / Modèles de cluster
Les valeurs par défaut des hôtes se configurent dans le fichier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties/hosts_default_properties.cfg
( un fichier d'exemple est disponible ici : /etc/shinken-user-example/configuration/monitoring_policy/elements/elements_default_properties/hosts_default_properties.cfg )
Les valeurs modifiables sont :
- view_contacts ( les contacts qui peuvent voir l'élément ),
- sla_warning_threshold ( seuil de warning pour les SLAs par défaut ),
- sla_critical_threshold ( seuil de critique pour les SLAs par défaut ),
- business_impact ( Impact métier ).
Voici son contenu :
| Code Block | ||||||
|---|---|---|---|---|---|---|
|
Les valeurs modifiables sont :
- view_contacts
- sla_warning_threshold
- sla_critical_threshold
Voici son contenu :
| Code Block | ||||
|---|---|---|---|---|
| ||||
#********************************************************************************** # This file contains DEFAULT VALUES for host properties that can be changed. # #********************************************************************************** #========================================================================== # This file contains DEFAULT VALUES for host properties that can be changed. # #********************************************************************************** #=============== #======== default_view_contacts ========= ================================================== #======== default_view_contacts ========= # Describe which user will have access to hosts without view_contacts property # (template inheritance included) # # Two values are possible: # - nobody : (default) only shinken admin will be able to view then # - everyone : all users will be able to see them #[DEFAULT:host] view_contacts = nobody #======== default sla threshold ========= #[DEFAULT:host] sla_warning_threshold = 99.0 #[DEFAULT:host] sla_critical_threshold = 97.0 #================================================================================== #======== default business_impact ========================================================================== #======== default business_impact ========= # This property is used to set the importance we # This property is used to set the importance we gave to this check for the business: # values possible: # 0 : * ( lower importance ) # 1 : ** # 2 : *** # 3 : $$$$ # 4 : $$$$$ # 5 : $$$$$$ ( higher importance ) #[DEFAULT:host] business_impact = 2 #================================================================================== |
Pour les
UtilisateursChecks / Modèles
d'utilisateursde checks
Les valeurs par défaut des contacts checks se configurent dans le fichier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties/contactschecks_default_properties.cfg
Les valeurs modifiables sont :
- Autorisations sur l'UI de Visualisation
- Actions possibles sur les éléments :
- acl_make_downtime,
- acl_make_acknowledge,
- acl_force_result_check,
- acl_force_retry_check,
- acl_show_external_url.
- Historique et SLA :
- acl_in_tab_history
- Gestion des favoris :
- acl_share_private
- acl_share_group
- acl_share_everybody
- Actions possibles sur les éléments :
- Autorisations sur l'UI de Configuration :
- Sur l'essaie des checks
- acl_try_check_on_poller
- acl_try_check_on_synchronizer
- Gestions de cookies
- authentication_cookie_validity_duration
- Sur l'essaie des checks
( un fichier d'exemple est disponible ici : /etc/shinken-user-example/configuration/monitoring_policy/elements/elements_default_properties/checks_default_properties.cfg )
Les valeurs modifiables sont :
- business_impact ( Impact métier ).
Voici son contenu :
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
#******** | ||||||
| Code Block | ||||||
| ||||||
#********************************************************************************** # This file contains DEFAULT VALUES for contactcheck properties that can be changed. # #********************************************************************************** #================================================================================== #======== default business_impact ========= # This property is used to authorizeset the importance we contactgave to makethis acheck downtimefor in visualisation interfacethe business: # Possible values are [0 : disable] /values [1 : enable]possible: #[DEFAULT:contact] acl_make_downtime = 1 # This property is used to authorize the contact0 to make a acknowledge in visualisation interface # Possible values are [0 : * disable] / [1 : enable] #[DEFAULT:contact] acl_make_acknowledge = 1 ( lower importance ) # This property is used to authorize the contact to force a1 check result in visualisation : ** # 2 : *** # 3 : $$$$ # 4 : $$$$$ # 5 : $$$$$$ ( higher importance ) # same_as_parent : Same as its parents ( host or cluster ) #[DEFAULT:check] business_impact = same_as_parent #================================================================================== |
Pour les Utilisateurs / Modèles d'utilisateurs
Les valeurs par défaut des contacts se configurent dans le fichier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties/contacts_default_properties.cfg
( un fichier d'exemple est disponible ici : /etc/shinken-user-example/configuration/monitoring_policy/elements/elements_default_properties/contacts_default_properties.cfg )
Les valeurs modifiables sont :
- Autorisations sur l'UI de Visualisation :
- Action possible sur les éléments :
- acl_make_downtime,
- acl_make_acknowledge,
- acl_force_result_check,
- acl_force_retry_check,
- acl_show_external_url.
- Historique et SLA :
- acl_in_tab_history.
- acl_in_tab_history.
- Gestion des favoris :
- acl_share_private,
- acl_share_group,
- acl_share_everybody.
- Action possible sur les éléments :
- Autorisations sur l'UI de Configuration :
- Sur l'essai des checks :
- acl_try_check_on_poller,
- acl_try_check_on_synchronizer.
- Gestions de cookies
- authentication_cookie_validity_duration
- authentication_cookie_validity_duration
- Sur l'essai des checks :
Voici son contenu :
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
#********************************************************************************** # This file contains DEFAULT VALUES for contact properties. # #********************************************************************************** #================================================================================== # This property is used to authorize the contact to make a downtime in visualisation interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_make_downtime = 1 # This property is used to authorize the contact to make a acknowledge in visualisation interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_make_acknowledge = 1 # This property is used to authorize the contact to force a check result in visualisation interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_force_result_check = 1 # This property is used to authorize the contact to ask immediate launch of the check in visualisation interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_force_retry_check = 1 #================================================================================== #======================interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_force_result_check = 1 # This property is used to authorize the contact to ask immediate launch of the check in visualisation interface # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_force_retry_check = 1 #================================================================================== #======================== # This property is used to authorize the user to try check on production platform. # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_try_check_on_poller = 1 # This property is used to authorize the user to try check on configuration platform. # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_try_check_on_synchronizer = 1 #========================================================== # This property is used to authorize the user to try check on production platform. # Possible values are [0 : disable] / [1 : enable] #[DEFAULT:contact] acl_try_check_on_poller = 1======================== # This propertyproperties is used to authorizecontrol the user access toof trythe checkshare onin configurationvisualisation platforminterface. # Possible values are [0all :/ disable]none / read, create, organize, modify, [1 : enable]delete #[DEFAULT:contact] acl_share_private = all #[DEFAULT:contact] acl_try_check_on_synchronizershare_group = all #[DEFAULT:contact] acl_share_everybody = 1all #================================================================================== # This propertiesproperty is used to controlset thewhat userto accessdisplay ofin thehistory share in visualisation interface. # Possible values are all / none / read, create, organize, modify, delete #[DEFAULT:contact] acl_share_private = all #[DEFAULT:contact] acl_share_group = alltab in visualization interface. # Possible values are history_sla / history / sla #[DEFAULT:contact] acl_share_everybody = all #=============================in_tab_history = history_sla #===================================================== # This property is used to set what to display in history tab in visualization interface. # Possible values are history_sla / history / sla #[DEFAULT:contact] acl_in_tab_history = history_sla============================= #================================================================================== # This property is used to set if the user is allowed to see the links (URL) on the supervision page. # Possible values are [0 : disable] / [1 : enable] # [DEFAULT:contact] acl_show_external_url = 1 #================================================================================== # This property is used to define the authentication validity time # unit : Minute, min value : 5 , max value : 5256000 # Default value : 5256000 ( 10 years ) # preconized value : 1440 ( 24h ) #[DEFAULT:contact] authentication_cookie_validity_duration = 1440 #================================================================================== |