mirror of
https://github.com/ZeJMaN/shinken_ynh.git
synced 2025-06-07 17:35:30 +02:00
51 lines
1.9 KiB
INI
51 lines
1.9 KiB
INI
#===============================================================================
|
|
# BROKER (S1_Broker)
|
|
#===============================================================================
|
|
# Description: The broker is responsible for:
|
|
# - Exporting centralized logs of all Shinken daemon processes
|
|
# - Exporting status data
|
|
# - Exporting performance data
|
|
# - Exposing Shinken APIs:
|
|
# - Status data
|
|
# - Performance data
|
|
# - Configuration data
|
|
# - Command interface
|
|
# https://shinken.readthedocs.org/en/latest/08_configobjects/broker.html
|
|
#===============================================================================
|
|
define broker {
|
|
broker_name broker-master
|
|
address localhost
|
|
port 7772
|
|
spare 0
|
|
|
|
## Optional
|
|
manage_arbiters 1 ; Take data from Arbiter. There should be only one
|
|
; broker for the arbiter.
|
|
manage_sub_realms 1 ; Does it take jobs from schedulers of sub-Realms?
|
|
timeout 3 ; Ping timeout
|
|
data_timeout 120 ; Data send timeout
|
|
max_check_attempts 3 ; If ping fails N or more, then the node is dead
|
|
check_interval 60 ; Ping node every N seconds
|
|
|
|
## Modules
|
|
# Default: None
|
|
# Interesting modules that can be used:
|
|
# - simple-log = just all logs into one file
|
|
# - livestatus = livestatus listener
|
|
# - tondodb-mysql = NDO DB support (deprecated)
|
|
# - npcdmod = Use the PNP addon
|
|
# - graphite = Use a Graphite time series DB for perfdata
|
|
# - webui = Shinken Web interface
|
|
# - glpidb = Save data in GLPI MySQL database
|
|
modules webui2
|
|
|
|
# Enable https or not
|
|
use_ssl 0
|
|
# enable certificate/hostname check, will avoid man in the middle attacks
|
|
hard_ssl_name_check 0
|
|
|
|
## Advanced
|
|
realm All
|
|
}
|
|
|