服务器流量增加ipv4、ipv6协议区分

This commit is contained in:
gaoyutao
2025-12-04 18:26:48 +08:00
parent a5b5f5b08d
commit 9dee067a87
7 changed files with 178 additions and 22 deletions
@@ -39,6 +39,8 @@ public class InitialBandwidthTrafficTemp extends BaseEntity
/** IPv4地址 */
@Excel(name = "IPv4地址")
private String ipV4;
/** IPv6地址 */
private String ipV6;
/** 入站丢包率(%) */
@Excel(name = "入站丢包率(%)")
@@ -45,7 +45,7 @@ public class RmAgentManagement extends BaseEntity
@Excel(name = "执行方式")
private Integer method;
/** 定时更新时间cron表达式) */
/** 定时更新时间 */
@Excel(name = "定时更新时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date scheduledUpdateTime;
@@ -619,7 +619,7 @@ public class MultiSwitchCollectionScheduler {
Map<String, ScheduledFuture<?>> tasks = allSwitchTasks.remove(switchIp);
if (tasks != null) {
tasks.values().forEach(future -> future.cancel(false));
log.info("停止交换机 {} 的所有采集任务{}", switchIp);
log.debug("停止交换机 {} 的所有采集任务{}", switchIp);
}
allSwitchConfigs.remove(switchIp);
allSwitchCollectConfigs.remove(switchIp);