projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00d1c35
)
Improve detection of nf_conntrack
author
Tom Hughes
<tom@compton.nu>
Mon, 24 Jun 2013 09:36:41 +0000
(10:36 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 24 Jun 2013 09:36:41 +0000
(10:36 +0100)
cookbooks/munin/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/munin/recipes/default.rb
b/cookbooks/munin/recipes/default.rb
index 8769352c48400199a23228bd36a201bb483146e5..eac718fc004b2c23ab1e50be8246a53f334f449c 100644
(file)
--- a/
cookbooks/munin/recipes/default.rb
+++ b/
cookbooks/munin/recipes/default.rb
@@
-101,7
+101,7
@@
munin_plugin "diskstats"
munin_plugin "entropy"
munin_plugin "forks"
-if
File.exists?("/proc/net/ip_conntrack") or File.exists?("/proc/net/
nf_conntrack")
+if
node[:kernel][:modules].include?("
nf_conntrack")
munin_plugin "fw_conntrack"
munin_plugin "fw_forwarded_local"
else