简体   繁体   中英

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

I have a setup of sensu core(single server with muliple clients). I am facing the issue like - 'No keepalive sent from client for 7807 seconds (>=180)' from multiple clients though they instances are alive.

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.

[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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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