Showing
1 changed file
with
5 additions
and
0 deletions
@@ -80,6 +80,7 @@ public class ZabbixAlarm { | @@ -80,6 +80,7 @@ public class ZabbixAlarm { | ||
80 | 80 | ||
81 | @Override | 81 | @Override |
82 | public void run() { | 82 | public void run() { |
83 | + try { | ||
83 | if (null == hostIdList || 0 == hostIdList.size()) { | 84 | if (null == hostIdList || 0 == hostIdList.size()) { |
84 | return; | 85 | return; |
85 | } | 86 | } |
@@ -89,6 +90,10 @@ public class ZabbixAlarm { | @@ -89,6 +90,10 @@ public class ZabbixAlarm { | ||
89 | 90 | ||
90 | queryHistory(hostId); | 91 | queryHistory(hostId); |
91 | } | 92 | } |
93 | + } catch (Exception e) { | ||
94 | + DEBUG.error(" Zabbix Task Exception:", e); | ||
95 | + } | ||
96 | + | ||
92 | } | 97 | } |
93 | } | 98 | } |
94 | 99 |
-
Please register or login to post a comment