Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
#===============================================================================
# REACTIONNER
#===============================================================================
# Description: The reactionner is responsible for:
# - Executing notification actions
# - Executing event handler actions
#===============================================================================

define reactionner {

# Shinken Enterprise. Lines added by import core. Do not remove it, it's used by Shinken Enterprise to update your objects if you re-import them.
    _SE_UUID            core-reactionner-cc8ef81e5add11e5a8db080027f08538
    _SE_UUID_HASH       82a86eee19a87a0fe63f37ee5dec1b20
# End of Shinken Enterprise part

    #======== Daemon name and address =========
    # Daemon name. Must be unique
    reactionner_name          reactionner-master

    # IP/fqdn of this daemon (note: you MUST change it by the real ip/fqdn of this server)
    address                   localhost

    # Port (HTTP/HTTPS) exposed by this daemon
    port                      7769

    # 0 = use HTTP, 1 = use HTTPS
    use_ssl	                  0


    #======== Daemon performance sizing =========
    # Number of worker process to launch. 0 = Auto -> 1 per CPU
    min_workers               0

    # Number of maximum commands a worker is allowed to launch in the same time
    processes_by_worker       256

    # How many seconds to wait between the poller to get jobs from the scheduler
    polling_interval          1


    #======== Daemon connection timeout and down state limit =========
    # timeout: how many seconds to consider a node don't answer
    timeout                   3

    # data_timeout: how many second to consider a configuration transfert to be failed
    # because the network brandwith is too small.
    data_timeout              120

    # max_check_attempts: how many fail check to consider this daemon as DEAD
    max_check_attempts        3

    # Check this daemon every X seconds
    check_interval            60



    #======== Modules to enable for this daemon =========
    # Available:  None for this daemon
    modules


    #======== Realm and architecture settings =========
    # Realm to set this daemon into
    realm                    All

    # manage_sub_realms 1 = take data from the daemon realm and its sub realms
    #                   0 = (default) take data only from the daemon realm
    # NOTE: this can be set to 1 on top level realms to allow the reactionner
    #       to take jobs (notifications & event handlers) from schedulers on lower
    #       realms too.
    #       But please note that if there is a reactionner in the lower realms, then
    #       BOTH reactionners will take jobs from the scheduler.
    manage_sub_realms        0

    # Reactionner tags are managed tags. The hosts, checks and commands can have specific tags, and
    # this reactionner will only take them if the element tag is list in the reactionner
    # Reserved tag name:  None  =  untaggued element (default value)
    #reactionner_tags       None

    # passive:  0 = reactionner will connect to the scheduler to take/returs jobs
    #           1 = scheduler will connect to this reactionner to push/take back jobs
    passive                  0

    # spare: 0 = this reactionner is always active
    #        1 = this reactionner will be activated by the arbiter is another reactionner is dead
    spare                    0


    #======== VMWare / ESXi ==========
    # 1 (default) = if vmware get the ESXi CPU stats value, 0 = do not get value
    vmware__statistics_compute_enable     1


    #======== Enable or not this daemon =========
    # 1 = is enabled, 0 = is disabled
    enabled                  1

}

...