{% for host in groups['mirrorlist_proxies'] %}
define service {
  host_name             {{ host }}
  service_description   {{ host }} mirrorlist docker container
  check_command         check_by_nrpe!check_mirrorlist_docker_proxy
  use                   defaulttemplate
}
{% endfor %}
