Page 1 of 1
NTP showing NTP CRITICAL: No response from NTP server
Posted: Sun Nov 03, 2019 11:37 pm
NTP showing NTP CRITICAL: No response from NTP server
when my ntp server is ubuntu 16.04 i am getting error:- NTP showing NTP CRITICAL: No response from NTP server
in same time my time is getting synced.
if same configuration in ubuntu 14.04 its working fine.
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Mon Nov 04, 2019 1:41 pm
by benjaminsmith
Hello,
I can try to run some tests here. Which plugin are you using the monitor the ntp server? Let us know you have have a chance.
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Mon Nov 04, 2019 9:42 pm
hi,
i am using below plugin
/usr/local/nagios/libexec/check_ntp_time -H <NTP_Server_IP>
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Tue Nov 05, 2019 12:47 pm
by lmiltchev
Open the /etc/ntp.conf on your Ubuntu 16 server, add this line:
Code: Select all
restrict <ip address of your Nagios XI server>
and restart ntp:
Wait for a minute or two, then test your check again:
Code: Select all
/usr/local/nagios/libexec/check_ntp_time -H <NTP_Server_IP>
Did it work this time?
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Wed Nov 06, 2019 9:34 pm
hi,
do i need to perform this steps in NTP Server or NTP Clients?
i am using systemd-timesyncd Service in NTP clients
in NTP Server i am using NTP Service.
when i am using NTP Server Ubuntu 14.04 i am not getting any error , when i am using ubuntu 16.04 as NTP Server i am facing this error .
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Thu Nov 07, 2019 10:39 am
by lmiltchev
do i need to perform this steps in NTP Server or NTP Clients?
You may. I haven't been able to make this check work any other way on Ubuntu 16.04 or 18.04. Ubuntu must have changed something, which caused the issue in newer versions. If you need to modify configs on many systems in bulk, you could look into something like Ansible to get the job done.
https://docs.ansible.com/ansible/latest/index.html
This would be out of scope of Nagios support though. Thank you!
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Fri Nov 08, 2019 2:00 am
lmiltchev wrote:Open the /etc/ntp.conf on your Ubuntu 16 server, add this line:
Code: Select all
restrict <ip address of your Nagios XI server>
and restart ntp:
Wait for a minute or two, then test your check again:
Code: Select all
/usr/local/nagios/libexec/check_ntp_time -H <NTP_Server_IP>
Did it work this time?
the above option is not available in systemd-timesync service
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Fri Nov 08, 2019 9:39 am
by lmiltchev
the above option is not available in systemd-timesync service
Do you have "
/etc/ntp.conf" file
on the remote (Ubuntu 16) machine? If you do, open the file in a text editor, add the following line:
where "x.x.x.x" is the IP address of your Nagios XI server, then run:
After you do this on the remote box, wait for a few minutes, go back to your Nagios XI server, and run:
Code: Select all
/usr/local/nagios/libexec/check_ntp_time -H <ip address of the Ubuntu 16 machine>
If this doesn't work, I would suggest that you open a new ticket via our Support Center here:
https://support.nagios.com/tickets/
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Sun Nov 10, 2019 9:22 pm
hi team,
please provide the updates, still i am facing same issue.
Re: NTP showing NTP CRITICAL: No response from NTP server
Posted: Mon Nov 11, 2019 9:28 am
by lmiltchev
If you already tried the steps above, and this didn't resolve your issue, open a support ticket via our
support center.