Remove gatus group (use host)

This commit is contained in:
Tobias Reisinger 2026-10-25 23:13:10 +01:00
commit 417a7e2aa3
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 5 additions and 43 deletions

View file

@ -9,7 +9,7 @@ gatus_federation_tester: "https://federationtester.matrix.org/api/report?server_
gatus_endpoints_other:
- name: matrix-federation
url: "{{ gatus_federation_tester }}"
group: 9-external
group: external
interval: 5m
conditions:
- '[STATUS] == 200'
@ -23,7 +23,7 @@ gatus_endpoints_other:
send-on-resolved: true
- name: healthchecks-io
url: "{{ opentofu.healthchecksio.status.ping_url }}"
group: 9-external
group: external
interval: 5m
conditions:
- '[STATUS] == 200'

View file

@ -23,7 +23,7 @@ class FilterModule(object):
result.append({
"name": host["hostname"],
"url": f"icmp://{host['fqdn']}",
"group": "1-hosts",
"group": host["hostname"],
"conditions": [
"[CONNECTED] == true",
],
@ -45,7 +45,7 @@ class FilterModule(object):
continue
result.append({
"name": f"backup@{name}",
"group": "8-backups",
"group": name,
"token": host_data["host_backup_gatus_token"],
"alerts": backup_alerts,
})
@ -85,7 +85,7 @@ class FilterModule(object):
new_endpoint = {
"name": name,
"group": mon.get("group"),
"group": service.get("host"),
"url": url,
"conditions": conditions,
"interval": mon.get("interval"),