{% for a in arbiters %}
define arbiter {
  arbiter_name        arbiter_{{ a.shortname }}
  host_name           {{ a.fqdn }}{# WARNING SHOULD BE SET FOR DISTRIBUTED MODE !!! #}
  address             {{ a.fqdn }}
  port                {{ a.port }}
  spare               {{ a.spare }}
  {#Uncomment these lines in a HA architecture so the master and slaves know
  # how long they may wait for each other.#}
  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 second#}{#
  # Interesting modules:
  # - named-pipe              = Open the named pipe nagios.cmd
  # - mongodb                 = Load hosts from a mongodb database
  # - PickleRetentionArbiter  = Save data before exiting
  # - nsca                    = NSCA server
  # - VMWare_auto_linking     = Lookup at Vphere server for dependencies
  # - import-glpi             = Import configuration from GLPI (need plugin monitoring for GLPI in server side)
  # - TSCA                    = TSCA server
  # - MySQLImport             = Load configuration from a MySQL database
  # - ws-arbiter              = WebService for pushing results to the arbiter
  # - Collectd                = Receive collectd perfdata
  # - SnmpBooster             = Snmp bulk polling module, configuration linker
  # - import-landscape        = Import hosts from Landscape (Ubuntu/Canonical management tool)
  # - AWS                     = Import hosts from Amazon AWS (here EC2)
  # - ip-tag                  = Tag an host based on it's IP range
  # - FileTag                 = Tag an host if it's on a flat file
  # - CSVTag                  = Tag an host from the content of a CSV file
  #}{% if not a.modules | isEmpty %}
  modules             {{ a.modules | join(',') }}{% endif %}
  use_ssl             {{ a.use_ssl }}
  hard_ssl_name_check {{ a.hard_ssl_name_check }}
}
{% endfor %}
