From cfcdf45e4cfa6ba112551e6fd56571c680cd2612 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Fri, 13 Jan 2017 15:02:57 +0100 Subject: [PATCH] Relecture --- HowtoPostfix.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) 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