From cac5013669339d79191e3caee8e439ce8be0b207 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 23 Jul 2009 23:08:59 +0200 Subject: [PATCH] Correct a bug in IS_APACHEMUNIN for Etch --- evocheck.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evocheck.sh b/evocheck.sh index ef65087..06bc5d5 100644 --- a/evocheck.sh +++ b/evocheck.sh @@ -2,7 +2,7 @@ # EvoCheck script -# version 0.3 +# version 0.3.1 # Copyright 2009 Gregory Colpart , Evolix # Disable LANG @@ -130,7 +130,7 @@ if [ "$IS_EVOMAINTENANCEUSERS" = 1 ]; then fi if [ "$IS_APACHEMUNIN" = 1 ]; then - test -e /etc/apache2/apache2.conf && ( egrep "^env.url.*/server-status-[0-9]{4}" /etc/munin/plugin-conf.d/munin-node >/dev/null && egrep "/server-status-[0-9]{4}" /etc/apache2/apache2.conf /etc/apache2/mods-enabled/status.conf >/dev/null || echo 'IS_APACHEMUNIN FAILED!' ) + test -e /etc/apache2/apache2.conf && ( egrep "^env.url.*/server-status-[0-9]{4}" /etc/munin/plugin-conf.d/munin-node >/dev/null && egrep "/server-status-[0-9]{4}" /etc/apache2/apache2.conf >/dev/null || egrep "/server-status-[0-9]{4}" /etc/apache2/apache2.conf /etc/apache2/mods-enabled/status.conf >/dev/null 2>/dev/null || echo 'IS_APACHEMUNIN FAILED!' ) fi # Verification mytop + Munin si MySQL