From 1863fb100fa4424888fd223374038a82c42868aa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 24 Jul 2022 18:48:49 +0100 Subject: [PATCH] Run the ohai collector every 15 minutes --- cookbooks/hardware/recipes/default.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index 5d599e62a..dd4448180 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -652,3 +652,7 @@ if node[:hardware][:shm_size] notifies :run, "execute[remount-dev-shm]" end end + +prometheus_collector "ohai" do + interval "15m" +end -- 2.39.5