Authored by jack

输出 exception

... ... @@ -55,6 +55,8 @@ public class ZabbixIpTask implements Callable {
writeInflux();
} catch (Exception e) {
DEBUG.error("Failed to execute zabbix task {}, error {}", taskIpList, e);
DEBUG.error("Exception : ", e);
}
DEBUG.info("End to execute zabbix task {}", taskIpList);
... ... @@ -84,7 +86,6 @@ public class ZabbixIpTask implements Callable {
}
List<ZabbixHostInfo> hostInfoList = hostMapper.queryHostInfo(ipList);
DEBUG.info("Found host ip to id info {}", hostInfoList);
if (null == hostInfoList) {
... ... @@ -132,7 +133,7 @@ public class ZabbixIpTask implements Callable {
if (null == itemInfoList) {
return;
}
for (ZabbixItemInfo itemInfo : itemInfoList) {
List<ZabbixItemInfo> itemInfos = Constants.HOSTID_TO_ITEMS.get(itemInfo.getHostId());
... ...