From: Tom Hughes Date: Thu, 2 Apr 2015 12:49:35 +0000 (+0100) Subject: Avoid noise in munin-limits log X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/0b1d3c0a4d78158641b9a15b0d93f3cf710f753c?ds=sidebyside Avoid noise in munin-limits log If always_send isn't set for a contact you get hundreds of perl warnings, so set it to something invalid that will be ignored. --- diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index 8f4af9b4a..e79342b85 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -16,7 +16,9 @@ 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