在Zabbix的数据库中,可以通过以下两个表来查询某个主机对应的所有触发器:
具体的SQL查询语句如下:
SELECT triggers.triggerid, triggers.description
FROM triggers
JOIN functions ON functions.triggerid = triggers.triggerid
JOIN items ON items.itemid = functions.itemid
JOIN hosts ON hosts.hostid = items.hostid
WHERE hosts.hostid = <host_id>;
其中,<host_id>需要替换为特定主机的ID。这个查询语句会返回该主机对应的所有触发器的ID和描述信息。