Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn¹t working:
Fri Jan 10 08:21:02 2014 ntp ok
Service ntp on ns6.aelabad.net is OK (up)
Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!
The ntpdate program is deprecated and should not be used any more. To quote the upstream ntp developers:
"The functionality ntpdate offered is now provided by the ntpd daemon itself. If you call ntpd with the command line option -q it will retrieve the current time and set it accordingly."
Please check the Network Time Protocol (NTP) daemon man page and http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate for further information.
You can replace the ntpdate call with "rcntp ntptimeset" to achieve an inital poll of the servers specified in /etc/ntp.conf.
The program /usr/sbin/sntp offers comparable functionality to ntpdate. Specifically sntp -P no -r pool.ntp.org is equivalent to ntpdate pool.ntp.org
For further details please refer to the man page of sntp. sntp: unable to write PID to /etc/sntp.pid sntp: Permission denied
-- Daniel J McDonald, CISSP # 78281
That's bad. It doesn't appear to address the -q option of ntpdate.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Daniel McDonald Sent: Friday, January 10, 2014 8:49 AM To: xymon at xymon.com Subject: [Xymon] Ntpdate deprecated
Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn't working:
Fri Jan 10 08:21:02 2014 ntp ok
Service ntp on ns6.aelabad.net is OK (up)
Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!
The ntpdate program is deprecated and should not be used any more. To quote the upstream ntp developers:
"The functionality ntpdate offered is now provided by the ntpd daemon itself. If you call ntpd with the command line option -q it will retrieve the current time and set it accordingly."
Please check the Network Time Protocol (NTP) daemon man page and http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate for further information.
You can replace the ntpdate call with "rcntp ntptimeset" to achieve an inital poll of the servers specified in /etc/ntp.conf.
The program /usr/sbin/sntp offers comparable functionality to ntpdate. Specifically sntp -P no -r pool.ntp.org is equivalent to ntpdate pool.ntp.org
For further details please refer to the man page of sntp. sntp: unable to write PID to /etc/sntp.pid sntp: Permission denied
-- Daniel J McDonald, CISSP # 78281
In my test environment, ntp monitoring on centos-6.5 + xymon-4.3.13 works fine.
tj
On Fri, Jan 10, 2014 at 8:57 AM, Root, Paul T <Paul.Root at centurylink.com>wrote:
That’s bad. It doesn’t appear to address the –q option of ntpdate.
*From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Daniel McDonald *Sent:* Friday, January 10, 2014 8:49 AM *To:* xymon at xymon.com *Subject:* [Xymon] Ntpdate deprecated
Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn’t working:
*Fri Jan 10 08:21:02 2014 ntp ok *
Service ntp on ns6.aelabad.net is OK (up)
Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!The ntpdate program is deprecated and should not be used any more. To quote the upstream ntp developers:
"The functionality ntpdate offered is now provided by the ntpd daemon itself. If you call ntpd with the command line option -q it will retrieve the current time and set it accordingly."
Please check the Network Time Protocol (NTP) daemon man page and http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate for further information.
You can replace the ntpdate call with "rcntp ntptimeset" to achieve an inital poll of the servers specified in /etc/ntp.conf.
The program /usr/sbin/sntp offers comparable functionality to ntpdate. Specifically sntp -P no -r pool.ntp.org is equivalent to ntpdate pool.ntp.org
For further details please refer to the man page of sntp. sntp: unable to write PID to /etc/sntp.pid sntp: Permission denied
-- Daniel J McDonald, CISSP # 78281
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- T.J. Yang
Den 10-01-2014 15:49, Daniel McDonald skrev:
Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn’t working: Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!The ntpdate program is deprecated and should not be used any more.
I have given up on ntpdate, sntp, "ntpd -q" etc ... each sub-version of the ntp package appears to have a new set of commands and options.
In version 5, the NTP check is built into the network test tool, so it doesn't rely on any external programs.
Regards, Henrik
On 1/10/14 10:33 AM, "Henrik Størner" <henrik at hswn.dk> wrote:
Den 10-01-2014 15:49, Daniel McDonald skrev:
Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn¹t working: Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!The ntpdate program is deprecated and should not be used any more.
I have given up on ntpdate, sntp, "ntpd -q" etc ... each sub-version of the ntp package appears to have a new set of commands and options.
In version 5, the NTP check is built into the network test tool, so it doesn't rely on any external programs.
That doesn't seem to be implemented yet on beta.xymon.com:
Fri Jan 10 19:29:02 2014 ntp ok
Service ntp on blixen.hswn.dk is OK (up)
Command: ntpdate -u -q -p 2 192.168.1.1 2>&1
server 192.168.1.1, stratum 2, offset -0.000006, delay 0.02565 10 Jan 19:29:22 ntpdate[8420]: adjust time server 192.168.1.1 offset -0.000006 sec
That's probably a show-stopper for migrating our core xymon server to SuSE. Is there a snapshot tarball with the new ntp method in it?
-- Daniel J McDonald
Den 10-01-2014 19:40, Daniel McDonald skrev:
On 1/10/14 10:33 AM, "Henrik Størner" <henrik at hswn.dk> wrote:
Den 10-01-2014 15:49, Daniel McDonald skrev:
Running xymon 4.3.13 on SuSe ES 11 SP 3, the ntp test isn¹t working: Command: ntpdate -u -q -p 2 10.1.9.51 2>&1
!!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!!!!The ntpdate program is deprecated and should not be used any more.
I have given up on ntpdate, sntp, "ntpd -q" etc ... each sub-version of the ntp package appears to have a new set of commands and options.
In version 5, the NTP check is built into the network test tool, so it doesn't rely on any external programs.
That doesn't seem to be implemented yet on beta.xymon.com:
Fri Jan 10 19:29:02 2014 ntp ok
Service ntp on blixen.hswn.dk is OK (up)
Command: ntpdate -u -q -p 2 192.168.1.1 2>&1
Don't let that fool you :-) The "blixen" server is on an internal network, so it cannot be reached from beta.xymon.com - the data you see here comes from a Xymon network probe running version 4.
I've added another ntp check for the "strauss" server, so have a look at http://beta.xymon.com/xymon-cgi/svcstatus.sh?HOST=strauss.hswn.dk&SERVICE=nt... :
Service ntp on strauss.hswn.dk is OK (up)
Target : 78.46.170.167 port 123
Seconds: 0.001
But .. you ask: Where is all of the NTP data? It's in the client data: http://beta.xymon.com/xymon-cgi/svcstatus.sh?CLIENT=strauss.hswn.dk§ion=...
[ntp] Handler: ntp StartTime: 1389391314 EndTime: 1389391314 TargetHostname: strauss.hswn.dk TargetIP: 78.46.170.167 TargetPort: 123 Location: hetzner Protocol: UDP SSL: NO Status: OK TestID: 20 ElapsedMS: 0.237 DNSMS: 0.42 TimeoutMS: 30000 IntervalMS: 300000 BytesRead: 0 BytesWritten: 0 NTPstratum: 3 NTPoffset: -0.000005
Regards, Henrik
participants (4)
-
dan.mcdonald@austinenergy.com
-
henrik@hswn.dk
-
Paul.Root@CenturyLink.com
-
tjyang2001@gmail.com