Module: check_mk
Branch: master
Commit: 4b8c33404df419df877f7cc0946f443e16c868bd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4b8c33404df419…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Nov 9 15:19:10 2016 +0100
improved postfix status section
---
agents/check_mk_agent.linux | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index 1caba17..e9ba957 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -670,7 +670,8 @@ fi
# postfix would write to stderr but only if it's a tty
if type postmulti >/dev/null ; then
echo "<<<postfix_mailq_status:sep(58)>>>"
- script -qfc 'postmulti -p status' /dev/null
+ postfix_out=$(script -qfc 'postmulti -p status' /dev/null)
+ echo $postfix_out
fi