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

375 Views Asked by At

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!

1

There are 1 best solutions below

1
Bilal Ali Jafri On

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