<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>The ntp test uses the ntpdate command:</p>
<p>
<blockquote type="cite">
<pre style="color: rgb(216, 216, 191); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(0, 0, 0); text-decoration-style: initial; text-decoration-color: initial;">Command: ntpdate -u -q -p 1 192.168.192.1 2>&1
server 192.168.192.1, stratum 3, offset 0.000055, delay 0.02580
18 Aug 12:19:03 ntpdate[75689]: adjust time server 192.168.192.1 offset 0.000055 sec</pre>
</blockquote>
It shouldn't matter if the system is using chrony for timekeeping
because ntpdate with '-q' is a simple ntp protocol query that
doesn't attempt to change anything.</p>
<p>You may be able to cook something up with the chronyd command
using the option '-Q' but it looks quite messy to do.</p>
<p>Cheers,</p>
<p>Brian<br>
</p>
<br>
<div class="moz-cite-prefix">On 17/8/18 1:47 am, Mike Burger wrote:<br>
</div>
<blockquote type="cite"
cite="mid:146beaeb9ce5093325acda644b40e15f@bubbanfriends.org">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>Good morning,<br>
<br>
I'm installing Xymon on an Amazon Linux 2 instance (RHEL/CentOS
7 equivalent) and noticed that, although Chrony is installed on
the instance, the ntp and ntpdate packages were installed as
pre-reqs for the JC's xymon package.<br>
<br>
I was just wondering:</p>
<ul>
<li>Why is ntp/ntpdate a requirement for the Xymon package?</li>
<li>Does Chrony not have equivalent functionality?</li>
</ul>
<p>Thanks.<br>
<span class="sig">-- <br>
Mike Burger<br>
<a href="http://www.bubbanfriends.org" target="_blank"
rel="noopener noreferrer" moz-do-not-send="true">http://www.bubbanfriends.org</a><br>
<br>
"It's always suicide-mission this, save-the-planet that. No
one ever just stops by to say 'hi' anymore." --Colonel Jack
O'Neill, SG1</span></p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
</blockquote>
<br>
</body>
</html>