[Xymon] Call for 4.3.29 Patches

Galen Johnson solitaryr at gmail.com
Fri Apr 12 05:36:53 CEST 2019


It'd be nice to see support for chrony as an alternative to ntp (ntpdate or
otherwise).

=G=

On Thu, Apr 11, 2019 at 5:18 PM Axel Beckert <abe at deuxchevaux.org> wrote:

> Hi JC,
>
> On Thu, Apr 11, 2019 at 01:07:11PM -0700, Japheth Cleaver wrote:
> [ntpsec's ntpdate dropped -p option]
> > Axel: Is that ending up in xymonnet.log, or is it elsewhere?
>
> It's ending up in the report itself:
>
> ----------------------------------------------------------------------
> Thu Apr 11 18:40:41 2019 ntp NOT ok
>
> Service ntp on kote5 is not OK : Service unavailable
>
> Command: ntpdate -u -q -p 1 127.0.0.1 2>&1
>
> ntpdate: -p is no longer supported.
> ntpdig: 127.0.0.1: Response dropped: stratum 0, probable KOD packet
> ntpdig: no eligible servers
> ----------------------------------------------------------------------
>
> (The last two lines are from a not fully started ntpd.)
>
> > And over STDERR?
>
> Over STDERR, yes.
>
> It also does seem to still exit with zero, so the only result is this
> warning (unrecognized by Xymon as such) in the report.
>
> So I'd say, as of now, it's indeed safe to keep "-p 1" as it still
> works. The errors in the example (which actually triggered my mail
> initially) above were caused by other issues, i.e. the red state was
> legit. :-)
>
> Later (i.e. with a fixed configuration and ntpd running for a while)
> it looked like this:
>
> ----------------------------------------------------------------------
> Thu Apr 11 18:59:44 2019 ntp ok
>
> Service ntp on kote5 is OK (up)
>
> Command: ntpdate -u -q 127.0.0.1 2>&1
>
> 2019-04-11 18:59:44.967208 (-0200) -0.000018 +/- 0.000064 127.0.0.1 s3
> no-leap
> ----------------------------------------------------------------------
>
> In comparison to old ntpdate looks like this:
>
> ----------------------------------------------------------------------
> Fri Mar 29 13:42:50 2019 ntp ok
>
> Service ntp on kote5 is OK (up)
>
> Command: ntpdate -u -q -p 1 127.0.0.1 2>&1
>
> server 127.0.0.1, stratum 2, offset -0.000018, delay 0.02570
> 29 Mar 13:42:53 ntpdate[25715]: adjust time server 127.0.0.1 offset
> -0.000018 sec
> ----------------------------------------------------------------------
>
> (No proper time format, no time zone, no year, duplicated information,
> multi-line, etc. :-)
>
>                 Kind regards, Axel
> --
> PGP: 2FF9CD59612616B5      /~\  Plain Text Ribbon Campaign,
> http://arc.pasp.de/
> Mail: abe at deuxchevaux.org  \ /  Say No to HTML in E-Mail and Usenet
> Mail+Jabber: abe at noone.org  X
> https://axel.beckert.ch/   / \  I love long mails:
> https://email.is-not-s.ms/
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20190411/23067d84/attachment.html>


More information about the Xymon mailing list