[Nagiosplug-devel] Having trouble with check_ntp_devel

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Jun 25 12:57:45 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/06/09 01:03 PM, Charlie Reddington wrote:
> Hi All,
> 
> Thanks for making this plugin, it works great.
> 
> I do have a problem with one host, and I'm trying to trouble shoot the
> problem, but I could use a bit of insight on how the plugin works.
> 
> We are on a linux box (Fedora Core 6 Zod), I know it's old as hell. We
> are running kernel 2.6.22.14-72.fc6.
> 
> I can successfully use ntp on the server. I can connect to the remote
> time server we have, and it syncs fine. I reach out on udp port 123.
> 
> When I try to use the plugin to check this, I get the following on the CLI.
> 
> ./check_ntp_time -vvv -H 172.16.12.87 -w 1 -c 2
> Found 1 peers to check
> sending request to peer 0
> re-sending request to peer 0
> re-sending request to peer 0
> re-sending request to peer 0
> re-sending request to peer 0
> re-sending request to peer 0
> re-sending request to peer 0
> NTP CRITICAL: No response from NTP server

Could it be a firewall/access restriction issue? ntp sends from port
123, while check_ntp* needs to use higher ports because:

1. normal users can't bind to ports <1024
2. if ntp is running, even root can't bind to 123


Please try the commands below; is one of them fail that's the issue. Run
them as root and *shut down the local ntp server* first...

ntpdate -q 172.16.12.87
ntpdate 172.16.12.87


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKQ1gp6dZ+Kt5BchYRAoxAAKDVIy/qlAqGXPNw9wzgclw8kWaOgQCeLdLa
BvZ4R0gZGfsyVu9ojNNQw0w=
=srDU
-----END PGP SIGNATURE-----




More information about the Devel mailing list