[Xymon] Ntpdate deprecated

Root, Paul T Paul.Root at CenturyLink.com
Fri Jan 10 15:57:40 CET 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140110/0d320de0/attachment.html>


More information about the Xymon mailing list