Today, I discovered the following for the ntp-test on our Xymon server:<br><br>
<pre>Service ntp on xymon is OK (up)<br><br><br>Command: ntpdate -u -q -p 2 132.229.84.242 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> <a href="http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate">http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate</a><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">pool.ntp.org</a><br>is equivalent to<br> ntpdate <a href="http://pool.ntp.org">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<br><br><br><a href="http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate#Set_the_time_before_running_ntpd">http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate#Set_the_time_before_running_ntpd</a></pre>
<br>I always thought I needed to run this ntp-test to make sure the time is correct on the central monitor server, to make sure that the time on other monitored hosts is checked correctly.<br><br>Should I<br><br>- change the NTPDATE="ntpdate"-location in /etc/hobbit/hobbitserver.cfg to NTPDATE="sntp -u" to make it work again?<br>
<br>- disable the ntp-test since because it is useless for checking the correct time on monitored hosts.<br><br>Regards, Peter<br>