1、修改进程监测 相同节点组节点条件 可以添加多个监测配置
This commit is contained in:
@@ -7404,3 +7404,4 @@ topoManage.cancel=Cancel
|
||||
topoManage.TopoNameSetting=Topo Picture Name
|
||||
xt_mk_jbxx.604.mkmc=Advanced
|
||||
xt_mk_jbxx.604.mkms=Advanced configuration function menu
|
||||
pidFile.keyword.allblank=PID file and keyword can not all blank
|
||||
@@ -6531,3 +6531,4 @@ topoManage.cancel=\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c
|
||||
topoManage.TopoNameSetting=\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0439 \u0442\u043e\u043f\u043e\u043b\u043e\u0433\u0438\u0438
|
||||
xt_mk_jbxx.604.mkmc=\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430
|
||||
xt_mk_jbxx.604.mkms=\u041c\u0435\u043d\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u043d\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438
|
||||
pidFile.keyword.allblank=Процесс файл PID и процесс поиска ключевых слов не могут быть пустыми одновременно
|
||||
@@ -7416,3 +7416,4 @@ topoManage.cancel=\u53d6\u6d88
|
||||
topoManage.TopoNameSetting=\u62d3\u6251\u56fe\u540d\u79f0
|
||||
xt_mk_jbxx.604.mkmc=\u9ad8\u7ea7\u914d\u7f6e
|
||||
xt_mk_jbxx.604.mkms=\u9ad8\u7ea7\u914d\u7f6e\u529f\u80fd\u83dc\u5355
|
||||
pidFile.keyword.allblank=PID文件和进程关键字不能同时为空
|
||||
@@ -95,18 +95,23 @@
|
||||
if(Number(type) > 7 && startType == 0){ // 手动启动
|
||||
if(false ==(
|
||||
$id("processFile","","i18n_adsi.message.processFile_n81i")
|
||||
&& $id("processSearchCode","","i18n_adsi.message.processSearchCodeTitle_n81i")
|
||||
|| $id("processSearchCode","","i18n_adsi.message.processSearchCodeTitle_n81i")
|
||||
)){
|
||||
alert("i18n_pidFile.keyword.allblank_n81i");
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(Number(type) > 7 && startType == 1){ // 单次启动
|
||||
if(false ==(
|
||||
$id("processFile","","i18n_adsi.message.processFile_n81i")
|
||||
&& $id("processSearchCode","","i18n_adsi.message.processSearchCodeTitle_n81i")
|
||||
&& $id("processPath","","i18n_adsi.message.processPathTitle_n81i")
|
||||
|| $id("processSearchCode","","i18n_adsi.message.processSearchCodeTitle_n81i")
|
||||
)){
|
||||
alert("i18n_pidFile.keyword.allblank_n81i");
|
||||
return;
|
||||
}else{
|
||||
if(! $id("processPath","","i18n_adsi.message.processPathTitle_n81i")){
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if(Number(type) > 7 && startType == 2){ // 周期启动
|
||||
@@ -558,7 +563,7 @@
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<input type="text" name="detectionSetInfo.uploadGap"
|
||||
id="uploadGap" value="15"/>
|
||||
id="uploadGap" value="5"/>
|
||||
<font color="red">*间隔必须大于或等于5分钟</font>
|
||||
</td>
|
||||
-->
|
||||
@@ -566,14 +571,14 @@
|
||||
i18n_adsi.text.checkOutTime_n81i
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<input type="text" name="detectionSetInfo.checkOutTime" id="checkOutTime" value="0"/>
|
||||
<input type="text" name="detectionSetInfo.checkOutTime" id="checkOutTime" value="5"/>
|
||||
<font color="red"><span class="STYLE1">*</span> </font>
|
||||
</td>
|
||||
<td class="color_1" align="right">
|
||||
i18n_adsi.text.checkMaxTimes_n81i
|
||||
</td>
|
||||
<td class="color_3" align="left">
|
||||
<input type="text" name="detectionSetInfo.checkMaxTimes" id="checkMaxTimes" value="3"/>
|
||||
<input type="text" name="detectionSetInfo.checkMaxTimes" id="checkMaxTimes" value="1"/>
|
||||
<font color="red"><span class="STYLE1">*</span> </font>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -616,7 +621,7 @@
|
||||
</td>
|
||||
<td class="color_3" colspan="3" align="left">
|
||||
<input type="text" name="detectionSetInfo.processFile" id="processFile" value=""/>
|
||||
<font color="red">*</font>
|
||||
<font color="red">* i18n_pidFile.keyword.allblank_n81i</font>
|
||||
<!-- <input type="file" id="processFile" value="" name="deteProcessFile" class="filebtn1"/>
|
||||
<input type="hidden" id="ppPath" name="detectionSetInfo.processFile"/> -->
|
||||
</td>
|
||||
|
||||
@@ -1211,6 +1211,8 @@ public class DetectionSetAction extends BaseAction {
|
||||
StringBuffer errBuffer = null;
|
||||
try {
|
||||
commonService.beginTransaction();
|
||||
Long cti = detectionSetInfo.getCheckTypeInfo().getId();
|
||||
if(cti != null && cti != 8) {//进程监测不做重复判断
|
||||
//先判断设置的节点范围是否重复
|
||||
if (detectionSetInfo.getNodeIpsId() != null
|
||||
&& !"".equals(detectionSetInfo.getNodeIpsId())) {//节点组和节点都不为空
|
||||
@@ -1252,6 +1254,7 @@ public class DetectionSetAction extends BaseAction {
|
||||
errBuffer.append(getI18nText("i18n_DetectionSetAction.downloadExample.rangRepeat_n81i"));
|
||||
}
|
||||
}
|
||||
}
|
||||
// 判断数据是否存在
|
||||
list = this.commonService
|
||||
.find(
|
||||
|
||||
Reference in New Issue
Block a user