简体   繁体   English

客户端没有发送keepalive

[英]No keepalive sent from client

I had installed sensu server,sensu client,redis,rabbitmq on individual centos machines.I can see logs of Sensu client for memory check,but the same is missing in sensu server and sensu server logs show: 我已经在各个centos机器上安装了sensu服务器,sensu客户端,redis,rabbitmq。我可以看到Sensu客户端的日志用于内存检查,但是sensu服务器和sensu服务器日志显示:

No keepalive sent from client for 248234 seconds (>=180)\\",\\"status\\":2,\\"history\\":[\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\",\\"2\\"],\\"total_state_change\\":0},\\"occurrences\\":8246,\\"action\\":\\"create\\",\\"timestamp\\":1447675210}"]} 没有从客户端发送keepalive 248234秒(> = 180)\\“,\\”status \\“:2,\\”history \\“:[\\”2 \\“,\\”2 \\“,\\”2 \\“,\\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\“2 \\”,\\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” \\ “2 \\” ,\\ “2 \\”],\\ “total_state_change \\”:0},\\ “出现\\”:8246,\\ “动作\\”:\\ “创建\\”,\\ “时间戳\\”:1447675210}“]}

I am new to it .Request anyone to help me out.Thanks in advance 我是新手。请求任何人帮助我。谢谢你提前

I had same issue. 我有同样的问题。 I tried to delete the client manually from uchiwa and then with curl, and restart sensu-client and sensu-server and redis as well. 我试图从uchiwa手动删除客户端,然后使用curl,并重启sensu-client和sensu-server以及redis。 No success.Then I found something interesting in google groups 没有成功。然后我在谷歌小组中发现了一些有趣的东西

https://groups.google.com/forum/#!topic/sensu-users/5Z2kVFKZjwQ https://groups.google.com/forum/#!topic/sensu-users/5Z2kVFKZjwQ

It seems that if you hosts are not well time and date syncronized sensu complaints in this way. 看来,如果你主持人不是很好的时间和日期同步的感觉投诉这种方式。

So at the end I just ran ntpdate command as: 所以最后我只是运行ntpdate命令:

 # ntpdate pool.ntp.org

and then restart sensu-client and problem was solved. 然后重新启动sensu-client并解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM