From: Tom Hughes Date: Thu, 19 May 2022 19:31:18 +0000 (+0100) Subject: Disable munin email alerting X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/238023c2173dee7b9c835ffc940587be4f0b51b5 Disable munin email alerting --- diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index c4e7e0501..cd20d4d9b 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -14,15 +14,6 @@ graph_strategy cgi # Use rrdcached rrdcached_socket /var/run/rrdcached.sock -# Configure alert targets -contact.admins.command mail -s "Munin Notification for ${var:host}" admins@openstreetmap.org -contact.admins.always_send invalid -contact.null.command cat > /dev/null -contact.null.always_send invalid - -# Send alerts to the admins by default -contacts admins - # Ignore uncontactable hosts for twelve hours unknown_limit 144 <% @clients.sort { |a,b| a.name <=> b.name }.each do |client| -%> diff --git a/roles/munin.rb b/roles/munin.rb index 1522c96e1..046360b0a 100644 --- a/roles/munin.rb +++ b/roles/munin.rb @@ -1,16 +1,6 @@ name "munin" description "Role applied to all munin servers" -default_attributes( - :munin => { - :plugins => { - :munin_update => { - :contacts => "null" - } - } - } -) - run_list( "recipe[munin::server]" )