]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/recipes/default.rb
Run chrony_exporter for prometheus
[chef.git] / cookbooks / ntp / recipes / default.rb
index 02c80bc011f080db4d04c79253a86dbd9d2d1450..3a9b0bb8bc2fb2d4eb97a64d2a0fd34eb142a47e 100644 (file)
@@ -63,6 +63,10 @@ end
 
 munin_plugin "chrony"
 
+prometheus_exporter "chrony" do
+  port 9123
+end
+
 # chrony occasionally marks all servers offline during a network outage.
 # force online all sources during a chef run
 execute "chronyc-online" do