etcd:如何检查每个节点可以互相看到
我在VM上有3个ETCD节点(而不是K8S)。 存在这样的问题,以至于节点还活着,但看不到彼此,在健康检查期间,错误“连接超时”。但是,每个节点都具有“ Alive”状态,Zabbix带有HTTP的“ ETCD”模板不会生成任何警报。
有什么方法可以检查节点可见性并使用Zabbix进行监视?
I have 3 etcd nodes on VMs (not k8s).
There was such problem that nodes are alive but can't see each other, error "connection timeout" during health check. But every single node has "alive" status and zabbix with "etcd by http" template doesn't generate any alerts.
Is there any way to check nodes visibility and to monitor it using zabbix?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您运行的版本,这是一个使用3.5.2
命令 执行此操作的示例
etcddctl_api = 3 ./bin/etcdctl端点状态-CLuster -W Table -EndPoints =“ Member1.EtCD:2384,Member2.EtCD:2384,Member3.Etcd:2384”
output>输出:
Depending upon the version you run, here's an example to do this with 3.5.2
Command
ETCDCTL_API=3 ./bin/etcdctl endpoint status --cluster -w table --endpoints="member1.etcd:2384,member2.etcd:2384,member3.etcd:2384"
Output: