Showing
1 changed file
with
2 additions
and
2 deletions
@@ -270,7 +270,7 @@ public class ZabbixAlarm { | @@ -270,7 +270,7 @@ public class ZabbixAlarm { | ||
270 | if(tags.indexOf("bigdata,")>=0){ | 270 | if(tags.indexOf("bigdata,")>=0){ |
271 | //// 暂时不报警 | 271 | //// 暂时不报警 |
272 | if(tags.indexOf("mysql,")>=0){ | 272 | if(tags.indexOf("mysql,")>=0){ |
273 | - if(700 < inNet || 700 < outNet){ | 273 | + if(700.00 < inNet || 700.00 < outNet){ |
274 | sendFlag=true; | 274 | sendFlag=true; |
275 | }else{ | 275 | }else{ |
276 | sendFlag=false; | 276 | sendFlag=false; |
@@ -280,7 +280,7 @@ public class ZabbixAlarm { | @@ -280,7 +280,7 @@ public class ZabbixAlarm { | ||
280 | sendFlag=false; | 280 | sendFlag=false; |
281 | } | 281 | } |
282 | }else if(tags.indexOf("mysql,")>=0){ | 282 | }else if(tags.indexOf("mysql,")>=0){ |
283 | - if(700 < inNet || 700 < outNet){ | 283 | + if(700.00 < inNet || 700.00 < outNet){ |
284 | sendFlag=true; | 284 | sendFlag=true; |
285 | }else{ | 285 | }else{ |
286 | sendFlag=false; | 286 | sendFlag=false; |
-
Please register or login to post a comment