完善资源监控策略内容,新增脚本执行结果查看接口。

This commit is contained in:
gaoyutao
2025-09-24 20:59:58 +08:00
parent 543b51ca6f
commit 939d8d0286
10 changed files with 495 additions and 6 deletions
@@ -24,8 +24,10 @@ public class RmMonitorPolicy extends BaseEntity
private Long id;
/** 模板ID */
@Excel(name = "模板ID")
private Long templateId;
/** 模板名称 */
@Excel(name = "关联监控模板")
private String templateName;
/** 资源组ID */
@Excel(name = "资源组ID")
@@ -0,0 +1,58 @@
package com.ruoyi.rocketmq.domain;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
/**
* 资源远程管理对象 rm_resource_remote
*
* @author gyt
* @date 2025-09-15
*/
@Data
public class RmResourceRemote extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 资源ID */
private Long id;
/** 硬件SN码 */
@Excel(name = "硬件SN码")
private String hardwareSn;
/** 资源类型 */
@Excel(name = "资源类型")
private String resourceType;
/** 资源名称 */
@Excel(name = "资源名称")
private String resourceName;
/** 资源描述 */
@Excel(name = "资源描述")
private String description;
/** 内网IP地址 */
@Excel(name = "内网IP地址")
private String internalIp;
/** 外网IP地址 */
@Excel(name = "外网IP地址")
private String externalIp;
/** 管理端口号 */
@Excel(name = "管理端口号")
private Integer managementPort;
/** 在线状态:0-离线,1-在线 */
@Excel(name = "在线状态:0-离线,1-在线")
private String onlineStatus;
/** 连接方式(SSH/Telnet/RDP等) */
@Excel(name = "连接方式", readConverterExp = "S=SH/Telnet/RDP等")
private String connectionMethod;
/** 脚本执行结果 */
private String commandResult;
}