Showing
1 changed file
with
3 additions
and
2 deletions
@@ -55,6 +55,8 @@ public class ZabbixIpTask implements Callable { | @@ -55,6 +55,8 @@ public class ZabbixIpTask implements Callable { | ||
55 | writeInflux(); | 55 | writeInflux(); |
56 | } catch (Exception e) { | 56 | } catch (Exception e) { |
57 | DEBUG.error("Failed to execute zabbix task {}, error {}", taskIpList, e); | 57 | DEBUG.error("Failed to execute zabbix task {}, error {}", taskIpList, e); |
58 | + | ||
59 | + DEBUG.error("Exception : ", e); | ||
58 | } | 60 | } |
59 | 61 | ||
60 | DEBUG.info("End to execute zabbix task {}", taskIpList); | 62 | DEBUG.info("End to execute zabbix task {}", taskIpList); |
@@ -84,7 +86,6 @@ public class ZabbixIpTask implements Callable { | @@ -84,7 +86,6 @@ public class ZabbixIpTask implements Callable { | ||
84 | } | 86 | } |
85 | List<ZabbixHostInfo> hostInfoList = hostMapper.queryHostInfo(ipList); | 87 | List<ZabbixHostInfo> hostInfoList = hostMapper.queryHostInfo(ipList); |
86 | 88 | ||
87 | - | ||
88 | DEBUG.info("Found host ip to id info {}", hostInfoList); | 89 | DEBUG.info("Found host ip to id info {}", hostInfoList); |
89 | 90 | ||
90 | if (null == hostInfoList) { | 91 | if (null == hostInfoList) { |
@@ -132,7 +133,7 @@ public class ZabbixIpTask implements Callable { | @@ -132,7 +133,7 @@ public class ZabbixIpTask implements Callable { | ||
132 | if (null == itemInfoList) { | 133 | if (null == itemInfoList) { |
133 | return; | 134 | return; |
134 | } | 135 | } |
135 | - | 136 | + |
136 | for (ZabbixItemInfo itemInfo : itemInfoList) { | 137 | for (ZabbixItemInfo itemInfo : itemInfoList) { |
137 | List<ZabbixItemInfo> itemInfos = Constants.HOSTID_TO_ITEMS.get(itemInfo.getHostId()); | 138 | List<ZabbixItemInfo> itemInfos = Constants.HOSTID_TO_ITEMS.get(itemInfo.getHostId()); |
138 | 139 |
-
Please register or login to post a comment