Last active
December 5, 2024 14:04
-
-
Save cernoel/2fd3da4d41971f734ed08c3d7966bd46 to your computer and use it in GitHub Desktop.
Gatus - check a consul service via dns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
endpoints: | |
- name: "consul service check - consul" | |
group: "consul service dns" | |
url: "consul.service.dev.consul:8600" # Address of the DNS server to use | |
dns: | |
query-name: "consul.service.dev.consul" | |
query-type: "A" | |
interval: 30s | |
conditions: | |
- "[DNS_RCODE] == NOERROR" | |
alerts: | |
- type: discord |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment