<div dir="ltr"><div>It is true that ntp/ntpdate are not part of RHEL 8 at all.</div><div><br></div><div>Has anyone gotten it working with the Terabitha RPMs on RHEL 8 yet?</div><div><br></div><div>Sounds like there are code changes that are needed to make the 'ntp' checks work correctly, beyond just changing the RPM spec?<br></div><div><br></div><div>Thanks!</div><div><br></div><div><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><span><div>-- <br></div><div>Matt Vander Werf<br></div></span></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 18, 2020 at 11:47 PM David Boyer <<a href="mailto:davieb@gmail.com" target="_blank">davieb@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Looks like ntpdate and options are defined in ~/lib/environ.c  and ref. in the ~/xymonet/xymonnet.c and ~/xymond/rrd/do_net.c code.    Looks like something that needs to be updated, as I'm running a dev xymon server on CentOS 8</div><div>and the ntp rpm's are not part of the distro anymore.</div><div><br></div><div>Dave<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 18, 2020 at 11:13 PM Jeremy Laidman <<a href="mailto:jeremy@laidman.org" target="_blank">jeremy@laidman.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I think there's an historical reason for the ntp package being required.</div><div><br></div>The xymonnet binary uses ntpdate (via NTPDATE defined in xymonserver.cfg) to be able to monitor the "ntp" service. Specifically it execs "ntpdate -u -q -p 1 <host IP>". The code in do_net.c is written around the output of ntpdate, so chronyc couldn't be used as an alternative without some serious munging of the output. So for a base Xymon server deployment, ntpdate is generally required. [Actually, Xymon can use sntp instead of ntpdate, but this isn't actually relevant to the current situation.]<br><br>I seem to recall, on earlier (prior to v6) versions of RHEL, that the ntpdate binary used to be part of the ntp (or xntp or xntpd) package. This is probably where the dependency on "ntp" came from.<div><br></div><div>Installing (the package) ntp also brings in ntpdate (as a prerequisite), but installing just ntpdate should not install ntp. This seems to be the case for RHELv7 and v6. I'd say the spec file should match %{?rhel} between 6 and 7 and do "Requires: ntpdate".</div><div><div><br></div></div><div>J</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 19 Jun 2020 at 10:43, Ralph M <<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I downloaded the source rpm and installed it.  The spec file for building the RPMs contains this:<div><br>     %if %{without trunk}<br>     %if 0%{?rhel} <= 7<br>     Requires:       ntp<br>     %endif<br><div>     %endif<br></div><div><br></div></div><div>So, yeah, it builds into the binary RPMs the requirement to pull in ntp.  I'm not sure if that can be made into a conditional, to require ntp OR chrony.</div><div><br></div><div>Ralph Mitchell</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 18, 2020 at 5:05 PM Root, Paul T via Xymon <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: "Root, Paul T" <<a href="mailto:Paul.Root@centurylink.com" target="_blank">Paul.Root@centurylink.com</a>><br>To: "'John Thurston'" <<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>>, "<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Thu, 18 Jun 2020 21:04:50 +0000<br>Subject: RE: [Xymon] Terabithia or compile<br>That's odd. I did not do that to me.<br>
<br>
-----Original Message-----<br>
From: Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>> On Behalf Of John Thurston<br>
Sent: Thursday, June 18, 2020 2:24 PM<br>
To: <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: Re: [Xymon] Terabithia or compile<br>
<br>
On 6/17/2020 4:38 PM, John Horne wrote:<br>
> I used to build from source, but for our CentOS 7 and 8 servers I have been<br>
> using the Terabithia RPMs with no problems. The downside is that, like Malcolm<br>
> Hunter mentioned, I have subsequently applied some local patches - sent to the<br>
> list - so that meant rebuilding the RPMs.<br>
<br>
I'm now looking at the Terabithia package for the first time in years.<br>
My first reaction is, wth?<br>
<br>
Installing the xymon package on my server has disabled chronyd and<br>
installed (but not started) ntpd. why?! If I hadn't read through the<br>
list of packages it was going to grab, and understand the significance<br>
of this one, I'd be going blindly forward with an un-synchronized system<br>
clock.<br>
<br>
Now I wonder how many other of my services it has disabled or replaced.<br>
I feel like I've just walked into a mine field :(<br>
<br>
<br>
--<br>
Do things because you should, not just because you can.<br>
<br>
John Thurston    907-465-8591<br>
<a href="mailto:John.Thurston@alaska.gov" target="_blank">John.Thurston@alaska.gov</a><br>
Department of Administration<br>
State of Alaska<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.xymon.com%2fmailman%2flistinfo%2fxymon&umid=601AD134-A860-BC05-A80F-21479CC98765&auth=19120be9529b25014b618505cb01789c5433dae7-cc53d0020a90b8b12230e18a97e5a4f02af71306" rel="noreferrer" target="_blank">https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.xymon.com%2fmailman%2flistinfo%2fxymon&umid=601AD134-A860-BC05-A80F-21479CC98765&auth=19120be9529b25014b618505cb01789c5433dae7-cc53d0020a90b8b12230e18a97e5a4f02af71306</a><br>
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.<br>
<br><br><br>---------- Forwarded message ----------<br>From: "Root, Paul T via Xymon" <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>To: "'John Thurston'" <<a href="mailto:john.thurston@alaska.gov" target="_blank">john.thurston@alaska.gov</a>>, "<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Thu, 18 Jun 2020 21:04:50 +0000<br>Subject: Re: [Xymon] Terabithia or compile<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>