update zabbix driver

Allow outdate alarms to be deleted.

Change-Id: I6bd12de3eae7f4cefda1d608d008a1c35917b490
This commit is contained in:
Q.hongtao 2020-08-25 14:06:05 +08:00
parent 53955e4569
commit d24dae2dc5
1 changed files with 4 additions and 0 deletions

View File

@ -189,3 +189,7 @@ class ZabbixDriver(AlarmDriverBase):
@staticmethod
def get_event_types():
return ['zabbix.alarm.ok', 'zabbix.alarm.problem']
@staticmethod
def should_delete_outdated_entities():
return True