[agent-go] - bug fixs

This commit is contained in:
zeaslity
2024-05-08 11:13:45 +08:00
parent e56b9bd65c
commit c8e5184aaa
8 changed files with 45 additions and 15 deletions

View File

@@ -16,6 +16,10 @@ public enum BaseFunctionEnum {
"关闭虚拟内存"
),
MODIFY_SYSCONFIG(
"MODIFY_SYSCONFIG",
"修改系统配置"
),
DISABLE_SELINUX(
"DISABLE_SELINUX",

View File

@@ -157,6 +157,9 @@ public class BaseFuncScheduler {
agentTopicName,
durationBaseFunc
);
// remove
baseFuncArgList.remove(0);
return false;
}

View File

@@ -97,6 +97,11 @@ mybatis-plus:
# mapper-locations: classpath*:/real-mappers/**/*.xml
octopus:
notify:
# 消息通知的URL地址
pusher_url: http://192.168.35.71:8080
# 发送消息的密钥 不需要使用
access_token: tk_zvdb67fwj1hrjivkq3ga9z7u63av5
message:
# agent boot up default common exchange
init_exchange: InitExchange

View File

@@ -9,7 +9,7 @@ spring:
allow-circular-references: true
allow-bean-definition-overriding: true
rabbitmq:
host: 10.250.0.100
host: 42.192.52.227
port: 20672
username: boge
password: boge8tingH
@@ -24,7 +24,7 @@ spring:
max-interval: 65000
initial-interval: 2000
redis:
host: 10.250.0.100
host: 42.192.52.227
port: 21370
database: 0
password: boge8tingH
@@ -46,7 +46,7 @@ spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.250.0.100:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
url: jdbc:mysql://42.192.52.227:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8
username: boge
password: boge8tingH
type: com.zaxxer.hikari.HikariDataSource