Hi,
Is there any way to check only ping instead of tcp connection between consul agent and server
Hi,
Is there any way to check only ping instead of tcp connection between consul agent and server
Hi @manouti1,
Consul does not support an ICMP echo health check. You could alternatively use a script check which executes ping
against the destination IP (e.g., ping -c 1 <dst IP>
).
You can find a list of supported health checks, and examples of using script checks at https://www.consul.io/docs/discovery/checks.