mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 14:55:07 -05:00
sources: add configurable limits for stratum
Add minstratum and maxstratum directives to specify the minimum and maximum allowed stratum of sources to be selected. The default values are 0 and 15 respectively, allowing all NTP sources and refclocks. Sources that are rejected due to having too large or too small stratum are marked with 'r' in the selection log and selectdata report. This is similar to the "tos floor" and "tos ceiling" settings of ntpd, except that maxstratum is interpreted as one below the ceiling.
This commit is contained in:
@@ -474,6 +474,9 @@ synchronisation:
|
||||
* _N_ - has the *noselect* option.
|
||||
* _M_ - does not have enough measurements.
|
||||
* _s_ - is not synchronised.
|
||||
* _r_ - has a stratum outside of the allowed range (configured by the
|
||||
<<chrony.conf.adoc#minstratum,*minstratum*>> and
|
||||
<<chrony.conf.adoc#maxstratum,*maxstratum*>> directives).
|
||||
* _d_ - has a root distance larger than the maximum distance (configured by the
|
||||
<<chrony.conf.adoc#maxdistance,*maxdistance*>> directive).
|
||||
* _~_ - has a jitter larger than the maximum jitter (configured by the
|
||||
|
||||
Reference in New Issue
Block a user