mark bad hosts

This commit is contained in:
4cuck committed 2023-08-14 01:21:49 +02:00
1 parent 8922a19283
commit 6be108ee64
7 files changed
+35 -12

No files matched your search

+8 -1
View File
@@ -30,7 +30,14 @@
{% for host in instances -%}
<tr>
<td><a href="{{host.url}}">{{host.domain}}</a></td>
<td>{% if host.healthy -%} ✅ {%- else -%} ❌ {%- endif -%}</td>
<td>
{%- if host.is_bad_host -%}
<div title="Host known for blocking healthchecks">❓</div>
{%- elif host.healthy -%}
✅
{%- else -%}
❌
{%- endif -%}</td>
<td>
{%- if host.recent_pings|length > 0 -%}
{%- set height = 57 -%}