[Xymon] Feature - NTP stratum too high - test shows yellow
Josh Luthman
josh at imaginenetworksllc.com
Wed Apr 11 15:55:30 CEST 2012
Wow! Great work! Thank you for sharing.
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Apr 11, 2012 9:52 AM, "John Horne" <john.horne at plymouth.ac.uk> wrote:
> Hello,
>
> Using Xymon 4.3.7 the NTP test currently shows a green result if the NTP
> daemon is running, and red if not. However, what we want to know is if
> the NTP daemon is running, but not synchronised to any high stratum
> clock. When this happens the NTP daemon will return time based on the
> servers own local clock (if so configured), and this will usually be a
> low stratum value (on RHEL/CentOS this is stratum 10). We don't want
> this, and want to be warned if it happens.
>
> Attached is a patch which will allow admins to specify at what stratum
> level the 'ntp' test should turn yellow. If the returned stratum value
> (from 'ntpdate') is greater than or equal to the given value, then the
> 'ntp' test will show yellow. If the stratum is not specified, then the
> ntp test uses the default behaviour (that is, no test of the stratum
> value).
>
> This does not work if sntp is used. I had a look at this, but it seems
> that older versions of sntp did not return the stratum value. New
> versions do, but as far as I can gather sntp is not usually supplied
> because of licensing problems.
>
>
>
>
> John.
>
> --
> John Horne Tel: +44 (0)1752 587287
> Plymouth University, UK Fax: +44 (0)1752 587001
>
> _______________________________________________
> 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/20120411/a5265c26/attachment.html>
More information about the Xymon
mailing list