NTP CRITICAL: No response from NTP server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gpeterkin
Posts: 10
Joined: Wed Jan 04, 2017 12:51 pm

NTP CRITICAL: No response from NTP server

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NTP CRITICAL: No response from NTP server

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gpeterkin
Posts: 10
Joined: Wed Jan 04, 2017 12:51 pm

Re: NTP CRITICAL: No response from NTP server

Post by Gpeterkin »

Thanks for the response.

I am able to ping the time servers from the Nagios server.
It is up and running.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NTP CRITICAL: No response from NTP server

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gpeterkin
Posts: 10
Joined: Wed Jan 04, 2017 12:51 pm

Re: NTP CRITICAL: No response from NTP server

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NTP CRITICAL: No response from NTP server

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked