No response from NTP server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
john.ts
Posts: 3
Joined: Mon May 19, 2014 8:30 am

No response from NTP server

Post by john.ts »

Hello everyone.

I was wondering if someone could help me out with something.

I recently install nagios core 4. I added a service for check ntp time. Although the command against some servers returns a result

root@gnagios:~# /usr/local/nagios/libexec/check_ntp_time -H "hostname" -w ~0.4:0.4 -c ~0.5:0.5
NTP OK: Offset -0.0006108283997 secs|offset=-0.000611s;0.400000;0.500000;


the same command against other hosts returns No response from NTP server

So far i could find why. The servers are windows 2003/2008 and part of a domain and all are on the same group policy ou. Is there a specific setting/role/feature that must be installed or enabled on the windows servers?

Thanks for your time
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: No response from NTP server

Post by tmcdonald »

I'm neither a Windows admin nor a NTP guru, but a quick Google search revealed the following:

http://social.technet.microsoft.com/For ... nserverNIS

Also make sure to check the firewall settings both on the Windows server and any in-between firewalls that may be in place.
Former Nagios employee
john.ts
Posts: 3
Joined: Mon May 19, 2014 8:30 am

Re: No response from NTP server

Post by john.ts »

Thanks tmcdonald,
I think that I have to install the NTP server feature to the server in order to get a response back. This is at least what I understood from searching.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: No response from NTP server

Post by eloyd »

Correct. No NTP server installed means that there is no NTP server to query to see if it's running or if it's running too far ahead/behind its source clock.

If you're not running NTP server on a box, there is no reason to install it just to monitor it. An NTP client or Windows Time client will sync from an NTP server and maintain time, so you generally don't need to monitor to see that the time is correct on a client.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No response from NTP server

Post by lmiltchev »

john.ts, did eloyd answer your question?
Be sure to check out our Knowledgebase for helpful articles and solutions!
john.ts
Posts: 3
Joined: Mon May 19, 2014 8:30 am

Re: No response from NTP server

Post by john.ts »

lmiltchev sorry for the delay.

Yes I believe eloyd's answer is suitable.

Thanks a lot guys
Locked