From 282a059c6c5a361a417370cdad054aa22259d5cb Mon Sep 17 00:00:00 2001 From: Lukas Macura Date: Mon, 20 Mar 2017 00:07:45 +0100 Subject: [PATCH] Repaired checks for dovecot --- dovecot/control.zaf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dovecot/control.zaf b/dovecot/control.zaf index 03ce542..f33386e 100644 --- a/dovecot/control.zaf +++ b/dovecot/control.zaf @@ -4,7 +4,7 @@ Description:: Plugin for monitoring dovecot and its sync status :: -Version: 0.1 +Version: 0.2 Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/dovecot Web: https://github.com/limosek/zaf-plugins/ Maintainer: Lukas Macura @@ -78,7 +78,7 @@ Parameters:: :: Script:: -doveadm replicator status | grep ^Queued | grep "'{$type}'" | tr -s ' ' | cut -d ' ' -f 4 +doveadm replicator status | grep ^Queued | grep "'$type'" | tr -s ' ' | cut -d ' ' -f 4 :: /Item @@ -92,7 +92,7 @@ Parameters:: :: Script:: -doveadm replicator status | grep ^Waiting | grep "'{$type}'" | tr -s ' ' | cut -d ' ' -f 4 +doveadm replicator status | grep ^Waiting | grep "'$type'" | tr -s ' ' | cut -d ' ' -f 4 :: /Item