Skip to content

Commit

Permalink
Organize endpoints in gatus using groups
Browse files Browse the repository at this point in the history
  • Loading branch information
claha committed Aug 28, 2023
1 parent d07d389 commit 872f5cc
Show file tree
Hide file tree
Showing 2 changed files with 416 additions and 416 deletions.
3 changes: 3 additions & 0 deletions roles/gatus/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ alerting:
endpoints:
{% for endpoint in gatus_icmp_endpoints %}
- name: {{ endpoint.name }}
group: Servers
url: "icmp://{{ endpoint.url }}"
interval: 5m
conditions:
Expand All @@ -33,6 +34,7 @@ endpoints:
{% endfor %}
{% for endpoint in gatus_dns_endpoints %}
- name: {{ endpoint.name }}
group: DNS
url: "{{ endpoint.server }}"
dns:
query-name: "{{ endpoint.query }}"
Expand All @@ -51,6 +53,7 @@ endpoints:
{% endfor %}
{% for endpoint in gatus_healthcheck_endpoints %}
- name: {{ endpoint.name }}
group: Healthchecks
url: "{{ gatus_healthchecks_url }}:8000/api/v3/checks/{{ endpoint.uuid }}"
headers:
X-Api-Key: {{ healthchecks_api_key }}
Expand Down
Loading

0 comments on commit 872f5cc

Please sign in to comment.