initial commit
This commit is contained in:
40
src/com/nms/server/common/UpdateParams.java
Normal file
40
src/com/nms/server/common/UpdateParams.java
Normal file
@@ -0,0 +1,40 @@
|
||||
package com.nms.server.common;
|
||||
|
||||
public class UpdateParams extends java.util.ListResourceBundle {
|
||||
public static String CONFIG_UPDATE_FLAG = "config.update.flag"; //更新标示 固定 判断配置文件指定值更新 建议自增1操作
|
||||
public static String CONFIG_UPDATE_FLAG_VALUE = "12"; //更新标示 该值 缺省值为0 每次修改都要
|
||||
static final String[][] contents = new String[][]{
|
||||
{CONFIG_UPDATE_FLAG,CONFIG_UPDATE_FLAG_VALUE}, //更新标示 固定 判断配置文件指定值更新 建议自增1操作
|
||||
{"detec.switch.str","switchport"}, // 更新switch 监测类别
|
||||
{"detec.systeminfo.str","systeminfo"}, // 更新systeminfo 监测类别
|
||||
{"detec.systemdate.str","systemdate"}, // 更新systemdate 监测类别
|
||||
{"detec.system.str","system"}, // 更新systeminfo 监测类别
|
||||
{"detec.ifxtable.str","ifXTable"},// 更新ifXTable 监测类别
|
||||
{"error.info.flag","1"}, // 更新systeminfo 监测类别
|
||||
{"data.files.reader.flag","1"}, // 数据保存暂存硬盘标示
|
||||
{"systemdate.flag","1"}, // systemdate主动监测监测标示
|
||||
{"email.start.flag","1"}, // 邮件发送功能启用标识
|
||||
|
||||
{"delete.files.flag","1"}, // delete log/error/download files flag
|
||||
{"keep.file.days","7"}, // keep log/error/download files days
|
||||
{"delete.files.period","24"}, // 删除log等临时文件的时间间隔,unit:hour
|
||||
{"mailing.period","120"}, // 邮件发送周期,unit:S
|
||||
|
||||
//2014-1-2 hyx add
|
||||
{"detect.fail.nmsc.police.level","0"},//握手监测失败时(state=-1),默认的告警级别:0级
|
||||
{"detect.fail.nmsc.police.emergent","0"},//握手监测失败时(state=-1),默认的紧急状态:0紧急;1非紧急
|
||||
{"detect.fail.non.nmsc.police.level","1"},//非握手监测失败时(state=-1),默认的告警级别:1-5级
|
||||
{"detect.fail.non.nmsc.police.emergent","1"},//非握手监测失败时(state=-1),默认的紧急状态:0紧急;1非紧急
|
||||
|
||||
{"port.alarm.level","5"},//端口异常(流量为0,设置状态和实际状态不符)时,默认的告警级别:1-5级
|
||||
{"port.alarm.emergent","1"},//端口异常(流量为0,设置状态和实际状态不符)时,默认的紧急状态:0紧急;1非紧急
|
||||
|
||||
{"nc.alarm.police.level","0"},//NC主动告警(默认为紧急),state=-2时,默认的告警级别:0级
|
||||
{"single.node.detect.timeout","180"}//DC端主动监测,单节点超时时间
|
||||
|
||||
};
|
||||
|
||||
public Object[][] getContents() {
|
||||
return contents;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user