mirror of
https://github.com/alerta/alerta-contrib.git
synced 2025-03-16 05:23:28 +00:00
[zabbix] User should be able to close if not yet ack'ed
This commit is contained in:
parent
59a976d5ae
commit
d18494b812
2 changed files with 2 additions and 2 deletions
plugins/zabbix
|
@ -84,7 +84,7 @@ class ZabbixEventAck(PluginBase):
|
|||
elif status == 'closed':
|
||||
|
||||
try:
|
||||
r = self.zapi.event.get(objectids=trigger_id, acknowledged=True, output='extend', sortfield='clock', sortorder='DESC', limit=10)
|
||||
r = self.zapi.event.get(objectids=trigger_id, output='extend', sortfield='clock', sortorder='DESC', limit=10)
|
||||
event_ids = [e['eventid'] for e in r]
|
||||
except ZabbixAPIException:
|
||||
event_ids = None
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
version = '5.1.1'
|
||||
version = '5.1.2'
|
||||
|
||||
setup(
|
||||
name="alerta-zabbix",
|
||||
|
|
Loading…
Reference in a new issue