Add a flag to enable mode7
collectd failed to monitor ntpd on Xenial servers because it uses mode7
requests but newer ntpd releases (4.2.7p230 and later) disable this mode
by default for security reasons. Even though the ntpd configuration only
allows queries from the 127.0.0.1 address, mode7 requests aren't enabled
for safety unless the user model explicitly says so.
diff --git a/metadata/service/client/init.yml b/metadata/service/client/init.yml
index 87ef14f..d71b06e 100644
--- a/metadata/service/client/init.yml
+++ b/metadata/service/client/init.yml
@@ -12,3 +12,4 @@
strata:
- ${_param:ntp_strata_host1}
- ${_param:ntp_strata_host2}
+ mode7: false