From caa81310c96550018284fd824dff9e00ef8ed453 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 17 Jul 2012 19:36:00 +0200 Subject: [PATCH] =?UTF-8?q?[munin]=20amavis.bloqu=C3=A9,=20juste=20pour=20?= =?UTF-8?q?voir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20120717173600-28565-ceaa880e1a54708b6e3a17d78f560e6dbbb922c5.gz --- munin/amavis | 3 +++ 1 file changed, 3 insertions(+) diff --git a/munin/amavis b/munin/amavis index 5748d677..a0338716 100644 --- a/munin/amavis +++ b/munin/amavis @@ -39,6 +39,8 @@ if [ "$1" = "config" ]; then echo "total.draw AREA" echo 'virus.label Mails vérolés' echo "virus.draw AREA" + echo 'blocked.label Mails bloqués' + echo "blocked.draw AREA" exit 0 fi @@ -46,3 +48,4 @@ logtail -o ${OFFSET} -f ${AMAVIS_LOG} | grep 'amavis\[.*\]:' > ${TEMP_FILE} echo "total.value `cat ${TEMP_FILE} | wc -l`" echo "virus.value `grep -c infected ${TEMP_FILE}`" +echo "blocked.value `grep -c Blocked ${TEMP_FILE}`"