简体   繁体   English

客户端没有在1171秒内发送Keepalive(> = 180)

[英]No keepalive sent from client for 1171 seconds (>=180)

I have a setup of sensu core(single server with muliple clients). 我有一个sensu core(带有muliple客户端的单服务器)的安装程序。 I am facing the issue like - 'No keepalive sent from client for 7807 seconds (>=180)' from multiple clients though they instances are alive. 我面临着这样的问题-尽管多个实例仍在运行,但多个客户'No keepalive sent from client for 7807 seconds (>=180)'

I've checked the time in both client and server instances. 我已经检查了客户端和服务器实例的时间。 It does not have much variations(only in secs). 它没有太多变化(仅以秒为单位)。 I tried to install ntpdate on both instances. 我试图在两个实例上安装ntpdate。

[root@client-machine user]# ntpdate pool.ntp.org
31 Aug 14:07:50 ntpdate[14158]: the NTP socket is in use, exiting

[root@server-machine:/home/user]# ntpdate pool.ntp.org
31 Aug 14:08:04 ntpdate[29031]: the NTP socket is in use, exiting

At intermittently, status in uchiwa shows green for this client-machine and it automatically goes to RED for further checks 间歇性地,此客户端计算机的uchiwa中的状态显示为绿色,并且自动转到RED以进行进一步检查

Kindly advise to get rid of this problem! 请建议摆脱这个问题!

I had the same issue. 我遇到过同样的问题。 Resolved it by first setting the timezone and then installing the following packages 通过首先设置时区然后安装以下软件包来解决此问题

date
timedatectl set-timezone Europe/Dublin
yum -y install chrony
timedatectl set-ntp true

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

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