From 35b4dcdb0ea68b7afa7634eafb3546ee28ce1813 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 24 Jun 2013 10:36:41 +0100 Subject: [PATCH] Improve detection of nf_conntrack --- cookbooks/munin/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/munin/recipes/default.rb b/cookbooks/munin/recipes/default.rb index 8769352c4..eac718fc0 100644 --- 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 -- 2.43.2