From fc3d2e28cf78c4caa8e417000f45609fc19a5a2b Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 22 Mar 2019 18:37:53 +0100 Subject: [PATCH] APACHEMUNIN: muunin config can be in other files --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index c03a824..551ad4b 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -446,7 +446,7 @@ if is_debian; then || failed "IS_APACHEMUNIN" "mising munin plugins for Apache" else pattern="/server-status-[[:alnum:]]{4,}" - { grep -q -s -E "^env.url.*${pattern}" /etc/munin/plugin-conf.d/munin-node \ + { grep -r -q -s -E "^env.url.*${pattern}" /etc/munin/plugin-conf.d \ && { grep -q -s -E "${pattern}" /etc/apache2/apache2.conf \ || grep -q -s -E "${pattern}" /etc/apache2/mods-enabled/status.conf; };