#=============================================================================== # POLLER (S1_Poller) #=============================================================================== # Description: The poller is responsible for: # - Active data acquisition # - Local passive data acquisition # https://shinken.readthedocs.org/en/latest/08_configobjects/poller.html #=============================================================================== define poller { poller_name poller-master address localhost port 7771 ## Optional spare 0 ; 1 = is a spare, 0 = is not a spare manage_sub_realms 0 ; Does it take jobs from schedulers of sub-Realms? min_workers 0 ; Starts with N processes (0 = 1 per CPU) max_workers 0 ; No more than N processes (0 = 1 per CPU) processes_by_worker 256 ; Each worker manages N checks polling_interval 1 ; Get jobs from schedulers each N seconds 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 ## Interesting modules that can be used: # - booster-nrpe = Replaces the check_nrpe binary. Therefore it # enhances performances when there are lot of NRPE # calls. # - named-pipe = Allow the poller to read a nagios.cmd named pipe. # This permits the use of distributed check_mk checks # should you desire it. # - SnmpBooster = Snmp bulk polling module modules booster-nrpe ## Advanced Features #passive 0 ; For DMZ monitoring, set to 1 so the connections ; will be from scheduler -> poller. # Poller tags are the tag that the poller will manage. Use None as tag name to manage # untaggued checks #poller_tags None # Enable https or not use_ssl 0 # enable certificate/hostname check, will avoid man in the middle attacks hard_ssl_name_check 0 realm All }