Paulgear Ntp

  • By Paul Gear
Channel Revision Published Runs on
latest/stable 65 19 Mar 2021
Ubuntu 18.04 Ubuntu 17.10 Ubuntu 16.04 Ubuntu 14.04
latest/candidate 105 09 Feb 2022
Ubuntu 18.10 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy paulgear-ntp
Show information

Platform:

Ubuntu
18.04 17.10 16.04 14.04

Learn about configurations >

  • auto_peers | boolean

    Automatically select the most appropriate units in the service to be a service stratum connecting with upstream NTP servers, and use those units as time sources for the remaining units.

  • auto_peers_upstream | int

    Default: 6

    How many units should attempt to connect with upstream NTP servers?

  • nagios_context | string

    Default: juju

    Used by the nrpe-external-master subordinate charm. A string which will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-myservice-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_ntpmon_checks | string

    Default: offset peers reachability sync

    A space-separated list of nagios ntpmon checks to enable. Options are "offset peers reachability sync"; if all are specified, they are combined into a single check; leave empty for no checks.

  • nagios_servicegroups | string

    A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup.

  • ntp_implementation | string

    Default: auto

    Select the NTP implementation to use. Options are: auto, chronyd, and ntpd. If auto is selected, the charm will determine the default implementation for the release on which it is deployed. As at Feb 2018, this is chronyd for Ubuntu 18.04 (bionic) and later, and ntpd for earlier releases. Use of ntpd from Ubuntu 18.04 onwards is not recommended, since it no longer receives security support. Use of chronyd prior to Ubuntu 18.04 is untested.

  • orphan_stratum | int

    The stratum at which NTP must lose connectivity to before it considers itself orphaned, and starts determining the reference time with local peers. A typical value is 6, which will enable orphaned operation when there are no stratum 6 servers or servers of a higher stratum available, which is two strata below most Internet NTP hosts. Set to 0 to disable orphan mode entirely. You must enable at least one peer in order to use orphan mode, but four or more is recommended for best results.

  • peers | string

    Space-separated list of NTP servers to use as peers. Under ntpd, peers are allowed to query the local NTP server via ntpq.

  • pools | string

    Default: 0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org ntp.ubuntu.com

    Space-separated list of NTP servers to use as pool sources. These are recommended over normal sources for their self-healing capabilities. Leave empty to disable pool sources.

  • source | string

    Space-separated list of NTP servers to use as time sources.

  • use_iburst | boolean

    Default: True

    Use iburst for all peers/sources, not just those received via the master relation.