projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cfa80d
)
Avoid noise in munin-limits log
author
Tom Hughes
<tom@compton.nu>
Thu, 2 Apr 2015 12:49:35 +0000
(13:49 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 2 Apr 2015 12:49:35 +0000
(13:49 +0100)
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
patch
|
blob
|
history
diff --git
a/cookbooks/munin/templates/default/munin.conf.erb
b/cookbooks/munin/templates/default/munin.conf.erb
index 8f4af9b4a81a3c8a6338a2a9316a1e0877d9dc0c..e79342b85627b1988ac682ef1edb9dff4cb9476e 100644
(file)
--- 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