Pguimaraes Ntp Charm
- By Pedro Guimarães
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 4 | 19 Mar 2021 |
juju deploy pguimaraes-ntp-charm
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
-
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 subordinate charms. A string that 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 reach sync proc vars
A space-separated list of nagios ntpmon checks to enable. Default is to enable all checks except trace; 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_package | string
Setting as "ntp" will manually install NTPd package or "chrony" will install Chronyd package; disregard of the available OS version. If empty, it will take the version available for the OS
-
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.