From: Tom Hughes Date: Thu, 2 Apr 2015 12:49:18 +0000 (+0100) Subject: Add host name to munin email subject X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/4cfa80d0059dff60f21938ce010e4830fdd25c16?ds=inline Add host name to munin email subject --- diff --git a/cookbooks/munin/templates/default/munin.conf.erb b/cookbooks/munin/templates/default/munin.conf.erb index c560717a0..8f4af9b4a 100644 --- a/cookbooks/munin/templates/default/munin.conf.erb +++ b/cookbooks/munin/templates/default/munin.conf.erb @@ -15,7 +15,7 @@ graph_strategy cgi rrdcached_socket /var/run/rrdcached.sock # Configure alert targets -contact.admins.command mail -s "Munin Notification" admins@openstreetmap.org +contact.admins.command mail -s "Munin Notification for ${var:host}" admins@openstreetmap.org contact.null.command cat > /dev/null # Send alerts to the admins by default