/** 告警的来源。有可能是OMS其它模块产生,也有可能是网元(agentTag) */
private String source;
/** 对象标识,即告警定位信息 */
private String objectInstance;
/** 对象类型,产生告警的管理对象的类型 */
private String objectClass;
/** 管理对象DN */
private String moDN;
/** 管理对象类型的版本 */
private String moVersion;
/** 对象名称 */
@Ignore(type = Ignore.Type.WRITE)
private String moName;
/** 设备告警流水号 */
private Integer devCsn;
/** 告警通知号 */
private Integer notificationId;
/** 告警产生时间 */
private long eventTime;
/** 事件类型 */
private EventType eventType;
/** 告警标识 */
private Integer alarmId;
/** 告警名称 */
private String alarmName;
/** 告警级别 */
private AlarmSeverity perceivedSeverity;
/** 告警可能原因 */
private Integer probableCause;
/** 详细描述 */
private String detailedInformation;
/** 修复建议 */
private String proposedRepairActions;
/** 备份状态 */
private BackedUpStatus backedUpStatus;
/** 影响业务标志 */
private ServiceAffectedType serviceAffectingIndicator;
/** 根源告警标志 */
private RootCaseType rootCaseAlarmIndicator;
/** 阈值信息 */
private String thresholdInfo;
/** 根源告警流水号 */
private Integer rootCaseAlarmSN;
/** 附加文本 */
private String additionalText;
/** 附加信息 */
private String additionalInformation;
/** 到达网管时间(UTC) */
private long arrivedTime;
/** 扩展属性 */
private Properties userData;
/** 管理对象子网路径 */
@Ignore(type = Ignore.Type.WRITE)
private String subnet;
/**
* 是否被屏蔽了的告警
*/
private boolean shielded = false;
现在我想写一个sql或存储过程查询这样一个结果(需要传两个动态的时间值starttime和endtime):
链路名,左端口ip,右端口ip,通断次数,通断总时间,通断小于5分的次数,通断(5-10分)次数,通断(10-30)次数,通断(30-60)次数,通断时间占统计时间的比率,
private String source;
/** 对象标识,即告警定位信息 */
private String objectInstance;
/** 对象类型,产生告警的管理对象的类型 */
private String objectClass;
/** 管理对象DN */
private String moDN;
/** 管理对象类型的版本 */
private String moVersion;
/** 对象名称 */
@Ignore(type = Ignore.Type.WRITE)
private String moName;
/** 设备告警流水号 */
private Integer devCsn;
/** 告警通知号 */
private Integer notificationId;
/** 告警产生时间 */
private long eventTime;
/** 事件类型 */
private EventType eventType;
/** 告警标识 */
private Integer alarmId;
/** 告警名称 */
private String alarmName;
/** 告警级别 */
private AlarmSeverity perceivedSeverity;
/** 告警可能原因 */
private Integer probableCause;
/** 详细描述 */
private String detailedInformation;
/** 修复建议 */
private String proposedRepairActions;
/** 备份状态 */
private BackedUpStatus backedUpStatus;
/** 影响业务标志 */
private ServiceAffectedType serviceAffectingIndicator;
/** 根源告警标志 */
private RootCaseType rootCaseAlarmIndicator;
/** 阈值信息 */
private String thresholdInfo;
/** 根源告警流水号 */
private Integer rootCaseAlarmSN;
/** 附加文本 */
private String additionalText;
/** 附加信息 */
private String additionalInformation;
/** 到达网管时间(UTC) */
private long arrivedTime;
/** 扩展属性 */
private Properties userData;
/** 管理对象子网路径 */
@Ignore(type = Ignore.Type.WRITE)
private String subnet;
/**
* 是否被屏蔽了的告警
*/
private boolean shielded = false;
现在我想写一个sql或存储过程查询这样一个结果(需要传两个动态的时间值starttime和endtime):
链路名,左端口ip,右端口ip,通断次数,通断总时间,通断小于5分的次数,通断(5-10分)次数,通断(10-30)次数,通断(30-60)次数,通断时间占统计时间的比率,