简短代码
基于pyzabbix, zabbix 4.0,python 3.6
r2 = zabbix.item.get(
output=["key_", "lastvalue", "name"],
hostids=host['hostid'],
selectItemDiscovery={"key_": key_list},
)

相关文章: