fix sticky acknowledgements not getting recognized
This commit is contained in:
parent
0307fe42f3
commit
5a1658478a
1 changed files with 2 additions and 2 deletions
4
service
4
service
|
@ -76,7 +76,7 @@ def regenerate():
|
||||||
if host['attrs']['downtime_depth'] > 0:
|
if host['attrs']['downtime_depth'] > 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if host['attrs']['acknowledgement'] == 1:
|
if host['attrs']['acknowledgement'] > 0:
|
||||||
if not CONFIG['show_ack']:
|
if not CONFIG['show_ack']:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ def regenerate():
|
||||||
if svc['attrs']['downtime_depth'] > 0 or svc['attrs']['host_name'] in broken_hosts:
|
if svc['attrs']['downtime_depth'] > 0 or svc['attrs']['host_name'] in broken_hosts:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if svc['attrs']['acknowledgement'] == 1:
|
if svc['attrs']['acknowledgement'] > 0:
|
||||||
if not CONFIG['show_ack']:
|
if not CONFIG['show_ack']:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue