Xymon Mailing List Archive search

ntp - xymon 4.3.17

2 messages in this thread

list Matthias Pingel · Fri, 19 Sep 2014 20:30:29 +0200 ·
Hi,

I have a Suse Server and have take the "ntp" in the hosts.cfg.

I get allways this Message back.


Service ntp on SERVER is OK (up)


Command: ntpdate -u -q -p 2 IP-Adresse 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


Can you say me how I can change?

Mit freundlichen Grüßen 

Matthias Pingel
list Jeremy Laidman · Mon, 22 Sep 2014 09:31:40 +1000 ·
I think the answer is to use sntp. See this thread:
http://lists.xymon.com/oldarchive/2009/11/msg00134.html

It seems that sntp might not work for some deployments due to variations in
parameter usage. So you might need to make your own wrapper script that
runs sntp with suitable parameters to get the required output.

Xymon v5 will have it's own ntp code and this problem will go away.

J
quoted from Matthias Pingel
 On 20/09/2014 6:11 AM, <user-4d56554dcd21@xymon.invalid> wrote:
Hi,

I have a Suse Server and have take the "ntp" in the hosts.cfg.

I get allways this Message back.


Service ntp on SERVER is OK (up)


Command: ntpdate -u -q -p 2 IP-Adresse 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


Can you say me how I can change?

Mit freundlichen Grüßen

Matthias Pingel