From d48770e0e7a83e9631549cf7c6d6d1f5083afcef Mon Sep 17 00:00:00 2001 From: Lapo Luchini Date: Sat, 15 Dec 2007 12:20:22 +0100 Subject: [PATCH] Initial version --- plugins/other/queuestats | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 plugins/other/queuestats diff --git a/plugins/other/queuestats b/plugins/other/queuestats new file mode 100755 index 00000000..4385f68e --- /dev/null +++ b/plugins/other/queuestats @@ -0,0 +1,30 @@ +#!/bin/sh +# +# Plugin to count the qmail queue +# +# Magic markers - optional - used by installation scripts and +# munin-config: +# +#%# family=manual +#%# capabilities=autoconf + +if [ "$1" = "autoconf" ]; then + echo "yes" + exit 0 +fi + +if [ "$1" = "config" ]; then + + cat <