def get_host_sla_triggerid(self, api, hostid):
        try:
            return api.trigger.get(hostids=hostid, output=['triggerid'],
                                   # XXX a hardcoded description, consider refactoring
                                   filter={'description': 'Missing data about the VM'})[0]['triggerid']
        except IndexError:
            raise pyzabbix.ZabbixAPIException('No template with id: %s' % hostid)
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/monitoring/zabbix/api_client.py/ZabbixApiClient.get_host_sla_triggerid/original