From 0b1d3c0a4d78158641b9a15b0d93f3cf710f753c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 2 Apr 2015 13:49:35 +0100 Subject: [PATCH] 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. --- cookbooks/munin/templates/default/munin.conf.erb | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5