...
|
...
|
@@ -218,7 +218,7 @@ public class ZabbixAlarm { |
|
|
//system.cpu在另外一个库中,调用另一个接口
|
|
|
if (StringUtils.startsWith(itemInfo.getKeyName(), "system.cpu")) {
|
|
|
|
|
|
DEBUG.info("Start to query dhistoryinfo by item {}",itemInfo);
|
|
|
DEBUG.debug("Start to query dhistoryinfo by item {}",itemInfo);
|
|
|
|
|
|
ZabbixDHistoryInfo dHistoryInfo = historyMapper.queryDHistoryInfo(itemInfo.getItemId());
|
|
|
|
...
|
...
|
@@ -226,7 +226,7 @@ public class ZabbixAlarm { |
|
|
historyList.add(dHistoryInfo);
|
|
|
}
|
|
|
} else {
|
|
|
DEBUG.info("Start to query historyinfo by item {}",itemInfo);
|
|
|
DEBUG.debug("Start to query historyinfo by item {}",itemInfo);
|
|
|
|
|
|
ZabbixUHistoryInfo uHistoryInfo = historyMapper.queryUHistoryInfo(itemInfo.getItemId());
|
|
|
|
...
|
...
|
|