告警管理,告警日志接口。更改计算95值定时任务时间
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package com.ruoyi.rocketmq.domain;
|
||||
|
||||
import com.ruoyi.common.core.annotation.Excel;
|
||||
import com.ruoyi.common.core.web.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 告警规则对象 rm_alarm_rule
|
||||
*
|
||||
* @author gyt
|
||||
* @date 2025-09-12
|
||||
*/
|
||||
@Data
|
||||
public class RmAlarmRule extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键ID */
|
||||
private Long id;
|
||||
|
||||
/** 关联的告警策略ID */
|
||||
@Excel(name = "关联的告警策略ID")
|
||||
private Long alarmPolicyId;
|
||||
|
||||
/** 规则名称 */
|
||||
@Excel(name = "规则名称")
|
||||
private String ruleName;
|
||||
|
||||
/** 监控指标键 */
|
||||
@Excel(name = "监控指标键")
|
||||
private String metricKey;
|
||||
|
||||
/** 比较运算符(>, <, >=, <=, =, !=) */
|
||||
@Excel(name = "比较运算符", readConverterExp = ">=,,<=,,>==,,<==,,==,,!==")
|
||||
private String operator;
|
||||
|
||||
/** 告警阈值 */
|
||||
@Excel(name = "告警阈值")
|
||||
private BigDecimal threshold;
|
||||
|
||||
/** 资源类型(linux/switch) */
|
||||
@Excel(name = "资源类型", readConverterExp = "l=inux/switch")
|
||||
private String resourceType;
|
||||
|
||||
/** 状态:0-禁用,1-启用 */
|
||||
@Excel(name = "状态:0-禁用,1-启用")
|
||||
private String status;
|
||||
|
||||
/** 端口白名单 */
|
||||
@Excel(name = "端口白名单")
|
||||
private String portWhitelist;
|
||||
}
|
||||
Reference in New Issue
Block a user