Apply changed configs to prometheus and alertmanager

This commit is contained in:
2026-07-04 14:12:26 +02:00
parent 7396af5ca4
commit e21797b402
2 changed files with 15 additions and 0 deletions
@@ -11,6 +11,13 @@ prometheus_alertmanager_install "alertmanager" do
end
prometheus_alertmanager_config "alertmanager"
execute "restart alertmanager config" do
command "systemctl restart alertmanager.service"
action :nothing
subscribes :run, "template[/opt/prometheus/alertmanager.yml]", :delayed
end
prometheus_alertmanager_service "alertmanager"
firewall_rule "prometheus alertmanager" do