Page 1 of 1

NTP CRITICAL: No response from NTP server

Posted: Tue Sep 18, 2018 8:47 am
by Gpeterkin
I am receiving the following error when running "/usr/local/nagios/libexec/check_ntp -H 10.112.9.10"

NTP CRITICAL: No response from NTP server

Check command - nrpe

Command view - /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c '$ARG1$' -t 90 -a '$ARG2$' '$ARG3$' '$ARG4$' '$ARG5$' '$ARG6$' '$ARG7$' '$ARG8$' '$ARG9$'

$ARG1$ - check_ntp

$ARG2$ - time.partners.org

$ARG3$ - 1.0

$ARG4$ - 2.0

Any help will be greatly appreciated.

Thanks,
Garvin Peterkin

Re: NTP CRITICAL: No response from NTP server

Posted: Tue Sep 18, 2018 1:39 pm
by scottwilkerson
Are you sure that time server isn't down?

I get a normal response here

Code: Select all

/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2
but the same error here

Code: Select all

/usr/local/nagios/libexec/check_ntp -H time.partners.org -w 1 -c 2

Re: NTP CRITICAL: No response from NTP server

Posted: Thu Sep 20, 2018 8:10 am
by Gpeterkin
Thanks for the response.

I am able to ping the time servers from the Nagios server.
It is up and running.

Re: NTP CRITICAL: No response from NTP server

Posted: Thu Sep 20, 2018 8:33 am
by scottwilkerson
Pinging the server doesn't mean that the NTP service is working properly.

can you run the following?

Code: Select all

/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2

Re: NTP CRITICAL: No response from NTP server

Posted: Thu Sep 27, 2018 11:48 am
by Gpeterkin
Results of the command is below.

/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2
NTP OK: Offset 0.003534734249 secs|offset=0.003535s;1.000000;2.000000;

I will check Nagios again to make sure problem still exists, although I have changed nothing.

Thanks

Re: NTP CRITICAL: No response from NTP server

Posted: Thu Sep 27, 2018 12:03 pm
by scottwilkerson
Gpeterkin wrote:Results of the command is below.

/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2
NTP OK: Offset 0.003534734249 secs|offset=0.003535s;1.000000;2.000000;

I will check Nagios again to make sure problem still exists, although I have changed nothing.

Thanks
So time.windows.com is returning a correct response, if you run the same command against time.partners.org and it errors, it is likely a problem with the time.partners.org time server

Code: Select all

/usr/local/nagios/libexec/check_ntp -H time.partners.org -w 1 -c 2