From 5a1658478ad96dbdc113a3d9283eb443fbaeb1ec Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 22 Jun 2021 06:55:22 +0200 Subject: [PATCH] fix sticky acknowledgements not getting recognized --- service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service b/service index e6c29cc..8337499 100755 --- a/service +++ b/service @@ -76,7 +76,7 @@ def regenerate(): if host['attrs']['downtime_depth'] > 0: continue - if host['attrs']['acknowledgement'] == 1: + if host['attrs']['acknowledgement'] > 0: if not CONFIG['show_ack']: continue @@ -107,7 +107,7 @@ def regenerate(): if svc['attrs']['downtime_depth'] > 0 or svc['attrs']['host_name'] in broken_hosts: continue - if svc['attrs']['acknowledgement'] == 1: + if svc['attrs']['acknowledgement'] > 0: if not CONFIG['show_ack']: continue