]> git.openstreetmap.org Git - chef.git/commitdiff
Add host name to munin email subject
authorTom Hughes <tom@compton.nu>
Thu, 2 Apr 2015 12:49:18 +0000 (13:49 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 2 Apr 2015 12:49:18 +0000 (13:49 +0100)
cookbooks/munin/templates/default/munin.conf.erb

index c560717a035fe80cc751a6da04599d536ef67642..8f4af9b4a81a3c8a6338a2a9316a1e0877d9dc0c 100644 (file)
@@ -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