39 lines
1.5 KiB
INI
39 lines
1.5 KiB
INI
#===============================================================================
|
|
# RECEIVER
|
|
#===============================================================================
|
|
# The receiver manages passive information. It's just a "buffer" which will
|
|
# load passive modules (like NSCA) and be read by the arbiter to dispatch data.
|
|
#===============================================================================
|
|
define receiver {
|
|
receiver_name receiver-master
|
|
address localhost
|
|
port 7773
|
|
spare 0
|
|
|
|
## Optional parameters
|
|
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 for Receiver
|
|
# - named-pipe = Open the named pipe nagios.cmd
|
|
# - nsca = NSCA server
|
|
# - TSCA = TSCA server
|
|
# - ws-arbiter = WebService for pushing results to the arbiter
|
|
# - Collectd = Receive collectd perfdata
|
|
modules ws-arbiter
|
|
|
|
# Enable https or not
|
|
use_ssl 0
|
|
# enable certificate/hostname check, will avoid man in the middle attacks
|
|
hard_ssl_name_check 0
|
|
|
|
## Advanced Feature
|
|
direct_routing 1 ; If enabled, it will directly send commands to the
|
|
; schedulers if it knows about the hostname in the
|
|
; command.
|
|
realm All
|
|
accept_passive_unknown_check_results 1
|
|
}
|