Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Make by tools (01.00.01) - action=same_as_previous_version
Scroll Ignore
scroll-viewporttruescroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalsetrue
Panel
titleSommaire

Table of Contents
stylenone

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

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

AnchorelementDefaultPropertiesViewContactselementDefaultPropertiesViewContacts

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/monitoring_policy/elements/elements_default_default_element_properties/hostsdefault_defaulthost_properties.cfg

Les valeurs modifiables sont :

  • view_contacts,
  • element_visibility_on_not_authenticated_view ( Indisponible dans les modèles d'hôtes ),
  • sla_warning_threshold,
  • sla_critical_threshold.


Voici son contenu :


Code Block
languagejs
themeConfluencetitle/etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties/hosts_default_properties.cfg
#**********************************************************************************
#  This file contains DEFAULT VALUES for host properties that can be changed.
#
#**********************************************************************************

#==================================================================================
#======== 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_element_visibility_on_not_authenticated_view sla threshold =========

#[DEFAULT:host] sla_warning_threshold                                                      # Describe visibility on not authenticated view for all hosts and clusters
                                                       #
                                                       # Two values are possible:
                                                       #   - 0     		: (default) all hosts and clusters are hidden in not authenticated view
                                                       #   - 1    		: all hosts and clusters are visible in not authenticated view

#[DEFAULT:host] element_visibility_on_not_authenticated_view = 0

#======== default sla threshold =========

#[DEFAULT:host] sla_warning_threshold  = 99.0
#[DEFAULT:host] sla_critical_threshold = 97.0
#======== 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,
      • acl_show_external_url.
    • 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
    • Gestions de cookies
      • authentication_cookie_validity_duration


Voici son continue :


Code Block
languagejs
themeConfluence
title/etc/shinken-user/configuration/default_element_properties/default_contact_properties.cfg
#**********************************************************************************
#  This file contains DEFAULT VALUES for contact properties.
#
#**********************************************************************************

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

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

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.
    • Gestion des favoris :
      • acl_share_private,
      • acl_share_group,
      • acl_share_everybody.
  • Autorisations sur l'UI de Configuration :
    • Sur l'essai des checks :
      • acl_try_check_on_poller,
      • acl_try_check_on_synchronizer.
Voici son contenu :
Code Block
languagejs
title/etc/shinken-user/configuration/monitoring_policy/elements/elements_default_properties/contacts_default_properties.cfg
#**********************************************************************************
#  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 property is used to authorize the contact to make a downtime==============================

# This properties is used to control the user access of the share in visualisation interface.
# Possible values are [0all :/ disable]none / [1 : enable]read, create, organize, modify, delete
#[DEFAULT:contact] acl_makeshare_downtimeprivate = 1
all
# 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_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_forcein_resulttab_checkhistory = 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

#======history_sla

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

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

# 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    

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

# This property is used to set if the user is allowed to change the property "element_visibility_on_not_authenticated_view" in the user rights of the elements
# in the user rights of the elements
# Several possibilities:
#   - nobody                            : Nobody will be allowed to change the property "element_visibility_on_not_authenticated_view"
#   - everybody                         : Everybody will be allowed to change the property "element_visibility_on_not_authenticated_view"
#   - is_admin_shinken                  : (default) Only shinken administrators (is_admin=1) will be allowed to change the property
#                                         "element_visibility_on_not_authenticated_view"
==============

# 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_changeshow_element_visibility_on_not_authenticated_view = is_admin_shinken  external_url = 1

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

# 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]
#  define the authentication validity time
# unit : Minute, min value : 5 , max value : 5256000
# Default value : 5256000 ( 10 years )
# preconized value : 1440 ( 24h )
#[DEFAULT:contact] aclauthentication_showcookie_externalvalidity_urlduration = 11440

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

Pour les propriétés

Les valeurs par défaut des propriétés se configurent dans le fichier suivant : /etc/shinken-user/configuration/monitoring_policy/elements/elements_defaultdefault_element_properties/default_properties_configuration.cfg

Les valeurs modifiables sont :

  • Nom d'affichage de la propriété :
    • notes_url.


Voici son contenu :

Code Block
languagejs
themeConfluence
title/etc/shinken-user/configuration/monitoring_policy/elements/elements_default_default_element_properties/default_properties_configuration.cfg
#**********************************************************************************
#  This file contains DEFAULT VALUES for properties configuration.
#
#**********************************************************************************

#==================================================================================
#======== notes_url label configuration =========
#======== /!\ Only alphanumeric characters allowed /!\ =========
#======== /!\      Only 80 characters allowed      /!\ ========= 
# [DISPLAY_TEXT:fr] notes_url=Url externe
# [DISPLAY_TEXT:en] notes_url=External url 
#==================================================================================