ncg.conf.j2 1.63 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
# Configuration uses Apache-like format
# as defined by Perl module Config::General.
# For further details see:
#   http://search.cpan.org/dist/Config-General/

# Global variables which can be used in module
# configuration (e.g. LDAP_ADDRESS=$BDII).
# Variables in curly brackets are environment
# variables.

NAGIOS_SERVER = {{ nagios_server }}
PROBES_TYPE= {{ probes_type }}
NAGIOS_ADMIN = {{ nagios_admin_email }}
VO = {{ vo }}
ENABLE_UNICORE_PROBES= {{ enable_unicore_probes }}
METRIC_CONFIG_FILE = {{ metric_config_file }}

<NCG::SiteSet>
  <GOCDB>
    GOCDB_ROOT_URL={{ gocdb_root_url }}
    CERT_STATUS={{ cert_status }}
  </GOCDB>
</NCG::SiteSet>
<NCG::SiteInfo>
  <GOCDB>
    GOCDB_ROOT_URL={{ gocdb_root_url }}
  </GOCDB>
</NCG::SiteInfo>

<NCG::ConfigGen>
  <Nagios>
    TEMPLATES_DIR = /usr/share/grid-monitoring/config-gen/nagios
    OUTPUT_DIR = /etc/nagios/wlcg.d
    NRPE_OUTPUT_DIR = /etc/nagios/nrpe/
    NAGIOS_ROLE = {{ nagios_role }}
    INCLUDE_EMPTY_HOSTS = {{ include_empty_hosts }}
    ENABLE_NOTIFICATIONS = {{ enable_notifications }}
    CHECK_HOSTS = {{ check_hosts }}
    TENANT = {{ tenant }}
  </Nagios>
</NCG::ConfigGen>

<NCG::LocalMetrics>
  <POEM>
    POEM_ROOT_URL = {{ poem_root_url }}
  </POEM>
  <File>
    DB_FILE=/etc/ncg/ncg.localdb
  </File>
</NCG::LocalMetrics>

<NCG::LocalMetricsAttrs>
  <Active>
    GOCDB_ROOT_URL={{ gocdb_root_url }}
    ENABLE_UNICORE_PROBES=$ENABLE_UNICORE_PROBES
    INCLUDE_PROXY_CHECKS = {{ include_proxy_checks }}
    INCLUDE_MSG_CHECKS_RECV = {{ include_msg_checks_recv }}
  </Active>
  <File>
    DB_FILE=/etc/ncg/ncg.localdb
  </File>
</NCG::LocalMetricsAttrs>

include ncg.conf.d/*.conf