forked from evolix/evocheck
Improve IS_APACHEMUNIN test
This commit is contained in:
parent
1a653346b3
commit
e4ecf247c0
|
@ -130,7 +130,7 @@ if [ "$IS_EVOMAINTENANCEUSERS" = 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$IS_APACHEMUNIN" = 1 ]; then
|
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 >/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 /etc/apache2/mods-enabled/status.conf >/dev/null || echo 'IS_APACHEMUNIN FAILED!' )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Verification mytop + Munin si MySQL
|
# Verification mytop + Munin si MySQL
|
||||||
|
|
Loading…
Reference in a new issue