<p dir="ltr">I think the answer is to use sntp. See this thread: <a href="http://lists.xymon.com/oldarchive/2009/11/msg00134.html">http://lists.xymon.com/oldarchive/2009/11/msg00134.html</a></p>
<p dir="ltr">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.</p>
<p dir="ltr">Xymon v5 will have it's own ntp code and this problem will go away.</p>
<p dir="ltr">J<br>
</p>
<div class="gmail_quote">On 20/09/2014 6:11 AM,  <<a href="mailto:m.pingel@ndr.de">m.pingel@ndr.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">Hi,</font>
<br>
<br><font face="sans-serif">I have a Suse Server and have take the
"ntp" in the hosts.cfg.</font>
<br>
<br><font face="sans-serif">I get allways this Message back.</font>
<br>
<br><tt><font size="3"><br>
Service ntp on SERVER is OK (up)<br>
<br>
<br>
Command: ntpdate -u -q -p 2 IP-Adresse 2>&1<br>
<br>
       !!!!!!!!!!!!!!  WARNING !!!!!!!!!!!!!!!!!!<br>
<br>
The ntpdate program is deprecated and should not be used any more.  To<br>
quote the upstream ntp developers:<br>
<br>
  "The functionality ntpdate offered is now provided by the ntpd
daemon<br>
  itself.  If you call ntpd with the command line option -q it
will<br>
  retrieve the current time and set it accordingly."<br>
<br>
Please check the Network Time Protocol (NTP) daemon man page and<br>
  </font></tt><a href="http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate" target="_blank"><tt><font size="3">http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate</font></tt></a><tt><font size="3"><br>
for further information.<br>
<br>
You can replace the ntpdate call with "rcntp ntptimeset" to achieve
an<br>
inital poll of the servers specified in /etc/ntp.conf.<br>
<br>
The program /usr/sbin/sntp offers comparable functionality to ntpdate.<br>
Specifically<br>
  sntp -P no -r <a href="http://pool.ntp.org" target="_blank">pool.ntp.org</a><br>
is equivalent to<br>
  ntpdate <a href="http://pool.ntp.org" target="_blank">pool.ntp.org</a><br>
<br>
For further details please refer to the man page of sntp.<br>
sntp: unable to write PID to /etc/sntp.pid<br>
sntp: Permission denied</font></tt>
<br>
<br>
<br><font face="sans-serif">Can you say me how I can change?</font>
<br>
<br><font face="sans-serif">Mit freundlichen Grüßen <br>
<br>
Matthias Pingel </font><br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div>