From: Tom Hughes Date: Wed, 28 Oct 2020 20:23:54 +0000 (+0000) Subject: Configure ipmi exporter for prometheus X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/2c58a6ce3368072fb6fc9e8e28d5956747e5d9f1?ds=sidebyside Configure ipmi exporter for prometheus --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index e8f903f64..fca803197 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -174,7 +174,14 @@ service "haveged" do action [:enable, :start] end -package "ipmitool" if node[:kernel][:modules].include?("ipmi_si") +if node[:kernel][:modules].include?("ipmi_si") + package "ipmitool" + package "freeipmi-tools" + + prometheus_exporter "ipmi" do + port 9290 + end +end package "irqbalance"