22
0
Fork 0

Relecture

This commit is contained in:
gcolpart 2017-01-13 15:02:57 +01:00
parent 1dca4494df
commit cfcdf45e4c
1 changed files with 17 additions and 4 deletions

View File

@ -346,13 +346,26 @@ for i in 0-n 0-e 1-n 1-e 2-n 2-e 3-n 3-e; do
done
~~~
### munin
### Munin
TODO
Par défaut, on trouve des plugins intéressants, notamment *postfix_mailqueue* pour l'évolution des files d'attente.
Pour activer les plugins Postfix pour Munin :
### nagios
~~~
# cd /etc/munin/plugins
# ln -s /usr/share/munin/plugins/postfix_mailqueue
# ln -s /usr/share/munin/plugins/postfix_mailstats
# ln -s /usr/share/munin/plugins/postfix_mailvolume
~~~
TODO
### Nagios
Voici des checks standards pour vérifier que Postfix répond en SMTP et surveiller sa file d'attente :
~~~
$ /usr/lib/nagios/plugins/check_smtp -H localhost
$ /usr/lib/nagios/plugins/check_mailq -M postfix -w 42 -c 1337
~~~
### log2mail