gorgone:
  gorgonecore:
    privkey: "/var/lib/centreon-gorgone/.keys/rsakey.priv.pem"
    pubkey: "/var/lib/centreon-gorgone/.keys/rsakey.pub.pem"
    id: 1

  modules:
    - name: httpserver
      package: "gorgone::modules::core::httpserver::hooks"
      enable: true
      address: "0.0.0.0"
      port: "8085"
      ssl: true
      ssl_cert_file: /var/lib/centreon-gorgone/.keys/server_api_cert.pem
      ssl_key_file: /var/lib/centreon-gorgone/.keys/server_api_key.pem
      auth:
        enabled: false
        user: web-user-gorgone-api
        password: password
      allowed_hosts:
        enabled: true
        subnets:
          - 127.0.0.1/32

    - name: cron
      package: "gorgone::modules::core::cron::hooks"
      enable: true
      cron: !include cron.d/*.yaml

    - name: register
      package: "gorgone::modules::core::register::hooks"
      enable: true

    - name: nodes
      package: "gorgone::modules::centreon::nodes::hooks"
      enable: true

    - name: proxy
      package: "gorgone::modules::core::proxy::hooks"
      enable: true
      buffer_size: 10
      pool: 1
      httpserver:
        enable: true
        token: "^$*ù^é&àérç(é/*-+$$z@ze%r¨£µ~zz"
        address: "0.0.0.0"
        port: 8099 


    - name: legacycmd
      package: "gorgone::modules::centreon::legacycmd::hooks"
      enable: true
      buffer_size: 100
      cmd_dir: "/var/lib/centreon/centcore/"
      cmd_file: "/var/lib/centreon/centcore.cmd"
      cache_dir: "/var/cache/centreon/"
      cache_dir_trap: "/etc/snmp/centreon_traps"
      remote_dir: "/var/cache/centreon//config/remote-data/"

    - name: engine
      package: "gorgone::modules::centreon::engine::hooks"
      enable: true
      command_file: "/var/lib/centreon-engine/rw/centengine.cmd"

    - name: statistics
      package: "gorgone::modules::centreon::statistics::hooks"
      enable: true
      broker_cache_dir: "/var/cache/centreon//broker-stats/"
      cron:
        - id: broker_stats
          timespec: "*/5 * * * *"
          action: BROKERSTATS
          parameters:
            timeout: 10
        - id: engine_stats
          timespec: "*/5 * * * *"
          action: ENGINESTATS
          parameters:
            timeout: 10
