{% for host in expanded.monitored.hosts -%} check host {{ host.container }}.{{ host.port }} with address {{ host.container }}.lxd depends on {{ host.container }}.running if failed port {{ host.port }} protocol http for 2 cycles then alert {% endfor -%}