diff --git a/HowtoPostfix.md b/HowtoPostfix.md index 2c93d6c5..1751313a 100644 --- a/HowtoPostfix.md +++ b/HowtoPostfix.md @@ -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