Xymon Mailing List Archive search

Terabithia or compile

list Matt VanderWerf
Wed, 16 Mar 2022 08:19:33 -0400
Message-Id: <CAAZU3rDu8xzufm5gh=9d0Lj=user-02d03881368f@xymon.invalid>

It is true that ntp/ntpdate are not part of RHEL 8 at all.

Has anyone gotten it working with the Terabitha RPMs on RHEL 8 yet?

Sounds like there are code changes that are needed to make the 'ntp' checks
work correctly, beyond just changing the RPM spec?

Thanks!

-- 
Matt Vander Werf

On Thu, Jun 18, 2020 at 11:47 PM David Boyer <user-a6c09f28d9d2@xymon.invalid> wrote:
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
and the ntp rpm's are not part of the distro anymore.

Dave

On Thu, Jun 18, 2020 at 11:13 PM Jeremy Laidman <user-0608abae5e7c@xymon.invalid>
wrote:
I think there's an historical reason for the ntp package being required.

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.]

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.

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".

J


On Fri, 19 Jun 2020 at 10:43, Ralph M <user-00a5e44c48c0@xymon.invalid> wrote:
I downloaded the source rpm and installed it.  The spec file for
building the RPMs contains this:

     %if %{without trunk}
     %if 0%{?rhel} <= 7
     Requires:       ntp
     %endif
     %endif

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.

Ralph Mitchell


On Thu, Jun 18, 2020 at 5:05 PM Root, Paul T via Xymon <xymon at xymon.com>
wrote:
---------- Forwarded message ----------
From: "Root, Paul T" <user-76fdb6883669@xymon.invalid>
To: "'John Thurston'" <user-ce4d79d99bab@xymon.invalid>, "xymon at xymon.com" <
xymon at xymon.com>
Cc:
Bcc:
Date: Thu, 18 Jun 2020 21:04:50 +0000
Subject: RE: [Xymon] Terabithia or compile
That's odd. I did not do that to me.

-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of John Thurston
Sent: Thursday, June 18, 2020 2:24 PM
To: xymon at xymon.com
Subject: Re: [Xymon] Terabithia or compile

On 6/17/2020 4:38 PM, John Horne wrote:
I used to build from source, but for our CentOS 7 and 8 servers I
have been
using the Terabithia RPMs with no problems. The downside is that,
like Malcolm
Hunter mentioned, I have subsequently applied some local patches -
sent to the
list - so that meant rebuilding the RPMs.
I'm now looking at the Terabithia package for the first time in years.
My first reaction is, wth?

Installing the xymon package on my server has disabled chronyd and
installed (but not started) ntpd. why?! If I hadn't read through the
list of packages it was going to grab, and understand the significance
of this one, I'd be going blindly forward with an un-synchronized system
clock.

Now I wonder how many other of my services it has disabled or replaced.
I feel like I've just walked into a mine field :(


--
Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Department of Administration
State of Alaska


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
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.


---------- Forwarded message ----------
From: "Root, Paul T via Xymon" <xymon at xymon.com>
To: "'John Thurston'" <user-ce4d79d99bab@xymon.invalid>, "xymon at xymon.com" <
xymon at xymon.com>
Cc:
Bcc:
Date: Thu, 18 Jun 2020 21:04:50 +0000
Subject: Re: [Xymon] Terabithia or compile