experimental service

This commit is contained in:
pvincent
2024-05-05 14:25:54 +04:00
parent 6dac199554
commit ec66d2bd14
4 changed files with 112 additions and 20 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
{% 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
{% for service in expanded.services -%}
check host {{ service.container }}.{{ service.port }} with address {{ service.container }}.lxd
depends on {{ service.container }}.running
if failed port {{ service.port }} protocol http for 2 cycles then alert
{% endfor -%}