This alert monitors the time since the Consul Raft leader server was last able to contact its follower nodes. If the time since the last contact exceeds the warning or critical thresholds, the alert will be triggered. High values indicate a potential issue with the Consul Raft leader's connection to its follower nodes.
Inspect the logs of the Consul leader server and follower nodes for any errors or relevant information. You can find the logs in /var/log/consul
by default.
Ensure that the Consul agents running on the leader and follower nodes are healthy. Use the following command to check the overall health:
consul members
Check the network connectivity between the leader and follower nodes. Verify the nodes are reachable, and there are no firewalls or security groups blocking the necessary ports. Consul uses these ports by default:
Ensure that the Consul server isn't facing any resource constraints, such as high CPU, memory, or disk usage. Use system monitoring tools like top
, vmstat
, or iotop
to observe resource usage and address bottlenecks.
Examine the Consul server's configuration file (usually located at /etc/consul/consul.hcl
) and ensure that there are no errors, inconsistencies, or misconfigurations with server addresses, datacenter names, or communication settings.