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?
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 <colin.coe at gmail.com> 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?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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?
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon_______________________________... Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thanks all, I'll have a look and see how I go
On Tue, 10 Oct 2023 at 16:03, J.C. Cleaver <cleaver at terabithia.org> 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?
Xymon mailing list Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon_______________________________... Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (4)
-
bruno.manzoni@ubi-network.ch
-
cleaver@terabithia.org
-
colin.coe@gmail.com
-
jeremy@laidman.org