Eu usei o valor de trigger para remover o host do zabbix, e checck se o código abaixo funcionar para você também:
from zabbix_api import ZabbixAPI, Already_Exists
z = ZabbixAPI(server="https://zabbix.example.com/zabbix")
z.login("exampleuser", "exampleuser")
for trigger in z.trigger.get({"output": [ "triggerid", "description", "priority" ], "filter": { "value": 1 }, "sortfield": "priority", "sortorder": "DESC"}):
if trigger["description"] == 'Zabbix agent on {HOST.NAME} is unreachable for 5 minutes':
trigmsg = z.trigger.get({"triggerids": trigger["triggerid"], "selectHosts": "extend"})
for tm in trigmsg:
for l in tm['hosts']:
print l['name'], l['hostid']
print "Will kill host " + l['hostid'] + " " + l['host'] + trigger["description"]
z.host.delete( [int(l['hostid'])] )