This file is indexed.

/etc/shinken/shinken.cfg is in shinken-common 1.4-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#-- Arbiter Daemon --

# Set to 0 if you want to make this daemon (arbiter) NOT run
daemon_enabled=1
# Lock file (with pid) for Arbiterd
lock_file=/var/run/shinken/arbiterd.pid
# If you want to set the working directory of the
# arbiter, just uncomment this
workdir=/var/lib/shinken
# User that will be used by the arbiter. 
# If commented, run as current user (root?)
shinken_user=shinken
shinken_group=shinken


#-- Security using SSL --

# Only enabled when used with Pyro3
use_ssl=0
# WARNING : Put full paths for certs
#certs_dir=../etc/certs
#ca_cert=../etc/certs/ca.pem
#server_cert=../etc/certs/server.pem
hard_ssl_name_check=0


#-- Log --

# The arbiter can have it's own local log
local_log=/var/log/shinken/arbiterd.log
# If not need, don't dump initial states into logs
log_initial_states=0


#-- Monitoring configuration --
cfg_dir=shinken-specific/

# Configuration files with common objects like commands, timeperiods,
# or templates that are used by the host/service/contacts
cfg_file=commands.cfg
cfg_file=timeperiods.cfg
#cfg_file=escalations.cfg
#cfg_file=dependencies.cfg
cfg_file=contacts.cfg

# Now templates of hosts, services and contacts
cfg_file=templates.cfg
#cfg_file=time_templates.cfg

# Now groups
#cfg_file=servicegroups.cfg
#cfg_file=hostgroups.cfg
#cfg_file=contactgroups.cfg

# And now real hosts, services, packs and discovered hosts
# They are directory, and we will load all .cfg file into them, and 
# their sub-directory
cfg_dir=hosts
#cfg_dir=services
cfg_dir=packs
#cfg_dir=objects/discovery

# You will find global MACROS into this file
resource_file=resource.cfg


#-- Monitoring advanced configuration --

# Number of minutes between 2 retention save, here 1hour
retention_update_interval=60

# Number of interval (5min by default) to spread the first checks
# for hosts and services
max_service_check_spread=5
max_host_check_spread=5

# after 10s, checks are killed and exit with CRITICAL state (RIP)
service_check_timeout=10

# flap_history is the lengh of history states we keep to look for
# flapping.
# 20 by default, can be useful to increase it. Each flap_history
# increases cost:
#    flap_history cost = 4Bytes * flap_history * (nb hosts + nb services)
# Example: 4 * 20 * (1000+10000) ~ 900Ko for a quite big conf. So, go for it!
flap_history=20

# Max plugin output for the plugins launched by the pollers, in bytes
max_plugins_output_length=65536

# Enable or not the state change on impact detection (like
# an host going unreach if a parent is DOWN for example). It's for
# services and hosts.
# Remark: if this option is absent, the default is 0 (for Nagios
# old behavior compatibility)
enable_problem_impacts_states_change=1

# if 1, disable all notice and warning messages at
# configuration checking
disable_old_nagios_parameters_whining=0

# If you need to set a specific timezone to your deamons, uncomment it
#use_timezone=FR/Paris

# Disabling env macros is good for performances. If you really need it, enable it.
enable_environment_macros=0

# By default don't launch even handlers during downtime. Put 0 to
# get back the default nagios behavior
no_event_handlers_during_downtimes=1

# [Optionnal], a pack distribution file is a local file near the arbiter
# that will keep host pack id association, and so push same host on the same
# scheduler if possible between restarts.
pack_distribution_file=pack_distribution.dat