Authored by zhengyouwei

add 18652008443

... ... @@ -75,8 +75,12 @@ public class CenterSwitchCtrl {
@RequestMapping("/doExe")
@ResponseBody
public BaseResponse doExe(@RequestBody CenterSwitchModel centerSwitchModel) {
String exe = "sh /home/master/ops_sh/script/oneKeySwitch/";
if("toQcloud".equals(centerSwitchModel.getExe())){
exe = "ssh root@10.66.4.25 sh /root/script/oneKeySwitch/";
}
StringBuilder commond = new StringBuilder("ssh root@10.66.4.25 sh /root/script/oneKeySwitch/");
StringBuilder commond = new StringBuilder(exe);
commond.append(centerSwitchModel.getName());
commond.append(".sh ");
commond.append(centerSwitchModel.getExe());
... ...
... ... @@ -4,14 +4,14 @@ sendsms.username=yohoyw
sendsms.pwd=NCftHmJ9
sendsms.notice.productid=8
base_mobile=15905144483,18751986615,18502542319
base_mobile=15905144483,18751986615,18502542319,18652008443
swaith_mobile=15905144483,18751986615
dns_exception_mobile=13915992579,18751986615,15905144483
dns_exception_mobile=13915992579,18751986615,15905144483,18652008443
redis_exception_mobile=13515100825,15905144483,18751986615,18502542319
redis_exception_mobile=13515100825,15905144483,18751986615,18502542319,18652008443
java_service_alarm_mobile=13515100825,15905144483,18751986615,18502542319,18614066537
java_service_alarm_mobile=13515100825,15905144483,18751986615,18502542319,18614066537,18652008443
java_service_alarm_flag=true
java_service_alarm_cost_threshold=200
... ...