Xymon Server on RHEL9
list Colin Coe
Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9. We use the terabithia.org RPMs. NTP tests are all returning red. I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking". When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red. Service ntp on <CENSORED> is not OK : Service unavailable Command: /usr/bin/chronyc tracking <CENSORED> 2>&1 Any ideas?
list Jeremy Laidman
We just installed the ntpdate package, so the original NTPDATE and NTPDATEOPTS settings work just fine. This is on a slightly older RHEL release to you, so not sure if ntpdate is available from your repos, but worth a try. I don't know how the ntp test determines a good result from a bad, but it might be looking for a string in the ntpdate output that isn't there in the chronyc output. Is there anything in xymond.log? The NTP probe is done by xymonnet so you might be able to run it manually and trace it with strace, to see what it's doing. J
▸
On Tue, 10 Oct 2023 at 11:01, Colin Coe <user-5b250cd7a540@xymon.invalid> wrote:
Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9. We use the terabithia.org RPMs. NTP tests are all returning red. I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking". When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red. Service ntp on <CENSORED> is not OK : Service unavailable Command: /usr/bin/chronyc tracking <CENSORED> 2>&1 Any ideas?
list Bruno Manzoni
Maybe this can help you: https://wiki.xymonton.org/doku.php/monitors look for ntpq Bruno
▸
On 10.10.2023 02:00, Colin Coe wrote:Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9.
We use the terabithia.org <http://terabithia.org>; RPMs.
▸
NTP tests are all returning red.? I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking".
When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red.
Service ntp on <CENSORED> is not OK : Service unavailable
Command: /usr/bin/chronyc tracking <CENSORED> 2>&1
Any ideas?
list Japheth Cleaver
This is probably the best short-term solution. I admit I haven't had the ntpdate tests in my own smoketests for things, so this was a miss on my part. I think this would be an easy enough thing to add to the parser, as we're already looking for both old and really old ntp* output. I'll see if I can work on a patch. Regards, -jc
▸
On Tue, October 10, 2023 00:24, Bruno Manzoni wrote:Maybe this can help you: https://wiki.xymonton.org/doku.php/monitors look for ntpq Bruno On 10.10.2023 02:00, Colin Coe wrote:Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9. We use the terabithia.org <http://terabithia.org>; RPMs. NTP tests are all returning red.?? I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking". When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red. Service ntp on <CENSORED> is not OK : Service unavailable Command: /usr/bin/chronyc tracking <CENSORED> 2>&1 Any ideas?
list Colin Coe
Thanks all, I'll have a look and see how I go
▸
On Tue, 10 Oct 2023 at 16:03, J.C. Cleaver <user-87556346d4af@xymon.invalid> wrote:
This is probably the best short-term solution. I admit I haven't had the ntpdate tests in my own smoketests for things, so this was a miss on my part. I think this would be an easy enough thing to add to the parser, as we're already looking for both old and really old ntp* output. I'll see if I can work on a patch. Regards, -jc On Tue, October 10, 2023 00:24, Bruno Manzoni wrote:Maybe this can help you: https://wiki.xymonton.org/doku.php/monitors look for ntpq Bruno On 10.10.2023 02:00, Colin Coe wrote:Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9. We use the terabithia.org <http://terabithia.org>; RPMs. NTP tests are all returning red.? I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking". When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red. Service ntp on <CENSORED> is not OK : Service unavailable Command: /usr/bin/chronyc tracking <CENSORED> 2>&1 Any ideas?
list John Thurston
Colin's question was related directly to NTP with RHEL 9. Mine is more general, but I think related enough to go here. Our Xymon servers are running on CentOS 7. I need to look at my options to get those replaced (or turned into) Linux 8 or 9. Alma Linux is where I've taken other hosts in this situation; mostly to 9, but one to 8 due to package availability. When we moved our Xymon service from Solaris to Linux, it was (obviously) a completely new deployment. Our current Xymon servers have lots of things besides Xymon running on them. There are external hosts pushing files in via scp through service accounts, and local cron jobs consuming those files to generate test results (and special Xymon web pages). There are customization to the apache web server handling authentication and delivering non-Xymon (but related) content. And other stuff I'm sure I've forgotten about. It's going to be whole lot of work to re-build all of this on a new host, and move traffic to it. I've used 'elevate <https://almalinux.org/elevate/>'; (from Red Hat's 'Leapp') with several other systems to lift them from CentOS 7 to CentOS Stream 8, or Alma 8 & 9. It wasn't as simple as falling off a log, and it wasn't successful in all cases, but in several cases it did what it was supposed to do and saved us a huge amount of work. Has anyone tried "elevating" their older Linux Xymon server to Linux 9 ? -- 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
▸
On 10/9/2023 4:00 PM, Colin Coe wrote:Hi all I'm getting ready to replace our venerable RHEL6 Xymon server with one running RHEL 9. We use the terabithia.org <http://terabithia.org/>; RPMs. NTP tests are all returning red.? I've updated xymonserver.cfg (and restarted the xymon service) by changing NTPDATE="/usr/bin/chronyc" and adding NTPDATEOPTS="tracking". When I run "/usr/bin/chronyc tracking <IP HERE>" from the shell, it works fine however the Xymon page is red. Service ntp on <CENSORED> is not OK : Service unavailable Command: /usr/bin/chronyc tracking <CENSORED> 2>&1 Any ideas?