From 393336d0996a52c4aaeedae4db990c78a8911e73 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme <jan.philipp@timme.it> Date: Tue, 6 Aug 2019 16:33:42 +0200 Subject: [PATCH] Add connections+tls connections to agent output --- postfix-stats.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix-stats.sh b/postfix-stats.sh index aafac3c..a3436a4 100755 --- a/postfix-stats.sh +++ b/postfix-stats.sh @@ -96,7 +96,7 @@ mi_connects_tls=$(sed -n "$old_log_position","$new_log_position"p $LOGFILE | gre # Report counter results -echo "P postfixdetails sent=$mo_sent|deferred=$mo_deferred|deliverable=$mo_deliverable|undeliverable=$mo_undeliverable|bounced=$mo_bncd_total|bounced-spam=$mo_bncd_spam|bounced-reputation=$mo_bncd_reputation|accepted=$mi_accept|proxy-accepted=$mi_proxy_accept|rejected=$mi_reject|proxy-rejected=$mi_proxy_reject Additional metrics related to postfix" +echo "P postfixdetails sent=$mo_sent|deferred=$mo_deferred|deliverable=$mo_deliverable|undeliverable=$mo_undeliverable|bounced=$mo_bncd_total|bounced-spam=$mo_bncd_spam|bounced-reputation=$mo_bncd_reputation|accepted=$mi_accept|proxy-accepted=$mi_proxy_accept|rejected=$mi_reject|proxy-rejected=$mi_proxy_reject|connections=$mi_connects|tls-connections=$mi_connects_tls Additional metrics related to postfix" # That's it. exit 0 -- GitLab