]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/hardware/recipes/default.rb
Drop mcelog cleanup code
[chef.git] / cookbooks / hardware / recipes / default.rb
index 5d599e62a57da9fc74ac0ece1909e4f9015e33c4..04aef48a8d7c15e7ff2b7a974a8fcf42043dd8c1 100644 (file)
@@ -311,6 +311,7 @@ if status_packages.include?("cciss-vol-status")
   systemd_service "cciss-vol-statusd" do
     description "Check cciss_vol_status values in the background"
     exec_start "/usr/local/bin/cciss-vol-statusd"
+    nice 10
     private_tmp true
     protect_system "full"
     protect_home true
@@ -652,3 +653,7 @@ if node[:hardware][:shm_size]
     notifies :run, "execute[remount-dev-shm]"
   end
 end
+
+prometheus_collector "ohai" do
+  interval "15m"
+end