Files
chef/site-cookbooks/kosmos_prometheus/recipes/alertmanager.rb
T
2026-07-03 17:47:13 +02:00

22 lines
465 B
Ruby

#
# Cookbook:: kosmos_prometheus
# Recipe:: alertmanager
#
include_recipe "firewall"
prometheus_alertmanager_install "alertmanager" do
version node["prometheus"]["alertmanager"]["version"]
checksum node["prometheus"]["alertmanager"]["checksum"]
end
prometheus_alertmanager_config "alertmanager"
prometheus_alertmanager_service "alertmanager"
firewall_rule "prometheus alertmanager" do
port 9093
source "10.1.1.0/24"
protocol :tcp
command :allow
end