forked from evolix/evocheck
check de la présence de metche
This commit is contained in:
parent
8466efbf9a
commit
5598c7a8b3
2
TODO
2
TODO
|
@ -2,7 +2,7 @@
|
|||
- Si Pack Web, vérifier que userlogrotate.sh est présent !
|
||||
- [DONE] Vérifier la présence des logrotate.d/munin*
|
||||
- [DONE] Vérifier si evomaintenance.cf est bien configuré
|
||||
- Vérifier si metche est bien présent
|
||||
- [DONE] Vérifier si metche est bien présent
|
||||
- Si pack web, vérifier la conf de log2mail pour Apache et MySQL
|
||||
- Si pack web, vérifier la présence de Squid et son activation
|
||||
- Si pack web, verifier regles log2mail pour squid
|
||||
|
|
|
@ -43,6 +43,7 @@ IS_RAIDSOFT=1
|
|||
IS_AWSTATSLOGFORMAT=1
|
||||
IS_MUNINLOGROTATE=1
|
||||
IS_EVOMAINTENANCECONF=1
|
||||
IS_METCHE=1
|
||||
|
||||
# Source configuration file
|
||||
test -f /etc/evocheck.cf && . /etc/evocheck.cf
|
||||
|
@ -204,3 +205,8 @@ if [ "$IS_EVOMAINTENANCECONF" = 1 ]; then
|
|||
&& grep "^URGENCYTEL" $f |grep -v "06.00.00.00.00" >/dev/null \
|
||||
&& grep "^REALM" $f |grep -v "example.com" >/dev/null ) || echo 'IS_EVOMAINTENANCECONF FAILED!'
|
||||
fi
|
||||
|
||||
# Verification de la présence de metche
|
||||
if [ "$IS_METCHE" = 1 ]; then
|
||||
dpkg -l metche 2>/dev/null |grep ^ii >/dev/null || echo 'IS_METCHE FAILED!'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue