provisioning tool for building opinionated architecture
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
269 B

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