<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>When we went for CentOS 8, we simply took the CentOS 7 source RPMs  for ntp and rebuilt them for CentOS 8. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>There are good reasons why you would want to choose NTP over Chrony in certain corner cases.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Mark<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Xymon <xymon-bounces@xymon.com> <b>On Behalf Of </b>David Boyer<br><b>Sent:</b> 19 June 2020 04:47<br><b>To:</b> Jeremy Laidman <jeremy@laidman.org><br><b>Cc:</b> xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] Terabithia or compile<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>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<o:p></o:p></p></div><div><p class=MsoNormal>and the ntp rpm's are not part of the distro anymore.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Dave<o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Thu, Jun 18, 2020 at 11:13 PM Jeremy Laidman <<a href="mailto:jeremy@laidman.org">jeremy@laidman.org</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal>I think there's an historical reason for the ntp package being required.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>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.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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".<o:p></o:p></p></div><div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>J<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Fri, 19 Jun 2020 at 10:43, Ralph M <<a href="mailto:ralphmitchell@gmail.com" target="_blank">ralphmitchell@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal>I downloaded the source rpm and installed it.  The spec file for building the RPMs contains this:<o:p></o:p></p><div><p class=MsoNormal><br>     %if %{without trunk}<br>     %if 0%{?rhel} <= 7<br>     Requires:       ntp<br>     %endif<o:p></o:p></p><div><p class=MsoNormal>     %endif<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal>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.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ralph Mitchell<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>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:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal><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" 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" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________<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" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p></blockquote></div><p class=MsoNormal>_______________________________________________<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" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p></blockquote></div></div></body></html>