This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nms-nmsserver/src/com/nms/server/common/UpdateParams.java

41 lines
2.5 KiB
Java
Raw Normal View History

2018-09-27 16:17:06 +08:00
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;
}
}