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
NTP CRITICAL: No response from NTP server
-
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
Are you sure that time server isn't down?
I get a normal response here
but the same error here
I get a normal response here
Code: Select all
/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2Code: Select all
/usr/local/nagios/libexec/check_ntp -H time.partners.org -w 1 -c 2Re: NTP CRITICAL: No response from NTP server
Thanks for the response.
I am able to ping the time servers from the Nagios server.
It is up and running.
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
Pinging the server doesn't mean that the NTP service is working properly.
can you run the following?
can you run the following?
Code: Select all
/usr/local/nagios/libexec/check_ntp -H time.windows.com -w 1 -c 2Re: NTP CRITICAL: No response from NTP server
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
/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
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 serverGpeterkin 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
Code: Select all
/usr/local/nagios/libexec/check_ntp -H time.partners.org -w 1 -c 2