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/default_element_properties/.

Chaque fichier correspond à un type d'élément.

Pour les Hôtes / Modèles d'hôtes

Les valeurs par défaut des hôtes se configurent dans le fichier suivant : /etc/shinken-user/configuration/default_element_properties/default_host_properties.cfg

Les valeurs modifiables sont :

  • view_contacts
  • sla_warning_threshold
  • sla_critical_threshold


Voici son contenu :


#**********************************************************************************
#  This file contains DEFAULT VALUES for host properties.
#
#  IMPORTANT : DO NOT EDIT THIS FILE. This file will be overwriten at update
#              Set your values to the /etc/shinken-user/configuration/default_element_properties/default_host_properties.cfg file instead
#
#
#**********************************************************************************

#==================================================================================
#======== 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
#==================================================================================



Pour les Utilisateurs / Modèles d'utilisateurs

Les valeurs par défaut des contacts se configurent dans le fichier suivant : /etc/shinken-user/configuration/default_element_properties/default_contact_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
    • Historique et SLA :
      • acl_in_tab_history
    • Gestion des favoris :
      • acl_share_private
      • acl_share_group
      • acl_share_everybody
  • Autorisations sur l'UI de Configuration :
    • Sur l'essaie des checks
      • acl_try_check_on_poller
      • acl_try_check_on_synchronizer


Voici son continue :


#**********************************************************************************
# 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

#==================================================================================

#==================================================================================

# 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 properties is used to control the user access of the 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 = all
#[DEFAULT:contact] acl_share_everybody = all

#==================================================================================

# 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

#==================================================================================