summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Mäder <maeder@phys.ethz.ch>2018-03-12 22:30:04 +0100
committerSven Mäder <maeder@phys.ethz.ch>2018-03-12 22:30:04 +0100
commite83bb86a84160876b1695859aa8df7369714b839 (patch)
treeb22ea88e85c11f40357c2600d49d805fbedd28b6
parentb563dce77cbdd894f1eae3df42e25fc105c4254b (diff)
Add good defaults to config for most systems
-rw-r--r--conf.d/python.d/ntpd.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/conf.d/python.d/ntpd.conf b/conf.d/python.d/ntpd.conf
index 5048d5ca94..7adc4074b4 100644
--- a/conf.d/python.d/ntpd.conf
+++ b/conf.d/python.d/ntpd.conf
@@ -71,3 +71,21 @@
# ----------------------------------------------------------------------
# AUTO-DETECTION JOBS
# only one of them will run (they have the same name)
+
+localhost:
+ name: 'local'
+ host: 'localhost'
+ port: '123'
+ show_peers: no
+
+localhost_ipv4:
+ name: 'local'
+ host: '127.0.0.1'
+ port: '123'
+ show_peers: no
+
+localhost_ipv6:
+ name: 'local'
+ host: '::1'
+ port: '123'
+ show_peers: no