]> git.openstreetmap.org Git - chef.git/commitdiff
Run the ohai collector every 15 minutes
authorTom Hughes <tom@compton.nu>
Sun, 24 Jul 2022 17:48:49 +0000 (18:48 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 24 Jul 2022 17:48:49 +0000 (18:48 +0100)
cookbooks/hardware/recipes/default.rb

index 5d599e62a57da9fc74ac0ece1909e4f9015e33c4..dd4448180e287a900e58773495124dc3fee9e7f8 100644 (file)
@@ -652,3 +652,7 @@ if node[:hardware][:shm_size]
     notifies :run, "execute[remount-dev-shm]"
   end
 end
+
+prometheus_collector "ohai" do
+  interval "15m"
+end