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.
./check_daytime.pl -H 0.pool.ntp.org -P daytime -w 50 -c 70 -v
Alarm at 10
Connecting to 0.pool.ntp.org using tcp on port 13
Could not connect to 0.pool.ntp.org on tcp port 13
./check_daytime.pl -H ntp.internode.on.net -P daytime -w 50 -c 70 -v
Alarm at 10
Connecting to ntp.internode.on.net using tcp on port 13
daytime protocol: got string 31 AUG 2016 09:06:44 ACST
ntp.internode.on.net time since 1969 is , localhost time is 1472600204, difference is 1472600204
TIME CRITICAL - ntp.internode.on.net time is Thu Jan 1 10:00:00 1970 (1472600204 seconds variance)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
./check_daytime.pl -H 0.pool.ntp.org -P daytime -w 50 -c 70 -v
Alarm at 10
Connecting to 0.pool.ntp.org using tcp on port 13
Could not connect to 0.pool.ntp.org on tcp port 13
./check_daytime.pl -H ntp.internode.on.net -P daytime -w 50 -c 70 -v
Alarm at 10
Connecting to ntp.internode.on.net using tcp on port 13
daytime protocol: got string 31 AUG 2016 09:06:44 ACST
ntp.internode.on.net time since 1969 is , localhost time is 1472600204, difference is 1472600204
TIME CRITICAL - ntp.internode.on.net time is Thu Jan 1 10:00:00 1970 (1472600204 seconds variance)
[root@ntmbweb libexec]# ./check_daytime.pl -H ntp server -P daytime -w 50 -c 70 -v
Alarm at 10
Connecting to ntp server using tcp on port 13
ERROR: Timeout on alarm signal
nmap -Pn -p T:13 ntp server
Starting Nmap 5.21 ( http://nmap.org ) at 2016-08-31 04:44 IRDT
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Nmap scan report for ntp server
Host is up (0.00055s latency).
PORT STATE SERVICE
13/tcp open daytime