2023-05-15T12:20:08.83752+08:00 INFO [22060,68ac67202643471a] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:192.168.46.141] 2023-05-15T12:20:08.84172+08:00 INFO [22060,68ac67202643471a] caller=stat/metrics.go:25:RegisterStat: registry with labels: map[app:HOST process:ocp_mgragent svr_ip:192.168.46.141] 2023-05-15T12:20:08.84308+08:00 INFO [22060,68ac67202643471a] caller=sdk/mgragent_callbacks.go:47:func3: module mgragent.basic.auth init config successfully 2023-05-15T12:20:08.84317+08:00 INFO [22060,68ac67202643471a] caller=common/middleware_auth.go:30:InitBasicAuthConf: init module mgragent.basic.auth config end 2023-05-15T12:20:08.84408+08:00 INFO [22060,] caller=cleaner/cleaner.go:48:startOBCleaner: start ob cleaner 2023-05-15T12:20:08.84415+08:00 WARN [22060,] caller=cleaner/cleaner.go:51:startOBCleaner: ob cleaner is disabled 2023-05-15T12:20:08.84748+08:00 INFO [22060,68ac67202643471a] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-05-15T12:20:08.84821+08:00 INFO [22060,68ac67202643471a] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-05-15T12:20:08.84826+08:00 INFO [22060,68ac67202643471a] caller=mgragent/main.go:41:run: agent running in release mode 2023-05-15T12:20:08.84944+08:00 INFO [22060,68ac67202643471a] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-05-15T12:20:08.84968+08:00 INFO [22060,68ac67202643471a] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-05-15T12:20:08.84974+08:00 INFO [22060,68ac67202643471a] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-05-15T12:20:10.7767+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, body=] 2023-05-15T12:20:10.77681+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, duration=3.763µs, status=200, data=2023-05-15 12:20:10.776793363 +0800 CST m=+1.981177397] 2023-05-15T12:20:11.5105+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, body={"processName":"ocp_mgragent"}] 2023-05-15T12:20:11.55415+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="61.018µs" 2023-05-15T12:20:11.58791+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.82676ms 2023-05-15T12:20:11.58801+08:00 INFO [22060,1f0a811a356e4d84] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3553}]" 2023-05-15T12:20:11.58812+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, duration=77.513139ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3553}]}] 2023-05-15T12:20:11.64829+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, body={"processName":"ocp_monagent"}] 2023-05-15T12:20:11.68716+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="58.379µs" 2023-05-15T12:20:11.715+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.893712ms 2023-05-15T12:20:11.7151+08:00 INFO [22060,1f0a811a356e4d84] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3687}]" 2023-05-15T12:20:11.71518+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, duration=66.763122ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3687}]}] 2023-05-15T12:20:11.75009+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, body={"processName":"ocp_agentd"}] 2023-05-15T12:20:11.78888+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="84.581µs" 2023-05-15T12:20:11.81561+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.820572ms 2023-05-15T12:20:11.81571+08:00 INFO [22060,1f0a811a356e4d84] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3788}]" 2023-05-15T12:20:11.81583+08:00 INFO [22060,1f0a811a356e4d84] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f0a811a356e4d84, duration=65.624997ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3788}]}] 2023-05-15T12:20:32.91979+08:00 INFO [22060,3444f00b476268c3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3444f00b476268c3, body=] 2023-05-15T12:20:32.91989+08:00 INFO [22060,3444f00b476268c3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3444f00b476268c3, duration=4.017µs, status=200, data=2023-05-15 12:20:32.919875745 +0800 CST m=+24.124259772] 2023-05-15T12:20:33.08463+08:00 INFO [22060,7068742b67d42f64] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7068742b67d42f64, body={"processName":"ocp_mgragent"}] 2023-05-15T12:20:33.11977+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.675µs" 2023-05-15T12:20:33.15416+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.455783ms 2023-05-15T12:20:33.15427+08:00 INFO [22060,7068742b67d42f64] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25119}]" 2023-05-15T12:20:33.15437+08:00 INFO [22060,7068742b67d42f64] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7068742b67d42f64, duration=69.617578ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25119}]}] 2023-05-15T12:20:33.31097+08:00 INFO [22060,6b8fa987ffa727a5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b8fa987ffa727a5, body={"processName":"ocp_monagent"}] 2023-05-15T12:20:33.35128+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="106.578µs" 2023-05-15T12:20:33.37875+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.576323ms 2023-05-15T12:20:33.37886+08:00 INFO [22060,6b8fa987ffa727a5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25351}]" 2023-05-15T12:20:33.37898+08:00 INFO [22060,6b8fa987ffa727a5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b8fa987ffa727a5, duration=67.906722ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25351}]}] 2023-05-15T12:20:33.48301+08:00 INFO [22060,389754dc3ab2f31b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=389754dc3ab2f31b, body={"processName":"ocp_agentd"}] 2023-05-15T12:20:33.51926+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="53.43µs" 2023-05-15T12:20:33.54636+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.15037ms 2023-05-15T12:20:33.54646+08:00 INFO [22060,389754dc3ab2f31b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25519}]" 2023-05-15T12:20:33.54655+08:00 INFO [22060,389754dc3ab2f31b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=389754dc3ab2f31b, duration=63.421201ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 25519}]}] 2023-05-15T12:20:34.2532+08:00 INFO [22060,ca92405d3451f6bf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca92405d3451f6bf, body=] 2023-05-15T12:20:34.2533+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:20:34.2534+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:20:34.25344+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:20:34.25697+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:20:34.25704+08:00 INFO [22060,ca92405d3451f6bf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca92405d3451f6bf, duration=3.737614ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:21:34.51171+08:00 INFO [22060,8508fca046861726] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8508fca046861726, body=] 2023-05-15T12:21:34.5118+08:00 INFO [22060,8508fca046861726] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8508fca046861726, duration=4.072µs, status=200, data=2023-05-15 12:21:34.511777144 +0800 CST m=+85.716161172] 2023-05-15T12:21:34.69408+08:00 INFO [22060,0c6a843ab993bcec] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c6a843ab993bcec, body={"processName":"ocp_mgragent"}] 2023-05-15T12:21:34.73145+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.303µs" 2023-05-15T12:21:34.75904+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.64955ms 2023-05-15T12:21:34.75913+08:00 INFO [22060,0c6a843ab993bcec] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 86731}]" 2023-05-15T12:21:34.75921+08:00 INFO [22060,0c6a843ab993bcec] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c6a843ab993bcec, duration=65.021828ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 86731}]}] 2023-05-15T12:21:34.95072+08:00 INFO [22060,781abc742648a1c3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=781abc742648a1c3, body={"processName":"ocp_monagent"}] 2023-05-15T12:21:34.98598+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.393µs" 2023-05-15T12:21:35.01134+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.423478ms 2023-05-15T12:21:35.01142+08:00 INFO [22060,781abc742648a1c3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 86985}]" 2023-05-15T12:21:35.0115+08:00 INFO [22060,781abc742648a1c3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=781abc742648a1c3, duration=60.676943ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 86985}]}] 2023-05-15T12:21:35.15931+08:00 INFO [22060,acdb6904b247b80a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=acdb6904b247b80a, body={"processName":"ocp_agentd"}] 2023-05-15T12:21:35.20823+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.475µs" 2023-05-15T12:21:35.23483+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.649829ms 2023-05-15T12:21:35.23492+08:00 INFO [22060,acdb6904b247b80a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 87208}]" 2023-05-15T12:21:35.23499+08:00 INFO [22060,acdb6904b247b80a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=acdb6904b247b80a, duration=75.592295ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 87208}]}] 2023-05-15T12:21:35.77977+08:00 INFO [22060,fa901defb1e4f6e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa901defb1e4f6e6, body=] 2023-05-15T12:21:35.77984+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:21:35.7799+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:21:35.77993+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:21:35.78264+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:21:35.78276+08:00 INFO [22060,fa901defb1e4f6e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa901defb1e4f6e6, duration=2.868126ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:22:36.01084+08:00 INFO [22060,3337876712f24221] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3337876712f24221, body=] 2023-05-15T12:22:36.01097+08:00 INFO [22060,3337876712f24221] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3337876712f24221, duration=4.357µs, status=200, data=2023-05-15 12:22:36.010944232 +0800 CST m=+147.215328261] 2023-05-15T12:22:36.22069+08:00 INFO [22060,40c9bb24e622dfb4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40c9bb24e622dfb4, body={"processName":"ocp_mgragent"}] 2023-05-15T12:22:36.2625+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="231.945µs" 2023-05-15T12:22:36.29007+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.801058ms 2023-05-15T12:22:36.29017+08:00 INFO [22060,40c9bb24e622dfb4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148262}]" 2023-05-15T12:22:36.29027+08:00 INFO [22060,40c9bb24e622dfb4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40c9bb24e622dfb4, duration=69.477892ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148262}]}] 2023-05-15T12:22:36.38831+08:00 INFO [22060,86b87c852d9b5b9e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86b87c852d9b5b9e, body={"processName":"ocp_monagent"}] 2023-05-15T12:22:36.42192+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.066µs" 2023-05-15T12:22:36.44794+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.058396ms 2023-05-15T12:22:36.44802+08:00 INFO [22060,86b87c852d9b5b9e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148421}]" 2023-05-15T12:22:36.4481+08:00 INFO [22060,86b87c852d9b5b9e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86b87c852d9b5b9e, duration=59.680345ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148421}]}] 2023-05-15T12:22:36.59228+08:00 INFO [22060,904cd34423d613e0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=904cd34423d613e0, body={"processName":"ocp_agentd"}] 2023-05-15T12:22:36.62951+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.274µs" 2023-05-15T12:22:36.65504+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.574192ms 2023-05-15T12:22:36.65512+08:00 INFO [22060,904cd34423d613e0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148629}]" 2023-05-15T12:22:36.65521+08:00 INFO [22060,904cd34423d613e0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=904cd34423d613e0, duration=62.79973ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 148629}]}] 2023-05-15T12:22:37.29678+08:00 INFO [22060,d790ffc6b00492bd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d790ffc6b00492bd, body=] 2023-05-15T12:22:37.29688+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:22:37.29694+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:22:37.29697+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:22:37.30011+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:22:37.30021+08:00 INFO [22060,d790ffc6b00492bd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d790ffc6b00492bd, duration=3.298919ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:23:37.48759+08:00 INFO [22060,8062241a074a7667] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8062241a074a7667, body=] 2023-05-15T12:23:37.48775+08:00 INFO [22060,8062241a074a7667] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8062241a074a7667, duration=5.209µs, status=200, data=2023-05-15 12:23:37.487706739 +0800 CST m=+208.692090770] 2023-05-15T12:23:37.64924+08:00 INFO [22060,6fa78b99467b5f33] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6fa78b99467b5f33, body={"processName":"ocp_mgragent"}] 2023-05-15T12:23:37.68597+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="56.556µs" 2023-05-15T12:23:37.72309+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=37.182598ms 2023-05-15T12:23:37.72319+08:00 INFO [22060,6fa78b99467b5f33] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 209685}]" 2023-05-15T12:23:37.72328+08:00 INFO [22060,6fa78b99467b5f33] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6fa78b99467b5f33, duration=73.919168ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 209685}]}] 2023-05-15T12:23:37.83114+08:00 INFO [22060,949e7c69f47adf13] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=949e7c69f47adf13, body={"processName":"ocp_monagent"}] 2023-05-15T12:23:37.86762+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="44.161µs" 2023-05-15T12:23:37.89636+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.787681ms 2023-05-15T12:23:37.89646+08:00 INFO [22060,949e7c69f47adf13] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 209867}]" 2023-05-15T12:23:37.89654+08:00 INFO [22060,949e7c69f47adf13] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=949e7c69f47adf13, duration=65.298691ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 209867}]}] 2023-05-15T12:23:38.02085+08:00 INFO [22060,98523708413e0873] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=98523708413e0873, body={"processName":"ocp_agentd"}] 2023-05-15T12:23:38.058+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.295µs" 2023-05-15T12:23:38.08502+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.067316ms 2023-05-15T12:23:38.08511+08:00 INFO [22060,98523708413e0873] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 210057}]" 2023-05-15T12:23:38.08519+08:00 INFO [22060,98523708413e0873] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=98523708413e0873, duration=64.225744ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 210057}]}] 2023-05-15T12:23:39.06258+08:00 INFO [22060,256cf4f22fb1838b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=256cf4f22fb1838b, body=] 2023-05-15T12:23:39.06269+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:23:39.06276+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:23:39.06281+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:23:39.06624+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:23:39.06636+08:00 INFO [22060,256cf4f22fb1838b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=256cf4f22fb1838b, duration=3.638345ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:24:39.26758+08:00 INFO [22060,3be62a6d1a8c3580] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3be62a6d1a8c3580, body=] 2023-05-15T12:24:39.26769+08:00 INFO [22060,3be62a6d1a8c3580] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3be62a6d1a8c3580, duration=3.811µs, status=200, data=2023-05-15 12:24:39.267670445 +0800 CST m=+270.472054474] 2023-05-15T12:24:39.40484+08:00 INFO [22060,f03f32b077b7578e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f03f32b077b7578e, body={"processName":"ocp_mgragent"}] 2023-05-15T12:24:39.44381+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="266.579µs" 2023-05-15T12:24:39.46993+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.39034ms 2023-05-15T12:24:39.47003+08:00 INFO [22060,f03f32b077b7578e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271443}]" 2023-05-15T12:24:39.47012+08:00 INFO [22060,f03f32b077b7578e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f03f32b077b7578e, duration=65.137777ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271443}]}] 2023-05-15T12:24:39.57883+08:00 INFO [22060,f9c888dde788fbac] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f9c888dde788fbac, body={"processName":"ocp_monagent"}] 2023-05-15T12:24:39.61391+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="61.447µs" 2023-05-15T12:24:39.64144+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.594795ms 2023-05-15T12:24:39.64156+08:00 INFO [22060,f9c888dde788fbac] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271613}]" 2023-05-15T12:24:39.64166+08:00 INFO [22060,f9c888dde788fbac] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f9c888dde788fbac, duration=62.702404ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271613}]}] 2023-05-15T12:24:39.73182+08:00 INFO [22060,c8756fbd3549ef57] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8756fbd3549ef57, body={"processName":"ocp_agentd"}] 2023-05-15T12:24:39.77198+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.056µs" 2023-05-15T12:24:39.80024+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.314244ms 2023-05-15T12:24:39.80033+08:00 INFO [22060,c8756fbd3549ef57] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271771}]" 2023-05-15T12:24:39.80041+08:00 INFO [22060,c8756fbd3549ef57] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8756fbd3549ef57, duration=68.464868ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 271771}]}] 2023-05-15T12:24:40.79267+08:00 INFO [22060,234c4fc1f2a3ce63] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=234c4fc1f2a3ce63, body=] 2023-05-15T12:24:40.79278+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:24:40.79285+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:24:40.79289+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:24:40.79638+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:24:40.79652+08:00 INFO [22060,234c4fc1f2a3ce63] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=234c4fc1f2a3ce63, duration=3.7112ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:25:40.90726+08:00 INFO [22060,1348555b10a9d783] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1348555b10a9d783, body=] 2023-05-15T12:25:40.90738+08:00 INFO [22060,1348555b10a9d783] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1348555b10a9d783, duration=4.018µs, status=200, data=2023-05-15 12:25:40.907346553 +0800 CST m=+332.111730583] 2023-05-15T12:25:41.06276+08:00 INFO [22060,47040420f450c5e3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=47040420f450c5e3, body={"processName":"ocp_mgragent"}] 2023-05-15T12:25:41.10668+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.293µs" 2023-05-15T12:25:41.1419+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=35.286227ms 2023-05-15T12:25:41.142+08:00 INFO [22060,47040420f450c5e3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333106}]" 2023-05-15T12:25:41.14209+08:00 INFO [22060,47040420f450c5e3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=47040420f450c5e3, duration=79.168081ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333106}]}] 2023-05-15T12:25:41.23617+08:00 INFO [22060,2b3e42657415b185] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b3e42657415b185, body={"processName":"ocp_monagent"}] 2023-05-15T12:25:41.27013+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="57.139µs" 2023-05-15T12:25:41.29832+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.248839ms 2023-05-15T12:25:41.29842+08:00 INFO [22060,2b3e42657415b185] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333269}]" 2023-05-15T12:25:41.29852+08:00 INFO [22060,2b3e42657415b185] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b3e42657415b185, duration=62.242013ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333269}]}] 2023-05-15T12:25:41.35981+08:00 INFO [22060,158eabbc9bc7eefa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=158eabbc9bc7eefa, body={"processName":"ocp_agentd"}] 2023-05-15T12:25:41.40908+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="73.564µs" 2023-05-15T12:25:41.44034+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.323213ms 2023-05-15T12:25:41.44047+08:00 INFO [22060,158eabbc9bc7eefa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333408}]" 2023-05-15T12:25:41.44058+08:00 INFO [22060,158eabbc9bc7eefa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=158eabbc9bc7eefa, duration=80.609277ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 333408}]}] 2023-05-15T12:25:42.07324+08:00 INFO [22060,3b9007ddd00d65c0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b9007ddd00d65c0, body=] 2023-05-15T12:25:42.07332+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:25:42.07337+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:25:42.07339+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:25:42.0768+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:25:42.0769+08:00 INFO [22060,3b9007ddd00d65c0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b9007ddd00d65c0, duration=3.55335ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:26:42.21657+08:00 INFO [22060,e4d766b8d7987294] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e4d766b8d7987294, body=] 2023-05-15T12:26:42.21669+08:00 INFO [22060,e4d766b8d7987294] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e4d766b8d7987294, duration=4.035µs, status=200, data=2023-05-15 12:26:42.21666827 +0800 CST m=+393.421052303] 2023-05-15T12:26:42.35214+08:00 INFO [22060,f52b03532ecd5833] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f52b03532ecd5833, body={"processName":"ocp_mgragent"}] 2023-05-15T12:26:42.39182+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="88.837µs" 2023-05-15T12:26:42.41963+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.898621ms 2023-05-15T12:26:42.41974+08:00 INFO [22060,f52b03532ecd5833] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394391}]" 2023-05-15T12:26:42.41985+08:00 INFO [22060,f52b03532ecd5833] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f52b03532ecd5833, duration=67.599541ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394391}]}] 2023-05-15T12:26:42.55008+08:00 INFO [22060,bed690213e88f881] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bed690213e88f881, body={"processName":"ocp_monagent"}] 2023-05-15T12:26:42.58602+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.691µs" 2023-05-15T12:26:42.61176+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.796796ms 2023-05-15T12:26:42.61187+08:00 INFO [22060,bed690213e88f881] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394585}]" 2023-05-15T12:26:42.61196+08:00 INFO [22060,bed690213e88f881] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bed690213e88f881, duration=61.739954ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394585}]}] 2023-05-15T12:26:42.84342+08:00 INFO [22060,ad8e5a7a9addf9da] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad8e5a7a9addf9da, body={"processName":"ocp_agentd"}] 2023-05-15T12:26:42.87754+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="59.321µs" 2023-05-15T12:26:42.90687+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.382009ms 2023-05-15T12:26:42.90696+08:00 INFO [22060,ad8e5a7a9addf9da] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394877}]" 2023-05-15T12:26:42.90704+08:00 INFO [22060,ad8e5a7a9addf9da] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad8e5a7a9addf9da, duration=63.514562ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 394877}]}] 2023-05-15T12:26:43.58196+08:00 INFO [22060,577aa835d310ce67] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=577aa835d310ce67, body=] 2023-05-15T12:26:43.58206+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:26:43.58211+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:26:43.58214+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:26:43.58953+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:26:43.58963+08:00 INFO [22060,577aa835d310ce67] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=577aa835d310ce67, duration=7.543598ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:27:43.74262+08:00 INFO [22060,528fc75e9d22a179] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=528fc75e9d22a179, body=] 2023-05-15T12:27:43.74276+08:00 INFO [22060,528fc75e9d22a179] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=528fc75e9d22a179, duration=4.268µs, status=200, data=2023-05-15 12:27:43.742713606 +0800 CST m=+454.947097638] 2023-05-15T12:27:43.88737+08:00 INFO [22060,c628f882136135cd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c628f882136135cd, body={"processName":"ocp_mgragent"}] 2023-05-15T12:27:43.92361+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.508µs" 2023-05-15T12:27:43.95619+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.633768ms 2023-05-15T12:27:43.95629+08:00 INFO [22060,c628f882136135cd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 455923}]" 2023-05-15T12:27:43.95637+08:00 INFO [22060,c628f882136135cd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c628f882136135cd, duration=68.894261ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 455923}]}] 2023-05-15T12:27:44.08928+08:00 INFO [22060,df3854f635d47a3b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df3854f635d47a3b, body={"processName":"ocp_monagent"}] 2023-05-15T12:27:44.12534+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.921µs" 2023-05-15T12:27:44.15272+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.432058ms 2023-05-15T12:27:44.15283+08:00 INFO [22060,df3854f635d47a3b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 456125}]" 2023-05-15T12:27:44.15293+08:00 INFO [22060,df3854f635d47a3b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df3854f635d47a3b, duration=63.536601ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 456125}]}] 2023-05-15T12:27:44.25023+08:00 INFO [22060,fe483095dc59ec65] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe483095dc59ec65, body={"processName":"ocp_agentd"}] 2023-05-15T12:27:44.28792+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="80.379µs" 2023-05-15T12:27:44.3155+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.659155ms 2023-05-15T12:27:44.31558+08:00 INFO [22060,fe483095dc59ec65] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 456287}]" 2023-05-15T12:27:44.31567+08:00 INFO [22060,fe483095dc59ec65] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe483095dc59ec65, duration=65.316028ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 456287}]}] 2023-05-15T12:27:45.24577+08:00 INFO [22060,6e99b5f5bec561ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e99b5f5bec561ee, body=] 2023-05-15T12:27:45.24585+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:27:45.24591+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:27:45.24594+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:27:45.24879+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:27:45.24888+08:00 INFO [22060,6e99b5f5bec561ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e99b5f5bec561ee, duration=2.998803ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:28:45.35962+08:00 INFO [22060,bd7be66d6b7a33b3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bd7be66d6b7a33b3, body=] 2023-05-15T12:28:45.35975+08:00 INFO [22060,bd7be66d6b7a33b3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bd7be66d6b7a33b3, duration=5.03µs, status=200, data=2023-05-15 12:28:45.35972253 +0800 CST m=+516.564106573] 2023-05-15T12:28:45.53778+08:00 INFO [22060,ed1dc26595b89e0b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed1dc26595b89e0b, body={"processName":"ocp_mgragent"}] 2023-05-15T12:28:45.57651+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="108.307µs" 2023-05-15T12:28:45.61111+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.708928ms 2023-05-15T12:28:45.6112+08:00 INFO [22060,ed1dc26595b89e0b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 517576}]" 2023-05-15T12:28:45.61128+08:00 INFO [22060,ed1dc26595b89e0b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed1dc26595b89e0b, duration=73.383449ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 517576}]}] 2023-05-15T12:28:45.77408+08:00 INFO [22060,d02462a0983edbe1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d02462a0983edbe1, body={"processName":"ocp_monagent"}] 2023-05-15T12:28:45.81667+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="68.263µs" 2023-05-15T12:28:45.84503+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.422755ms 2023-05-15T12:28:45.84513+08:00 INFO [22060,d02462a0983edbe1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 517816}]" 2023-05-15T12:28:45.84522+08:00 INFO [22060,d02462a0983edbe1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d02462a0983edbe1, duration=71.031818ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 517816}]}] 2023-05-15T12:28:45.98115+08:00 INFO [22060,6878ed86190136bd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6878ed86190136bd, body={"processName":"ocp_agentd"}] 2023-05-15T12:28:46.01669+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.644µs" 2023-05-15T12:28:46.04586+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.225321ms 2023-05-15T12:28:46.04596+08:00 INFO [22060,6878ed86190136bd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 518016}]" 2023-05-15T12:28:46.04606+08:00 INFO [22060,6878ed86190136bd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6878ed86190136bd, duration=64.79766ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 518016}]}] 2023-05-15T12:28:46.63561+08:00 INFO [22060,a7b2fe04aba83144] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7b2fe04aba83144, body=] 2023-05-15T12:28:46.63569+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:28:46.63574+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:28:46.63576+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:28:46.6388+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:28:46.63889+08:00 INFO [22060,a7b2fe04aba83144] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7b2fe04aba83144, duration=3.184824ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:29:46.73997+08:00 INFO [22060,67e9159a04a1629b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67e9159a04a1629b, body=] 2023-05-15T12:29:46.7401+08:00 INFO [22060,67e9159a04a1629b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67e9159a04a1629b, duration=4.116µs, status=200, data=2023-05-15 12:29:46.740065307 +0800 CST m=+577.944449336] 2023-05-15T12:29:46.83674+08:00 INFO [22060,c11374c0f914a7b9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c11374c0f914a7b9, body={"processName":"ocp_mgragent"}] 2023-05-15T12:29:46.87538+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.686µs" 2023-05-15T12:29:46.90068+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.343556ms 2023-05-15T12:29:46.90079+08:00 INFO [22060,c11374c0f914a7b9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 578875}]" 2023-05-15T12:29:46.90092+08:00 INFO [22060,c11374c0f914a7b9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c11374c0f914a7b9, duration=64.085634ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 578875}]}] 2023-05-15T12:29:47.00067+08:00 INFO [22060,e13c20385c859056] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e13c20385c859056, body={"processName":"ocp_monagent"}] 2023-05-15T12:29:47.03578+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.535µs" 2023-05-15T12:29:47.06203+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.313979ms 2023-05-15T12:29:47.06215+08:00 INFO [22060,e13c20385c859056] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 579035}]" 2023-05-15T12:29:47.0623+08:00 INFO [22060,e13c20385c859056] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e13c20385c859056, duration=61.488498ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 579035}]}] 2023-05-15T12:29:47.19744+08:00 INFO [22060,5005ef1cc2883ea0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5005ef1cc2883ea0, body={"processName":"ocp_agentd"}] 2023-05-15T12:29:47.23249+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="72.209µs" 2023-05-15T12:29:47.26125+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.81216ms 2023-05-15T12:29:47.26134+08:00 INFO [22060,5005ef1cc2883ea0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 579232}]" 2023-05-15T12:29:47.26143+08:00 INFO [22060,5005ef1cc2883ea0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5005ef1cc2883ea0, duration=63.885663ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 579232}]}] 2023-05-15T12:29:47.85627+08:00 INFO [22060,6008492556b93bbb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6008492556b93bbb, body=] 2023-05-15T12:29:47.85636+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:29:47.85644+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:29:47.85647+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:29:47.86008+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:29:47.86016+08:00 INFO [22060,6008492556b93bbb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6008492556b93bbb, duration=3.787503ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:30:48.05362+08:00 INFO [22060,1776a3a22c68af89] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1776a3a22c68af89, body=] 2023-05-15T12:30:48.05372+08:00 INFO [22060,1776a3a22c68af89] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1776a3a22c68af89, duration=3.743µs, status=200, data=2023-05-15 12:30:48.053697766 +0800 CST m=+639.258081796] 2023-05-15T12:30:48.20607+08:00 INFO [22060,8cdae8e8396151f4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8cdae8e8396151f4, body={"processName":"ocp_mgragent"}] 2023-05-15T12:30:48.25219+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.052µs" 2023-05-15T12:30:48.27984+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.708322ms 2023-05-15T12:30:48.27994+08:00 INFO [22060,8cdae8e8396151f4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640252}]" 2023-05-15T12:30:48.28002+08:00 INFO [22060,8cdae8e8396151f4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8cdae8e8396151f4, duration=73.825525ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640252}]}] 2023-05-15T12:30:48.4066+08:00 INFO [22060,2250d70a4525a7af] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2250d70a4525a7af, body={"processName":"ocp_monagent"}] 2023-05-15T12:30:48.44006+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.688µs" 2023-05-15T12:30:48.46941+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.405181ms 2023-05-15T12:30:48.46952+08:00 INFO [22060,2250d70a4525a7af] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640439}]" 2023-05-15T12:30:48.4696+08:00 INFO [22060,2250d70a4525a7af] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2250d70a4525a7af, duration=62.904078ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640439}]}] 2023-05-15T12:30:48.63387+08:00 INFO [22060,8f47521c664aebcc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f47521c664aebcc, body={"processName":"ocp_agentd"}] 2023-05-15T12:30:48.67939+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="72.134µs" 2023-05-15T12:30:48.71222+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=32.904625ms 2023-05-15T12:30:48.71232+08:00 INFO [22060,8f47521c664aebcc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640679}]" 2023-05-15T12:30:48.71239+08:00 INFO [22060,8f47521c664aebcc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f47521c664aebcc, duration=78.407244ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 640679}]}] 2023-05-15T12:30:49.44969+08:00 INFO [22060,9f3cff0424a84dc6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3cff0424a84dc6, body=] 2023-05-15T12:30:49.4498+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:30:49.44989+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:30:49.44993+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:30:49.45404+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:30:49.45414+08:00 INFO [22060,9f3cff0424a84dc6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3cff0424a84dc6, duration=4.307886ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:31:49.62919+08:00 INFO [22060,ade9041d6fd44215] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ade9041d6fd44215, body=] 2023-05-15T12:31:49.62928+08:00 INFO [22060,ade9041d6fd44215] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ade9041d6fd44215, duration=3.862µs, status=200, data=2023-05-15 12:31:49.629265386 +0800 CST m=+700.833649417] 2023-05-15T12:31:49.83281+08:00 INFO [22060,ad0f87c676f8cc28] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad0f87c676f8cc28, body={"processName":"ocp_mgragent"}] 2023-05-15T12:31:49.87207+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.65µs" 2023-05-15T12:31:49.90018+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.156252ms 2023-05-15T12:31:49.90027+08:00 INFO [22060,ad0f87c676f8cc28] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 701871}]" 2023-05-15T12:31:49.90035+08:00 INFO [22060,ad0f87c676f8cc28] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad0f87c676f8cc28, duration=67.44125ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 701871}]}] 2023-05-15T12:31:49.97475+08:00 INFO [22060,5368390ea363d293] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5368390ea363d293, body={"processName":"ocp_monagent"}] 2023-05-15T12:31:50.01342+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="65.131µs" 2023-05-15T12:31:50.04314+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.790741ms 2023-05-15T12:31:50.04323+08:00 INFO [22060,5368390ea363d293] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 702013}]" 2023-05-15T12:31:50.04333+08:00 INFO [22060,5368390ea363d293] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5368390ea363d293, duration=68.461724ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 702013}]}] 2023-05-15T12:31:50.20015+08:00 INFO [22060,45f720343cc50574] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45f720343cc50574, body={"processName":"ocp_agentd"}] 2023-05-15T12:31:50.23775+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="65.415µs" 2023-05-15T12:31:50.26347+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.782149ms 2023-05-15T12:31:50.26355+08:00 INFO [22060,45f720343cc50574] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 702237}]" 2023-05-15T12:31:50.26363+08:00 INFO [22060,45f720343cc50574] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45f720343cc50574, duration=63.351439ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 702237}]}] 2023-05-15T12:31:51.03059+08:00 INFO [22060,f328d7e38702ef37] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f328d7e38702ef37, body=] 2023-05-15T12:31:51.03067+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:31:51.03072+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:31:51.03074+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:31:51.03323+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:31:51.03329+08:00 INFO [22060,f328d7e38702ef37] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f328d7e38702ef37, duration=2.60871ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:32:51.35694+08:00 INFO [22060,7beed73d56434098] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7beed73d56434098, body=] 2023-05-15T12:32:51.35705+08:00 INFO [22060,7beed73d56434098] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7beed73d56434098, duration=3.885µs, status=200, data=2023-05-15 12:32:51.357032261 +0800 CST m=+762.561416290] 2023-05-15T12:32:51.7821+08:00 INFO [22060,f32e1a13429327a8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f32e1a13429327a8, body={"processName":"ocp_mgragent"}] 2023-05-15T12:32:51.81814+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.309µs" 2023-05-15T12:32:51.84618+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.087276ms 2023-05-15T12:32:51.84626+08:00 INFO [22060,f32e1a13429327a8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 763817}]" 2023-05-15T12:32:51.84635+08:00 INFO [22060,f32e1a13429327a8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f32e1a13429327a8, duration=64.154619ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 763817}]}] 2023-05-15T12:32:52.0538+08:00 INFO [22060,db6499cc0f77e2c3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db6499cc0f77e2c3, body={"processName":"ocp_monagent"}] 2023-05-15T12:32:52.09296+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="196.218µs" 2023-05-15T12:32:52.12161+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.855778ms 2023-05-15T12:32:52.12172+08:00 INFO [22060,db6499cc0f77e2c3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 764092}]" 2023-05-15T12:32:52.12184+08:00 INFO [22060,db6499cc0f77e2c3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db6499cc0f77e2c3, duration=67.914628ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 764092}]}] 2023-05-15T12:32:52.7295+08:00 INFO [22060,5ca37040508d8a11] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ca37040508d8a11, body={"processName":"ocp_agentd"}] 2023-05-15T12:32:52.7663+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.877µs" 2023-05-15T12:32:52.79293+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.68408ms 2023-05-15T12:32:52.79303+08:00 INFO [22060,5ca37040508d8a11] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 764766}]" 2023-05-15T12:32:52.79311+08:00 INFO [22060,5ca37040508d8a11] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ca37040508d8a11, duration=63.496916ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 764766}]}] 2023-05-15T12:32:54.03618+08:00 INFO [22060,152066168d06afe2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=152066168d06afe2, body=] 2023-05-15T12:32:54.03626+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:32:54.03631+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:32:54.03634+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:32:54.03919+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:32:54.03932+08:00 INFO [22060,152066168d06afe2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=152066168d06afe2, duration=2.997971ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:33:21.66784+08:00 INFO [22060,bcde354329db4d3f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bcde354329db4d3f, body={"processName":"observer"}] 2023-05-15T12:33:21.70197+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="138.365µs" 2023-05-15T12:33:21.75854+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=56.709661ms 2023-05-15T12:33:21.75866+08:00 INFO [22060,bcde354329db4d3f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71396701}]" 2023-05-15T12:33:21.75876+08:00 INFO [22060,bcde354329db4d3f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bcde354329db4d3f, duration=90.777104ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71396701}]}] 2023-05-15T12:33:54.31339+08:00 INFO [22060,8929ba313819ce51] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8929ba313819ce51, body=] 2023-05-15T12:33:54.31352+08:00 INFO [22060,8929ba313819ce51] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8929ba313819ce51, duration=5.132µs, status=200, data=2023-05-15 12:33:54.313492303 +0800 CST m=+825.517876342] 2023-05-15T12:33:54.44451+08:00 INFO [22060,3d6d123893a1a5ca] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d6d123893a1a5ca, body={"processName":"ocp_mgragent"}] 2023-05-15T12:33:54.48058+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.463µs" 2023-05-15T12:33:54.51581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=35.282746ms 2023-05-15T12:33:54.51593+08:00 INFO [22060,3d6d123893a1a5ca] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826480}]" 2023-05-15T12:33:54.51602+08:00 INFO [22060,3d6d123893a1a5ca] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d6d123893a1a5ca, duration=71.397915ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826480}]}] 2023-05-15T12:33:54.60182+08:00 INFO [22060,940a3357de97143c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=940a3357de97143c, body={"processName":"ocp_monagent"}] 2023-05-15T12:33:54.63653+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.238µs" 2023-05-15T12:33:54.6633+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.825033ms 2023-05-15T12:33:54.66338+08:00 INFO [22060,940a3357de97143c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826636}]" 2023-05-15T12:33:54.66346+08:00 INFO [22060,940a3357de97143c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=940a3357de97143c, duration=61.545108ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826636}]}] 2023-05-15T12:33:54.74976+08:00 INFO [22060,cf08bfcd991ef400] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf08bfcd991ef400, body={"processName":"ocp_agentd"}] 2023-05-15T12:33:54.78547+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="62.129µs" 2023-05-15T12:33:54.81275+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.34746ms 2023-05-15T12:33:54.81283+08:00 INFO [22060,cf08bfcd991ef400] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826785}]" 2023-05-15T12:33:54.81292+08:00 INFO [22060,cf08bfcd991ef400] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf08bfcd991ef400, duration=63.064831ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 826785}]}] 2023-05-15T12:33:55.47832+08:00 INFO [22060,b54fd6984c42aae8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b54fd6984c42aae8, body=] 2023-05-15T12:33:55.47842+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:33:55.47849+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:33:55.47851+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:33:55.48162+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:33:55.48169+08:00 INFO [22060,b54fd6984c42aae8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b54fd6984c42aae8, duration=3.247114ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:33:56.89675+08:00 INFO [22060,56f2fd95ca0146d4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56f2fd95ca0146d4, body={"processName":"observer"}] 2023-05-15T12:33:56.93115+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="69.96µs" 2023-05-15T12:33:56.98197+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=50.890442ms 2023-05-15T12:33:56.98208+08:00 INFO [22060,56f2fd95ca0146d4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71431930}]" 2023-05-15T12:33:56.98218+08:00 INFO [22060,56f2fd95ca0146d4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56f2fd95ca0146d4, duration=85.330866ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71431930}]}] 2023-05-15T12:34:55.72827+08:00 INFO [22060,b6bf5f88a252e35a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b6bf5f88a252e35a, body=] 2023-05-15T12:34:55.72837+08:00 INFO [22060,b6bf5f88a252e35a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b6bf5f88a252e35a, duration=3.921µs, status=200, data=2023-05-15 12:34:55.728349396 +0800 CST m=+886.932733430] 2023-05-15T12:34:55.89209+08:00 INFO [22060,cf366fe0b947e4e5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf366fe0b947e4e5, body={"processName":"ocp_mgragent"}] 2023-05-15T12:34:55.93278+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="56.301µs" 2023-05-15T12:34:55.95818+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.455369ms 2023-05-15T12:34:55.95827+08:00 INFO [22060,cf366fe0b947e4e5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 887932}]" 2023-05-15T12:34:55.95835+08:00 INFO [22060,cf366fe0b947e4e5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf366fe0b947e4e5, duration=66.15248ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 887932}]}] 2023-05-15T12:34:56.06147+08:00 INFO [22060,7cc76f790f269fb1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cc76f790f269fb1, body={"processName":"ocp_monagent"}] 2023-05-15T12:34:56.09858+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.461µs" 2023-05-15T12:34:56.1325+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=33.964084ms 2023-05-15T12:34:56.13259+08:00 INFO [22060,7cc76f790f269fb1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 888098}]" 2023-05-15T12:34:56.1327+08:00 INFO [22060,7cc76f790f269fb1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cc76f790f269fb1, duration=71.130334ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 888098}]}] 2023-05-15T12:34:56.28709+08:00 INFO [22060,674bd74d2e280323] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=674bd74d2e280323, body={"processName":"ocp_agentd"}] 2023-05-15T12:34:56.32099+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="58.974µs" 2023-05-15T12:34:56.3467+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.767898ms 2023-05-15T12:34:56.34678+08:00 INFO [22060,674bd74d2e280323] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 888320}]" 2023-05-15T12:34:56.34687+08:00 INFO [22060,674bd74d2e280323] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=674bd74d2e280323, duration=59.656366ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 888320}]}] 2023-05-15T12:34:57.61598+08:00 INFO [22060,4700368f398a5480] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4700368f398a5480, body=] 2023-05-15T12:34:57.61606+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:34:57.61611+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:34:57.61614+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:34:57.61908+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:34:57.61915+08:00 INFO [22060,4700368f398a5480] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4700368f398a5480, duration=3.073345ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:35:10.76545+08:00 INFO [22060,aa914731a0984b0d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa914731a0984b0d, body={"processName":"observer"}] 2023-05-15T12:35:10.80422+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="171.342µs" 2023-05-15T12:35:10.85737+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=53.324844ms 2023-05-15T12:35:10.85753+08:00 INFO [22060,aa914731a0984b0d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71505803}]" 2023-05-15T12:35:10.8577+08:00 INFO [22060,aa914731a0984b0d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa914731a0984b0d, duration=92.127239ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 71505803}]}] 2023-05-15T12:35:57.76745+08:00 INFO [22060,8fd5996691a7cf47] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8fd5996691a7cf47, body=] 2023-05-15T12:35:57.76757+08:00 INFO [22060,8fd5996691a7cf47] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8fd5996691a7cf47, duration=4.848µs, status=200, data=2023-05-15 12:35:57.767550608 +0800 CST m=+948.971934637] 2023-05-15T12:35:57.92362+08:00 INFO [22060,2b371ee0039f7562] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b371ee0039f7562, body={"processName":"ocp_mgragent"}] 2023-05-15T12:35:57.961+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.26µs" 2023-05-15T12:35:57.98958+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.635882ms 2023-05-15T12:35:57.98968+08:00 INFO [22060,2b371ee0039f7562] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 949960}]" 2023-05-15T12:35:57.98976+08:00 INFO [22060,2b371ee0039f7562] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b371ee0039f7562, duration=66.032448ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 949960}]}] 2023-05-15T12:35:58.13164+08:00 INFO [22060,82362c1abfbb25bd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82362c1abfbb25bd, body={"processName":"ocp_monagent"}] 2023-05-15T12:35:58.16792+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.609µs" 2023-05-15T12:35:58.1964+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.527931ms 2023-05-15T12:35:58.19648+08:00 INFO [22060,82362c1abfbb25bd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 950167}]" 2023-05-15T12:35:58.19658+08:00 INFO [22060,82362c1abfbb25bd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82362c1abfbb25bd, duration=64.807643ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 950167}]}] 2023-05-15T12:35:58.2697+08:00 INFO [22060,44ae07734f5ca86d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=44ae07734f5ca86d, body={"processName":"ocp_agentd"}] 2023-05-15T12:35:58.30499+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.69µs" 2023-05-15T12:35:58.33545+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.511316ms 2023-05-15T12:35:58.33554+08:00 INFO [22060,44ae07734f5ca86d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 950304}]" 2023-05-15T12:35:58.33562+08:00 INFO [22060,44ae07734f5ca86d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=44ae07734f5ca86d, duration=65.818469ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 950304}]}] 2023-05-15T12:35:59.38767+08:00 INFO [22060,89f034cac8c818ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89f034cac8c818ad, body=] 2023-05-15T12:35:59.38775+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:35:59.3878+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:35:59.38782+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:35:59.39052+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:35:59.39061+08:00 INFO [22060,89f034cac8c818ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89f034cac8c818ad, duration=2.837735ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:36:59.50922+08:00 INFO [22060,0e3ea07fa21aec02] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0e3ea07fa21aec02, body=] 2023-05-15T12:36:59.50934+08:00 INFO [22060,0e3ea07fa21aec02] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0e3ea07fa21aec02, duration=4.805µs, status=200, data=2023-05-15 12:36:59.509322525 +0800 CST m=+1010.713706554] 2023-05-15T12:36:59.6113+08:00 INFO [22060,190fd215c368da7b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=190fd215c368da7b, body={"processName":"ocp_mgragent"}] 2023-05-15T12:36:59.65408+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="121.74µs" 2023-05-15T12:36:59.68117+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.209284ms 2023-05-15T12:36:59.68125+08:00 INFO [22060,190fd215c368da7b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1011653}]" 2023-05-15T12:36:59.68134+08:00 INFO [22060,190fd215c368da7b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=190fd215c368da7b, duration=69.919209ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1011653}]}] 2023-05-15T12:36:59.82008+08:00 INFO [22060,37d70d07747ada97] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37d70d07747ada97, body={"processName":"ocp_monagent"}] 2023-05-15T12:36:59.85398+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.918µs" 2023-05-15T12:36:59.88159+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.678295ms 2023-05-15T12:36:59.88168+08:00 INFO [22060,37d70d07747ada97] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1011853}]" 2023-05-15T12:36:59.88175+08:00 INFO [22060,37d70d07747ada97] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37d70d07747ada97, duration=61.584135ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1011853}]}] 2023-05-15T12:36:59.98568+08:00 INFO [22060,2baf2e385911faca] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2baf2e385911faca, body={"processName":"ocp_agentd"}] 2023-05-15T12:37:00.0278+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="88.919µs" 2023-05-15T12:37:00.05879+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.083702ms 2023-05-15T12:37:00.05888+08:00 INFO [22060,2baf2e385911faca] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1012027}]" 2023-05-15T12:37:00.05896+08:00 INFO [22060,2baf2e385911faca] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2baf2e385911faca, duration=73.17208ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1012027}]}] 2023-05-15T12:37:00.72812+08:00 INFO [22060,be33d40e266cd020] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be33d40e266cd020, body=] 2023-05-15T12:37:00.72819+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:37:00.72824+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:37:00.72826+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:37:00.73085+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:37:00.73093+08:00 INFO [22060,be33d40e266cd020] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be33d40e266cd020, duration=2.725491ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:38:00.89173+08:00 INFO [22060,aaab7acb467a5c17] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aaab7acb467a5c17, body=] 2023-05-15T12:38:00.89183+08:00 INFO [22060,aaab7acb467a5c17] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aaab7acb467a5c17, duration=3.875µs, status=200, data=2023-05-15 12:38:00.891806415 +0800 CST m=+1072.096190443] 2023-05-15T12:38:01.00423+08:00 INFO [22060,23cd1cb2fd451484] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23cd1cb2fd451484, body={"processName":"ocp_mgragent"}] 2023-05-15T12:38:01.0385+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="67.298µs" 2023-05-15T12:38:01.06341+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.974567ms 2023-05-15T12:38:01.06349+08:00 INFO [22060,23cd1cb2fd451484] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073038}]" 2023-05-15T12:38:01.06356+08:00 INFO [22060,23cd1cb2fd451484] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23cd1cb2fd451484, duration=59.239197ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073038}]}] 2023-05-15T12:38:01.19385+08:00 INFO [22060,f8bcd3df4703ec2f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8bcd3df4703ec2f, body={"processName":"ocp_monagent"}] 2023-05-15T12:38:01.2309+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="66.527µs" 2023-05-15T12:38:01.26276+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=31.922443ms 2023-05-15T12:38:01.26284+08:00 INFO [22060,f8bcd3df4703ec2f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073230}]" 2023-05-15T12:38:01.26294+08:00 INFO [22060,f8bcd3df4703ec2f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8bcd3df4703ec2f, duration=68.972716ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073230}]}] 2023-05-15T12:38:01.37404+08:00 INFO [22060,fb404bf83dacf313] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb404bf83dacf313, body={"processName":"ocp_agentd"}] 2023-05-15T12:38:01.41181+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="98.51µs" 2023-05-15T12:38:01.43841+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.698732ms 2023-05-15T12:38:01.4385+08:00 INFO [22060,fb404bf83dacf313] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073411}]" 2023-05-15T12:38:01.43858+08:00 INFO [22060,fb404bf83dacf313] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb404bf83dacf313, duration=64.447097ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1073411}]}] 2023-05-15T12:38:02.25262+08:00 INFO [22060,ebebbc9d8cd6032c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebebbc9d8cd6032c, body=] 2023-05-15T12:38:02.25271+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:38:02.25278+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:38:02.2528+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:38:02.25623+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:38:02.25631+08:00 INFO [22060,ebebbc9d8cd6032c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebebbc9d8cd6032c, duration=3.577973ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:39:02.3794+08:00 INFO [22060,88e6e1b0887a24e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=88e6e1b0887a24e6, body=] 2023-05-15T12:39:02.37951+08:00 INFO [22060,88e6e1b0887a24e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=88e6e1b0887a24e6, duration=3.909µs, status=200, data=2023-05-15 12:39:02.379493487 +0800 CST m=+1133.583877516] 2023-05-15T12:39:02.4791+08:00 INFO [22060,58870d834dda06a7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58870d834dda06a7, body={"processName":"ocp_mgragent"}] 2023-05-15T12:39:02.51713+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.071µs" 2023-05-15T12:39:02.54204+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.958418ms 2023-05-15T12:39:02.54213+08:00 INFO [22060,58870d834dda06a7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134516}]" 2023-05-15T12:39:02.54221+08:00 INFO [22060,58870d834dda06a7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58870d834dda06a7, duration=63.00881ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134516}]}] 2023-05-15T12:39:02.61498+08:00 INFO [22060,1a3ea71f419e7f1f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1a3ea71f419e7f1f, body={"processName":"ocp_monagent"}] 2023-05-15T12:39:02.65174+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.504µs" 2023-05-15T12:39:02.6794+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.7106ms 2023-05-15T12:39:02.6795+08:00 INFO [22060,1a3ea71f419e7f1f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134651}]" 2023-05-15T12:39:02.67969+08:00 INFO [22060,1a3ea71f419e7f1f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1a3ea71f419e7f1f, duration=64.47495ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134651}]}] 2023-05-15T12:39:02.77866+08:00 INFO [22060,a0392554a60ed3d8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0392554a60ed3d8, body={"processName":"ocp_agentd"}] 2023-05-15T12:39:02.81689+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="85.453µs" 2023-05-15T12:39:02.84241+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.609138ms 2023-05-15T12:39:02.84249+08:00 INFO [22060,a0392554a60ed3d8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134816}]" 2023-05-15T12:39:02.84259+08:00 INFO [22060,a0392554a60ed3d8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0392554a60ed3d8, duration=63.843601ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1134816}]}] 2023-05-15T12:39:03.49407+08:00 INFO [22060,cfd05f961554ee38] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cfd05f961554ee38, body=] 2023-05-15T12:39:03.49414+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:39:03.49418+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:39:03.49422+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:39:03.49696+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:39:03.49703+08:00 INFO [22060,cfd05f961554ee38] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cfd05f961554ee38, duration=2.878213ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:40:03.61205+08:00 INFO [22060,4c61a955765752b9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4c61a955765752b9, body=] 2023-05-15T12:40:03.61215+08:00 INFO [22060,4c61a955765752b9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4c61a955765752b9, duration=3.675µs, status=200, data=2023-05-15 12:40:03.612127479 +0800 CST m=+1194.816511509] 2023-05-15T12:40:03.82403+08:00 INFO [22060,c0c590137ca54c2e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c0c590137ca54c2e, body={"processName":"ocp_mgragent"}] 2023-05-15T12:40:03.85933+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="44.088µs" 2023-05-15T12:40:03.88452+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.242071ms 2023-05-15T12:40:03.88464+08:00 INFO [22060,c0c590137ca54c2e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1195859}]" 2023-05-15T12:40:03.88472+08:00 INFO [22060,c0c590137ca54c2e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c0c590137ca54c2e, duration=60.59379ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1195859}]}] 2023-05-15T12:40:04.01866+08:00 INFO [22060,587f98e8c7f18c38] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=587f98e8c7f18c38, body={"processName":"ocp_monagent"}] 2023-05-15T12:40:04.06472+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="59.297µs" 2023-05-15T12:40:04.09036+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.693675ms 2023-05-15T12:40:04.09046+08:00 INFO [22060,587f98e8c7f18c38] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1196064}]" 2023-05-15T12:40:04.09054+08:00 INFO [22060,587f98e8c7f18c38] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=587f98e8c7f18c38, duration=71.782333ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1196064}]}] 2023-05-15T12:40:04.27917+08:00 INFO [22060,55f2d3bb803c2f2e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=55f2d3bb803c2f2e, body={"processName":"ocp_agentd"}] 2023-05-15T12:40:04.31447+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.945µs" 2023-05-15T12:40:04.34043+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.019653ms 2023-05-15T12:40:04.34051+08:00 INFO [22060,55f2d3bb803c2f2e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1196314}]" 2023-05-15T12:40:04.3406+08:00 INFO [22060,55f2d3bb803c2f2e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=55f2d3bb803c2f2e, duration=61.330483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1196314}]}] 2023-05-15T12:40:05.11669+08:00 INFO [22060,bb4b111dbfc86969] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bb4b111dbfc86969, body=] 2023-05-15T12:40:05.11676+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:40:05.11681+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:40:05.11683+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:40:05.11948+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:40:05.11957+08:00 INFO [22060,bb4b111dbfc86969] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bb4b111dbfc86969, duration=2.785853ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:41:05.29096+08:00 INFO [22060,52b2ce8cc622be3b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=52b2ce8cc622be3b, body=] 2023-05-15T12:41:05.29106+08:00 INFO [22060,52b2ce8cc622be3b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=52b2ce8cc622be3b, duration=3.96µs, status=200, data=2023-05-15 12:41:05.291044957 +0800 CST m=+1256.495428987] 2023-05-15T12:41:05.45485+08:00 INFO [22060,3825a0890a030905] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3825a0890a030905, body={"processName":"ocp_mgragent"}] 2023-05-15T12:41:05.49573+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="61.125µs" 2023-05-15T12:41:05.52069+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.020128ms 2023-05-15T12:41:05.52078+08:00 INFO [22060,3825a0890a030905] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257495}]" 2023-05-15T12:41:05.52085+08:00 INFO [22060,3825a0890a030905] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3825a0890a030905, duration=65.875746ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257495}]}] 2023-05-15T12:41:05.61987+08:00 INFO [22060,a86b3cee7846058f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a86b3cee7846058f, body={"processName":"ocp_monagent"}] 2023-05-15T12:41:05.65548+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.908µs" 2023-05-15T12:41:05.68144+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.001556ms 2023-05-15T12:41:05.68158+08:00 INFO [22060,a86b3cee7846058f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257655}]" 2023-05-15T12:41:05.68166+08:00 INFO [22060,a86b3cee7846058f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a86b3cee7846058f, duration=61.689354ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257655}]}] 2023-05-15T12:41:05.76619+08:00 INFO [22060,43d27775f1b3695f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43d27775f1b3695f, body={"processName":"ocp_agentd"}] 2023-05-15T12:41:05.80235+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.06µs" 2023-05-15T12:41:05.82763+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.336655ms 2023-05-15T12:41:05.82773+08:00 INFO [22060,43d27775f1b3695f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257802}]" 2023-05-15T12:41:05.82784+08:00 INFO [22060,43d27775f1b3695f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43d27775f1b3695f, duration=61.546905ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1257802}]}] 2023-05-15T12:41:06.48367+08:00 INFO [22060,281c40059399678c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=281c40059399678c, body=] 2023-05-15T12:41:06.48374+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:41:06.48379+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:41:06.48381+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:41:06.48722+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:41:06.48729+08:00 INFO [22060,281c40059399678c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=281c40059399678c, duration=3.533062ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:42:06.65193+08:00 INFO [22060,eb659fd4b46a7f34] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb659fd4b46a7f34, body=] 2023-05-15T12:42:06.65203+08:00 INFO [22060,eb659fd4b46a7f34] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb659fd4b46a7f34, duration=3.845µs, status=200, data=2023-05-15 12:42:06.652012706 +0800 CST m=+1317.856396736] 2023-05-15T12:42:06.80408+08:00 INFO [22060,b357ced403a7a4fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b357ced403a7a4fb, body={"processName":"ocp_mgragent"}] 2023-05-15T12:42:06.844+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="75.656µs" 2023-05-15T12:42:06.87069+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.748184ms 2023-05-15T12:42:06.87078+08:00 INFO [22060,b357ced403a7a4fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1318843}]" 2023-05-15T12:42:06.87089+08:00 INFO [22060,b357ced403a7a4fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b357ced403a7a4fb, duration=66.69634ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1318843}]}] 2023-05-15T12:42:06.99103+08:00 INFO [22060,fb50c1fb907582d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb50c1fb907582d6, body={"processName":"ocp_monagent"}] 2023-05-15T12:42:07.03253+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="53.915µs" 2023-05-15T12:42:07.05917+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.69239ms 2023-05-15T12:42:07.05926+08:00 INFO [22060,fb50c1fb907582d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1319032}]" 2023-05-15T12:42:07.05936+08:00 INFO [22060,fb50c1fb907582d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb50c1fb907582d6, duration=68.222981ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1319032}]}] 2023-05-15T12:42:07.20581+08:00 INFO [22060,edf8f75e65d54533] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=edf8f75e65d54533, body={"processName":"ocp_agentd"}] 2023-05-15T12:42:07.24264+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.013µs" 2023-05-15T12:42:07.2771+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=34.510634ms 2023-05-15T12:42:07.27721+08:00 INFO [22060,edf8f75e65d54533] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1319242}]" 2023-05-15T12:42:07.27731+08:00 INFO [22060,edf8f75e65d54533] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=edf8f75e65d54533, duration=71.367966ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1319242}]}] 2023-05-15T12:42:07.9657+08:00 INFO [22060,16297a4d07020ea0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=16297a4d07020ea0, body=] 2023-05-15T12:42:07.96579+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:42:07.96585+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:42:07.9659+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:42:07.9713+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:42:07.97138+08:00 INFO [22060,16297a4d07020ea0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=16297a4d07020ea0, duration=5.57804ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:43:08.18771+08:00 INFO [22060,76b5500153f943f6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76b5500153f943f6, body=] 2023-05-15T12:43:08.1878+08:00 INFO [22060,76b5500153f943f6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76b5500153f943f6, duration=3.937µs, status=200, data=2023-05-15 12:43:08.18778769 +0800 CST m=+1379.392171721] 2023-05-15T12:43:08.38098+08:00 INFO [22060,c29b6fe5587b8b25] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c29b6fe5587b8b25, body={"processName":"ocp_mgragent"}] 2023-05-15T12:43:08.41836+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="64.308µs" 2023-05-15T12:43:08.44581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.537828ms 2023-05-15T12:43:08.44594+08:00 INFO [22060,c29b6fe5587b8b25] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1380418}]" 2023-05-15T12:43:08.44603+08:00 INFO [22060,c29b6fe5587b8b25] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c29b6fe5587b8b25, duration=64.943502ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1380418}]}] 2023-05-15T12:43:08.67267+08:00 INFO [22060,9915af3d7b472811] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9915af3d7b472811, body={"processName":"ocp_monagent"}] 2023-05-15T12:43:08.70717+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.625µs" 2023-05-15T12:43:08.73274+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.617431ms 2023-05-15T12:43:08.73285+08:00 INFO [22060,9915af3d7b472811] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1380707}]" 2023-05-15T12:43:08.73295+08:00 INFO [22060,9915af3d7b472811] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9915af3d7b472811, duration=60.189737ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1380707}]}] 2023-05-15T12:43:08.99504+08:00 INFO [22060,cc494db11bbf66a1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc494db11bbf66a1, body={"processName":"ocp_agentd"}] 2023-05-15T12:43:09.02816+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.121µs" 2023-05-15T12:43:09.05336+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.258073ms 2023-05-15T12:43:09.05345+08:00 INFO [22060,cc494db11bbf66a1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1381027}]" 2023-05-15T12:43:09.05353+08:00 INFO [22060,cc494db11bbf66a1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc494db11bbf66a1, duration=58.392894ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1381027}]}] 2023-05-15T12:43:10.01968+08:00 INFO [22060,2277474e50d156e9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2277474e50d156e9, body=] 2023-05-15T12:43:10.01977+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:43:10.01984+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:43:10.01988+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:43:10.0233+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:43:10.02339+08:00 INFO [22060,2277474e50d156e9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2277474e50d156e9, duration=3.601817ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:44:10.16365+08:00 INFO [22060,d4ca6e9bc52c8741] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4ca6e9bc52c8741, body=] 2023-05-15T12:44:10.16379+08:00 INFO [22060,d4ca6e9bc52c8741] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4ca6e9bc52c8741, duration=6.083µs, status=200, data=2023-05-15 12:44:10.163750495 +0800 CST m=+1441.368134531] 2023-05-15T12:44:10.27273+08:00 INFO [22060,99ea5ac52acbdfcd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99ea5ac52acbdfcd, body={"processName":"ocp_mgragent"}] 2023-05-15T12:44:10.31115+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="77.109µs" 2023-05-15T12:44:10.34476+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.685591ms 2023-05-15T12:44:10.34487+08:00 INFO [22060,99ea5ac52acbdfcd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442310}]" 2023-05-15T12:44:10.34495+08:00 INFO [22060,99ea5ac52acbdfcd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99ea5ac52acbdfcd, duration=72.119156ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442310}]}] 2023-05-15T12:44:10.48797+08:00 INFO [22060,f05c125ad6dc270d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f05c125ad6dc270d, body={"processName":"ocp_monagent"}] 2023-05-15T12:44:10.52385+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="60.452µs" 2023-05-15T12:44:10.54914+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.348989ms 2023-05-15T12:44:10.54923+08:00 INFO [22060,f05c125ad6dc270d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442523}]" 2023-05-15T12:44:10.54931+08:00 INFO [22060,f05c125ad6dc270d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f05c125ad6dc270d, duration=61.251168ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442523}]}] 2023-05-15T12:44:10.77318+08:00 INFO [22060,38e196ddc376989b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38e196ddc376989b, body={"processName":"ocp_agentd"}] 2023-05-15T12:44:10.80744+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.153µs" 2023-05-15T12:44:10.83481+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.417977ms 2023-05-15T12:44:10.8349+08:00 INFO [22060,38e196ddc376989b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442807}]" 2023-05-15T12:44:10.83497+08:00 INFO [22060,38e196ddc376989b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38e196ddc376989b, duration=61.700155ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1442807}]}] 2023-05-15T12:44:11.43811+08:00 INFO [22060,8f0f50adfe8dadfe] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f0f50adfe8dadfe, body=] 2023-05-15T12:44:11.43818+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:44:11.43823+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:44:11.43826+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:44:11.4413+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:44:11.4414+08:00 INFO [22060,8f0f50adfe8dadfe] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f0f50adfe8dadfe, duration=3.199916ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:45:11.61325+08:00 INFO [22060,19eee5a4a5a25d37] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=19eee5a4a5a25d37, body=] 2023-05-15T12:45:11.61335+08:00 INFO [22060,19eee5a4a5a25d37] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=19eee5a4a5a25d37, duration=4.102µs, status=200, data=2023-05-15 12:45:11.613332461 +0800 CST m=+1502.817716490] 2023-05-15T12:45:11.77468+08:00 INFO [22060,a19f7d9a36ba5852] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a19f7d9a36ba5852, body={"processName":"ocp_mgragent"}] 2023-05-15T12:45:11.81294+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.176µs" 2023-05-15T12:45:11.83845+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.568491ms 2023-05-15T12:45:11.83854+08:00 INFO [22060,a19f7d9a36ba5852] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1503812}]" 2023-05-15T12:45:11.83862+08:00 INFO [22060,a19f7d9a36ba5852] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a19f7d9a36ba5852, duration=63.821296ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1503812}]}] 2023-05-15T12:45:11.92171+08:00 INFO [22060,f4211c2df98265aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f4211c2df98265aa, body={"processName":"ocp_monagent"}] 2023-05-15T12:45:11.95647+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.485µs" 2023-05-15T12:45:11.98493+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.507351ms 2023-05-15T12:45:11.98504+08:00 INFO [22060,f4211c2df98265aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1503956}]" 2023-05-15T12:45:11.98514+08:00 INFO [22060,f4211c2df98265aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f4211c2df98265aa, duration=63.339067ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1503956}]}] 2023-05-15T12:45:12.06477+08:00 INFO [22060,717748148b2b4d98] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=717748148b2b4d98, body={"processName":"ocp_agentd"}] 2023-05-15T12:45:12.10501+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="93.866µs" 2023-05-15T12:45:12.13094+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.019518ms 2023-05-15T12:45:12.13102+08:00 INFO [22060,717748148b2b4d98] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1504104}]" 2023-05-15T12:45:12.13109+08:00 INFO [22060,717748148b2b4d98] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=717748148b2b4d98, duration=66.191474ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1504104}]}] 2023-05-15T12:45:12.82344+08:00 INFO [22060,015310e9f95ad907] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=015310e9f95ad907, body=] 2023-05-15T12:45:12.82355+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:45:12.82361+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:45:12.82363+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:45:12.82657+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:45:12.82669+08:00 INFO [22060,015310e9f95ad907] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=015310e9f95ad907, duration=3.109686ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:46:12.93809+08:00 INFO [22060,ca49b34963af578b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca49b34963af578b, body=] 2023-05-15T12:46:12.93819+08:00 INFO [22060,ca49b34963af578b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca49b34963af578b, duration=3.799µs, status=200, data=2023-05-15 12:46:12.938165703 +0800 CST m=+1564.142549733] 2023-05-15T12:46:13.13627+08:00 INFO [22060,1dc348d64627a482] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1dc348d64627a482, body={"processName":"ocp_mgragent"}] 2023-05-15T12:46:13.17231+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.501µs" 2023-05-15T12:46:13.19868+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.431204ms 2023-05-15T12:46:13.19878+08:00 INFO [22060,1dc348d64627a482] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565172}]" 2023-05-15T12:46:13.1989+08:00 INFO [22060,1dc348d64627a482] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1dc348d64627a482, duration=62.483994ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565172}]}] 2023-05-15T12:46:13.29133+08:00 INFO [22060,2279480fedb7d32e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2279480fedb7d32e, body={"processName":"ocp_monagent"}] 2023-05-15T12:46:13.32936+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="59.524µs" 2023-05-15T12:46:13.35623+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.923844ms 2023-05-15T12:46:13.35635+08:00 INFO [22060,2279480fedb7d32e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565329}]" 2023-05-15T12:46:13.35644+08:00 INFO [22060,2279480fedb7d32e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2279480fedb7d32e, duration=65.004735ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565329}]}] 2023-05-15T12:46:13.49688+08:00 INFO [22060,7a3abf00469866b6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a3abf00469866b6, body={"processName":"ocp_agentd"}] 2023-05-15T12:46:13.52987+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="56.13µs" 2023-05-15T12:46:13.55602+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.200333ms 2023-05-15T12:46:13.55609+08:00 INFO [22060,7a3abf00469866b6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565529}]" 2023-05-15T12:46:13.55617+08:00 INFO [22060,7a3abf00469866b6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a3abf00469866b6, duration=59.199055ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1565529}]}] 2023-05-15T12:46:14.14611+08:00 INFO [22060,de581d2e89f6e950] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de581d2e89f6e950, body=] 2023-05-15T12:46:14.14622+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:46:14.14628+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:46:14.14631+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:46:14.14947+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:46:14.14958+08:00 INFO [22060,de581d2e89f6e950] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de581d2e89f6e950, duration=3.334102ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:46:58.19905+08:00 INFO [22060,07a5ca39e5bc43bc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07a5ca39e5bc43bc, body={"processName":"observer"}] 2023-05-15T12:46:58.24075+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="272.991µs" 2023-05-15T12:46:58.30821+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=67.730612ms 2023-05-15T12:46:58.30835+08:00 INFO [22060,07a5ca39e5bc43bc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72213240}]" 2023-05-15T12:46:58.30846+08:00 INFO [22060,07a5ca39e5bc43bc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07a5ca39e5bc43bc, duration=109.302494ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72213240}]}] 2023-05-15T12:47:14.28856+08:00 INFO [22060,376631f254162b60] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=376631f254162b60, body=] 2023-05-15T12:47:14.28866+08:00 INFO [22060,376631f254162b60] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=376631f254162b60, duration=4.572µs, status=200, data=2023-05-15 12:47:14.288644844 +0800 CST m=+1625.493028874] 2023-05-15T12:47:14.4804+08:00 INFO [22060,8baed30d7254d8e4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8baed30d7254d8e4, body={"processName":"ocp_mgragent"}] 2023-05-15T12:47:14.52068+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.612µs" 2023-05-15T12:47:14.55642+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=35.784643ms 2023-05-15T12:47:14.55652+08:00 INFO [22060,8baed30d7254d8e4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626520}]" 2023-05-15T12:47:14.55663+08:00 INFO [22060,8baed30d7254d8e4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8baed30d7254d8e4, duration=76.105968ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626520}]}] 2023-05-15T12:47:14.66449+08:00 INFO [22060,b0904de2d04759da] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0904de2d04759da, body={"processName":"ocp_monagent"}] 2023-05-15T12:47:14.70173+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.9µs" 2023-05-15T12:47:14.7283+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.623682ms 2023-05-15T12:47:14.72838+08:00 INFO [22060,b0904de2d04759da] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626701}]" 2023-05-15T12:47:14.72846+08:00 INFO [22060,b0904de2d04759da] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0904de2d04759da, duration=63.855369ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626701}]}] 2023-05-15T12:47:14.85466+08:00 INFO [22060,f093ccf4852eef23] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f093ccf4852eef23, body={"processName":"ocp_agentd"}] 2023-05-15T12:47:14.89248+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=1.714068ms 2023-05-15T12:47:14.92042+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.654895ms 2023-05-15T12:47:14.9205+08:00 INFO [22060,f093ccf4852eef23] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626890}]" 2023-05-15T12:47:14.92061+08:00 INFO [22060,f093ccf4852eef23] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f093ccf4852eef23, duration=65.851664ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1626890}]}] 2023-05-15T12:47:15.61+08:00 INFO [22060,58af48ce7a6cc63b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58af48ce7a6cc63b, body=] 2023-05-15T12:47:15.61008+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:47:15.61013+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:47:15.61015+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:47:15.61346+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:47:15.61354+08:00 INFO [22060,58af48ce7a6cc63b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58af48ce7a6cc63b, duration=3.44252ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:48:15.73942+08:00 INFO [22060,34fa45fbb6938d6e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34fa45fbb6938d6e, body=] 2023-05-15T12:48:15.73959+08:00 INFO [22060,34fa45fbb6938d6e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34fa45fbb6938d6e, duration=6.442µs, status=200, data=2023-05-15 12:48:15.739528575 +0800 CST m=+1686.943912617] 2023-05-15T12:48:15.85978+08:00 INFO [22060,b9fec48d3c450c24] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9fec48d3c450c24, body={"processName":"ocp_mgragent"}] 2023-05-15T12:48:15.90405+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.456µs" 2023-05-15T12:48:15.92973+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.73883ms 2023-05-15T12:48:15.92981+08:00 INFO [22060,b9fec48d3c450c24] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1687903}]" 2023-05-15T12:48:15.9299+08:00 INFO [22060,b9fec48d3c450c24] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9fec48d3c450c24, duration=70.000184ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1687903}]}] 2023-05-15T12:48:15.98936+08:00 INFO [22060,381c0120a97a144d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=381c0120a97a144d, body={"processName":"ocp_monagent"}] 2023-05-15T12:48:16.03154+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.219µs" 2023-05-15T12:48:16.05797+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.474286ms 2023-05-15T12:48:16.05805+08:00 INFO [22060,381c0120a97a144d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1688031}]" 2023-05-15T12:48:16.05812+08:00 INFO [22060,381c0120a97a144d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=381c0120a97a144d, duration=68.638736ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1688031}]}] 2023-05-15T12:48:16.14935+08:00 INFO [22060,eaa0cd9173b4b983] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eaa0cd9173b4b983, body={"processName":"ocp_agentd"}] 2023-05-15T12:48:16.18662+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="69.983µs" 2023-05-15T12:48:16.2147+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.144569ms 2023-05-15T12:48:16.21478+08:00 INFO [22060,eaa0cd9173b4b983] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1688186}]" 2023-05-15T12:48:16.21488+08:00 INFO [22060,eaa0cd9173b4b983] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eaa0cd9173b4b983, duration=65.401183ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1688186}]}] 2023-05-15T12:48:16.8655+08:00 INFO [22060,c0bd63db74c76fd9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c0bd63db74c76fd9, body=] 2023-05-15T12:48:16.86559+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:48:16.86566+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:48:16.86568+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:48:16.86941+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:48:16.86952+08:00 INFO [22060,c0bd63db74c76fd9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c0bd63db74c76fd9, duration=3.896621ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:49:16.96743+08:00 INFO [22060,95c830e5bd4ffee5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=95c830e5bd4ffee5, body=] 2023-05-15T12:49:16.96755+08:00 INFO [22060,95c830e5bd4ffee5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=95c830e5bd4ffee5, duration=4.309µs, status=200, data=2023-05-15 12:49:16.967524748 +0800 CST m=+1748.171908778] 2023-05-15T12:49:17.06733+08:00 INFO [22060,37a96a1b392d2d41] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37a96a1b392d2d41, body={"processName":"ocp_mgragent"}] 2023-05-15T12:49:17.10147+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.979µs" 2023-05-15T12:49:17.12748+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.05891ms 2023-05-15T12:49:17.12755+08:00 INFO [22060,37a96a1b392d2d41] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749101}]" 2023-05-15T12:49:17.12764+08:00 INFO [22060,37a96a1b392d2d41] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37a96a1b392d2d41, duration=60.210629ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749101}]}] 2023-05-15T12:49:17.22112+08:00 INFO [22060,1d7df30cbac58813] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d7df30cbac58813, body={"processName":"ocp_monagent"}] 2023-05-15T12:49:17.25897+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.638µs" 2023-05-15T12:49:17.2853+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.386346ms 2023-05-15T12:49:17.28539+08:00 INFO [22060,1d7df30cbac58813] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749258}]" 2023-05-15T12:49:17.28547+08:00 INFO [22060,1d7df30cbac58813] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d7df30cbac58813, duration=64.223426ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749258}]}] 2023-05-15T12:49:17.3853+08:00 INFO [22060,14648dc15f6890e3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14648dc15f6890e3, body={"processName":"ocp_agentd"}] 2023-05-15T12:49:17.42081+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.927µs" 2023-05-15T12:49:17.44533+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.56272ms 2023-05-15T12:49:17.44541+08:00 INFO [22060,14648dc15f6890e3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749420}]" 2023-05-15T12:49:17.44548+08:00 INFO [22060,14648dc15f6890e3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14648dc15f6890e3, duration=60.093006ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1749420}]}] 2023-05-15T12:49:18.0518+08:00 INFO [22060,36e4446308aabef7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=36e4446308aabef7, body=] 2023-05-15T12:49:18.05193+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:49:18.052+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:49:18.05203+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:49:18.05493+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:49:18.05506+08:00 INFO [22060,36e4446308aabef7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=36e4446308aabef7, duration=3.101285ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:50:18.2196+08:00 INFO [22060,25a8c0f5c20a7de7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=25a8c0f5c20a7de7, body=] 2023-05-15T12:50:18.21973+08:00 INFO [22060,25a8c0f5c20a7de7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=25a8c0f5c20a7de7, duration=4.75µs, status=200, data=2023-05-15 12:50:18.219707145 +0800 CST m=+1809.424091174] 2023-05-15T12:50:18.35924+08:00 INFO [22060,4b6705b415a6dea2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4b6705b415a6dea2, body={"processName":"ocp_mgragent"}] 2023-05-15T12:50:18.3962+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.221µs" 2023-05-15T12:50:18.42222+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.072861ms 2023-05-15T12:50:18.4223+08:00 INFO [22060,4b6705b415a6dea2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810396}]" 2023-05-15T12:50:18.42238+08:00 INFO [22060,4b6705b415a6dea2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4b6705b415a6dea2, duration=63.039504ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810396}]}] 2023-05-15T12:50:18.54533+08:00 INFO [22060,67ae346a315046d0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67ae346a315046d0, body={"processName":"ocp_monagent"}] 2023-05-15T12:50:18.5818+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.073µs" 2023-05-15T12:50:18.60779+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.043279ms 2023-05-15T12:50:18.60789+08:00 INFO [22060,67ae346a315046d0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810581}]" 2023-05-15T12:50:18.60798+08:00 INFO [22060,67ae346a315046d0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67ae346a315046d0, duration=62.462773ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810581}]}] 2023-05-15T12:50:18.7337+08:00 INFO [22060,a35f028ac2942094] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a35f028ac2942094, body={"processName":"ocp_agentd"}] 2023-05-15T12:50:18.7733+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.202µs" 2023-05-15T12:50:18.79869+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.446077ms 2023-05-15T12:50:18.79878+08:00 INFO [22060,a35f028ac2942094] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810773}]" 2023-05-15T12:50:18.79888+08:00 INFO [22060,a35f028ac2942094] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a35f028ac2942094, duration=65.058214ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1810773}]}] 2023-05-15T12:50:19.62324+08:00 INFO [22060,a8225ef9e69a494d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a8225ef9e69a494d, body=] 2023-05-15T12:50:19.62332+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:50:19.62337+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:50:19.6234+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:50:19.62613+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:50:19.62621+08:00 INFO [22060,a8225ef9e69a494d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a8225ef9e69a494d, duration=2.865103ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:51:19.74424+08:00 INFO [22060,be772840c53020f3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be772840c53020f3, body=] 2023-05-15T12:51:19.74435+08:00 INFO [22060,be772840c53020f3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be772840c53020f3, duration=4.096µs, status=200, data=2023-05-15 12:51:19.744334304 +0800 CST m=+1870.948718335] 2023-05-15T12:51:19.88228+08:00 INFO [22060,baf14cd9f6d90b6d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=baf14cd9f6d90b6d, body={"processName":"ocp_mgragent"}] 2023-05-15T12:51:19.93564+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="57.334µs" 2023-05-15T12:51:19.96227+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.689887ms 2023-05-15T12:51:19.96237+08:00 INFO [22060,baf14cd9f6d90b6d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1871935}]" 2023-05-15T12:51:19.96244+08:00 INFO [22060,baf14cd9f6d90b6d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=baf14cd9f6d90b6d, duration=80.031332ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1871935}]}] 2023-05-15T12:51:20.04527+08:00 INFO [22060,d9bb2b82c847df0a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d9bb2b82c847df0a, body={"processName":"ocp_monagent"}] 2023-05-15T12:51:20.08651+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="174.64µs" 2023-05-15T12:51:20.12513+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=38.796887ms 2023-05-15T12:51:20.12522+08:00 INFO [22060,d9bb2b82c847df0a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1872086}]" 2023-05-15T12:51:20.12531+08:00 INFO [22060,d9bb2b82c847df0a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d9bb2b82c847df0a, duration=79.91318ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1872086}]}] 2023-05-15T12:51:20.249+08:00 INFO [22060,0d18396432de2c18] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d18396432de2c18, body={"processName":"ocp_agentd"}] 2023-05-15T12:51:20.28539+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="68.749µs" 2023-05-15T12:51:20.31256+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.244841ms 2023-05-15T12:51:20.31266+08:00 INFO [22060,0d18396432de2c18] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1872285}]" 2023-05-15T12:51:20.31275+08:00 INFO [22060,0d18396432de2c18] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d18396432de2c18, duration=63.635915ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1872285}]}] 2023-05-15T12:51:20.95189+08:00 INFO [22060,7a42e3c4577df5cc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a42e3c4577df5cc, body=] 2023-05-15T12:51:20.95197+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:51:20.95202+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:51:20.95205+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:51:20.95512+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:51:20.9552+08:00 INFO [22060,7a42e3c4577df5cc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a42e3c4577df5cc, duration=3.207038ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:52:21.25043+08:00 INFO [22060,6fedf3f9158fb0e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6fedf3f9158fb0e6, body=] 2023-05-15T12:52:21.25058+08:00 INFO [22060,6fedf3f9158fb0e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6fedf3f9158fb0e6, duration=4.185µs, status=200, data=2023-05-15 12:52:21.250537447 +0800 CST m=+1932.454921476] 2023-05-15T12:52:21.71989+08:00 INFO [22060,5822140f91e508bc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5822140f91e508bc, body={"processName":"ocp_mgragent"}] 2023-05-15T12:52:21.75818+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.247µs" 2023-05-15T12:52:21.78725+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=29.125057ms 2023-05-15T12:52:21.78736+08:00 INFO [22060,5822140f91e508bc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1933758}]" 2023-05-15T12:52:21.78745+08:00 INFO [22060,5822140f91e508bc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5822140f91e508bc, duration=67.441885ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1933758}]}] 2023-05-15T12:52:22.14739+08:00 INFO [22060,b69985e7dbe00c4a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b69985e7dbe00c4a, body={"processName":"ocp_monagent"}] 2023-05-15T12:52:22.19375+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.796µs" 2023-05-15T12:52:22.23103+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=37.332875ms 2023-05-15T12:52:22.23113+08:00 INFO [22060,b69985e7dbe00c4a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1934193}]" 2023-05-15T12:52:22.23122+08:00 INFO [22060,b69985e7dbe00c4a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b69985e7dbe00c4a, duration=83.693831ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1934193}]}] 2023-05-15T12:52:22.40067+08:00 INFO [22060,45b1f3ad4dbef928] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45b1f3ad4dbef928, body={"processName":"ocp_agentd"}] 2023-05-15T12:52:22.44274+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="184.581µs" 2023-05-15T12:52:22.48289+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=40.326767ms 2023-05-15T12:52:22.483+08:00 INFO [22060,45b1f3ad4dbef928] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1934442}]" 2023-05-15T12:52:22.4831+08:00 INFO [22060,45b1f3ad4dbef928] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45b1f3ad4dbef928, duration=82.31917ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1934442}]}] 2023-05-15T12:52:23.28497+08:00 INFO [22060,75f60cdbf543dd62] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75f60cdbf543dd62, body=] 2023-05-15T12:52:23.28507+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:52:23.28513+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:52:23.28517+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:52:23.28809+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:52:23.28819+08:00 INFO [22060,75f60cdbf543dd62] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75f60cdbf543dd62, duration=3.096357ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:53:23.52944+08:00 INFO [22060,6bc20b3d40dfec6d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bc20b3d40dfec6d, body=] 2023-05-15T12:53:23.52954+08:00 INFO [22060,6bc20b3d40dfec6d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bc20b3d40dfec6d, duration=3.839µs, status=200, data=2023-05-15 12:53:23.529523829 +0800 CST m=+1994.733907862] 2023-05-15T12:53:23.72223+08:00 INFO [22060,5b94563b27751f4f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5b94563b27751f4f, body={"processName":"ocp_mgragent"}] 2023-05-15T12:53:23.76721+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="67.317µs" 2023-05-15T12:53:23.80318+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=36.037711ms 2023-05-15T12:53:23.80333+08:00 INFO [22060,5b94563b27751f4f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1995766}]" 2023-05-15T12:53:23.80349+08:00 INFO [22060,5b94563b27751f4f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5b94563b27751f4f, duration=81.147421ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1995766}]}] 2023-05-15T12:53:23.86498+08:00 INFO [22060,30a0e6ac45232902] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=30a0e6ac45232902, body={"processName":"ocp_monagent"}] 2023-05-15T12:53:23.90459+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="56.236µs" 2023-05-15T12:53:23.9362+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=31.668054ms 2023-05-15T12:53:23.93634+08:00 INFO [22060,30a0e6ac45232902] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1995904}]" 2023-05-15T12:53:23.9365+08:00 INFO [22060,30a0e6ac45232902] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=30a0e6ac45232902, duration=71.394372ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1995904}]}] 2023-05-15T12:53:24.19248+08:00 INFO [22060,ebc8dae21d140259] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebc8dae21d140259, body={"processName":"ocp_agentd"}] 2023-05-15T12:53:24.22978+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.204µs" 2023-05-15T12:53:24.25598+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.245529ms 2023-05-15T12:53:24.2561+08:00 INFO [22060,ebc8dae21d140259] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1996229}]" 2023-05-15T12:53:24.25622+08:00 INFO [22060,ebc8dae21d140259] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebc8dae21d140259, duration=63.628937ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 1996229}]}] 2023-05-15T12:53:25.01414+08:00 INFO [22060,5ba0f04287db892d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ba0f04287db892d, body=] 2023-05-15T12:53:25.01423+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:53:25.01429+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:53:25.01432+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:53:25.01751+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:53:25.01763+08:00 INFO [22060,5ba0f04287db892d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ba0f04287db892d, duration=3.371473ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:54:25.39766+08:00 INFO [22060,eb5657119469acb4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb5657119469acb4, body=] 2023-05-15T12:54:25.39782+08:00 INFO [22060,eb5657119469acb4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb5657119469acb4, duration=5.433µs, status=200, data=2023-05-15 12:54:25.397783685 +0800 CST m=+2056.602167727] 2023-05-15T12:54:25.79199+08:00 INFO [22060,81d1fb4e6b9e5d3d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=81d1fb4e6b9e5d3d, body={"processName":"ocp_mgragent"}] 2023-05-15T12:54:25.83351+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.582µs" 2023-05-15T12:54:25.86492+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.459227ms 2023-05-15T12:54:25.86502+08:00 INFO [22060,81d1fb4e6b9e5d3d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2057833}]" 2023-05-15T12:54:25.8651+08:00 INFO [22060,81d1fb4e6b9e5d3d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=81d1fb4e6b9e5d3d, duration=72.970831ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2057833}]}] 2023-05-15T12:54:26.0459+08:00 INFO [22060,d4d2b47ae282dbc5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4d2b47ae282dbc5, body={"processName":"ocp_monagent"}] 2023-05-15T12:54:26.08646+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="58.92µs" 2023-05-15T12:54:26.12294+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=36.544372ms 2023-05-15T12:54:26.12308+08:00 INFO [22060,d4d2b47ae282dbc5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2058086}]" 2023-05-15T12:54:26.1232+08:00 INFO [22060,d4d2b47ae282dbc5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4d2b47ae282dbc5, duration=77.155037ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2058086}]}] 2023-05-15T12:54:26.60466+08:00 INFO [22060,24b5b142d227f694] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24b5b142d227f694, body={"processName":"ocp_agentd"}] 2023-05-15T12:54:26.64208+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.795µs" 2023-05-15T12:54:26.67633+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=34.298709ms 2023-05-15T12:54:26.67643+08:00 INFO [22060,24b5b142d227f694] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2058641}]" 2023-05-15T12:54:26.67652+08:00 INFO [22060,24b5b142d227f694] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24b5b142d227f694, duration=71.753366ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2058641}]}] 2023-05-15T12:54:27.23157+08:00 INFO [22060,c3e5d228e7b1eaf6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c3e5d228e7b1eaf6, body=] 2023-05-15T12:54:27.23171+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:54:27.23179+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:54:27.23182+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:54:27.23498+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:54:27.23514+08:00 INFO [22060,c3e5d228e7b1eaf6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c3e5d228e7b1eaf6, duration=3.376918ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:55:27.39972+08:00 INFO [22060,c29a35df6475e7b5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c29a35df6475e7b5, body=] 2023-05-15T12:55:27.39982+08:00 INFO [22060,c29a35df6475e7b5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c29a35df6475e7b5, duration=3.553µs, status=200, data=2023-05-15 12:55:27.399806209 +0800 CST m=+2118.604190241] 2023-05-15T12:55:27.58916+08:00 INFO [22060,602653e2eefee4f4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=602653e2eefee4f4, body={"processName":"ocp_mgragent"}] 2023-05-15T12:55:27.62784+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="158.314µs" 2023-05-15T12:55:27.65543+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.750494ms 2023-05-15T12:55:27.65556+08:00 INFO [22060,602653e2eefee4f4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119627}]" 2023-05-15T12:55:27.65566+08:00 INFO [22060,602653e2eefee4f4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=602653e2eefee4f4, duration=66.395847ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119627}]}] 2023-05-15T12:55:27.74572+08:00 INFO [22060,9a04d011b67c49b4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a04d011b67c49b4, body={"processName":"ocp_monagent"}] 2023-05-15T12:55:27.78181+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.261µs" 2023-05-15T12:55:27.80968+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.920543ms 2023-05-15T12:55:27.80976+08:00 INFO [22060,9a04d011b67c49b4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119781}]" 2023-05-15T12:55:27.80985+08:00 INFO [22060,9a04d011b67c49b4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a04d011b67c49b4, duration=64.001134ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119781}]}] 2023-05-15T12:55:27.96102+08:00 INFO [22060,1c1cc9e57a28220b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1c1cc9e57a28220b, body={"processName":"ocp_agentd"}] 2023-05-15T12:55:27.99692+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="72.646µs" 2023-05-15T12:55:28.02407+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.227494ms 2023-05-15T12:55:28.02419+08:00 INFO [22060,1c1cc9e57a28220b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119996}]" 2023-05-15T12:55:28.0243+08:00 INFO [22060,1c1cc9e57a28220b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1c1cc9e57a28220b, duration=63.174233ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2119996}]}] 2023-05-15T12:55:28.58276+08:00 INFO [22060,cea2dbadc2a0f0a1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cea2dbadc2a0f0a1, body=] 2023-05-15T12:55:28.58285+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:55:28.58291+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:55:28.58293+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:55:28.58551+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:55:28.58559+08:00 INFO [22060,cea2dbadc2a0f0a1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cea2dbadc2a0f0a1, duration=2.718178ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:56:28.66543+08:00 INFO [22060,9fb20f57772f0169] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fb20f57772f0169, body=] 2023-05-15T12:56:28.66554+08:00 INFO [22060,9fb20f57772f0169] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fb20f57772f0169, duration=3.412µs, status=200, data=2023-05-15 12:56:28.665518135 +0800 CST m=+2179.869902165] 2023-05-15T12:56:28.80547+08:00 INFO [22060,f81fa78de13a3279] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f81fa78de13a3279, body={"processName":"ocp_mgragent"}] 2023-05-15T12:56:28.84224+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="210.442µs" 2023-05-15T12:56:28.87311+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.08348ms 2023-05-15T12:56:28.87321+08:00 INFO [22060,f81fa78de13a3279] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2180841}]" 2023-05-15T12:56:28.87331+08:00 INFO [22060,f81fa78de13a3279] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f81fa78de13a3279, duration=67.716212ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2180841}]}] 2023-05-15T12:56:28.99473+08:00 INFO [22060,821359da8a441d61] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=821359da8a441d61, body={"processName":"ocp_monagent"}] 2023-05-15T12:56:29.02852+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.51µs" 2023-05-15T12:56:29.0558+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.331187ms 2023-05-15T12:56:29.05589+08:00 INFO [22060,821359da8a441d61] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2181028}]" 2023-05-15T12:56:29.05597+08:00 INFO [22060,821359da8a441d61] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=821359da8a441d61, duration=61.138157ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2181028}]}] 2023-05-15T12:56:29.15254+08:00 INFO [22060,23abb18f22a78368] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23abb18f22a78368, body={"processName":"ocp_agentd"}] 2023-05-15T12:56:29.18786+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="76.043µs" 2023-05-15T12:56:29.21557+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.7803ms 2023-05-15T12:56:29.2157+08:00 INFO [22060,23abb18f22a78368] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2181187}]" 2023-05-15T12:56:29.21582+08:00 INFO [22060,23abb18f22a78368] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23abb18f22a78368, duration=63.160901ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2181187}]}] 2023-05-15T12:56:29.78614+08:00 INFO [22060,a022fff1b05ca8c8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a022fff1b05ca8c8, body=] 2023-05-15T12:56:29.78622+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:56:29.78627+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:56:29.78629+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:56:29.78918+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:56:29.78926+08:00 INFO [22060,a022fff1b05ca8c8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a022fff1b05ca8c8, duration=3.021672ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:57:29.97105+08:00 INFO [22060,7ceb3920ca06e839] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7ceb3920ca06e839, body=] 2023-05-15T12:57:29.97116+08:00 INFO [22060,7ceb3920ca06e839] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7ceb3920ca06e839, duration=3.462µs, status=200, data=2023-05-15 12:57:29.971140065 +0800 CST m=+2241.175524095] 2023-05-15T12:57:30.07588+08:00 INFO [22060,969b8a0b3871e719] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=969b8a0b3871e719, body={"processName":"ocp_mgragent"}] 2023-05-15T12:57:30.11496+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="68.566µs" 2023-05-15T12:57:30.14205+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.152368ms 2023-05-15T12:57:30.14217+08:00 INFO [22060,969b8a0b3871e719] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242114}]" 2023-05-15T12:57:30.1423+08:00 INFO [22060,969b8a0b3871e719] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=969b8a0b3871e719, duration=66.288418ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242114}]}] 2023-05-15T12:57:30.23748+08:00 INFO [22060,67dfb0b855db199c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67dfb0b855db199c, body={"processName":"ocp_monagent"}] 2023-05-15T12:57:30.27605+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.11µs" 2023-05-15T12:57:30.3025+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.502487ms 2023-05-15T12:57:30.30258+08:00 INFO [22060,67dfb0b855db199c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242275}]" 2023-05-15T12:57:30.30266+08:00 INFO [22060,67dfb0b855db199c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=67dfb0b855db199c, duration=65.079484ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242275}]}] 2023-05-15T12:57:30.43744+08:00 INFO [22060,706bd011bf9a8d70] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=706bd011bf9a8d70, body={"processName":"ocp_agentd"}] 2023-05-15T12:57:30.48393+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.793µs" 2023-05-15T12:57:30.51449+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.606205ms 2023-05-15T12:57:30.5146+08:00 INFO [22060,706bd011bf9a8d70] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242483}]" 2023-05-15T12:57:30.51471+08:00 INFO [22060,706bd011bf9a8d70] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=706bd011bf9a8d70, duration=77.119651ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2242483}]}] 2023-05-15T12:57:31.19067+08:00 INFO [22060,daa456005a684176] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=daa456005a684176, body=] 2023-05-15T12:57:31.19081+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:57:31.19089+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:57:31.19096+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:57:31.19633+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:57:31.19645+08:00 INFO [22060,daa456005a684176] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=daa456005a684176, duration=5.608772ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:58:31.32058+08:00 INFO [22060,5893568505899bca] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5893568505899bca, body=] 2023-05-15T12:58:31.32083+08:00 INFO [22060,5893568505899bca] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5893568505899bca, duration=6.059µs, status=200, data=2023-05-15 12:58:31.320680744 +0800 CST m=+2302.525064778] 2023-05-15T12:58:31.46049+08:00 INFO [22060,e8d0cd02cc0c4116] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8d0cd02cc0c4116, body={"processName":"ocp_mgragent"}] 2023-05-15T12:58:31.50956+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="62.578µs" 2023-05-15T12:58:31.54058+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.074746ms 2023-05-15T12:58:31.5407+08:00 INFO [22060,e8d0cd02cc0c4116] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303509}]" 2023-05-15T12:58:31.54081+08:00 INFO [22060,e8d0cd02cc0c4116] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8d0cd02cc0c4116, duration=80.198562ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303509}]}] 2023-05-15T12:58:31.68691+08:00 INFO [22060,3c72acdf92f37227] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3c72acdf92f37227, body={"processName":"ocp_monagent"}] 2023-05-15T12:58:31.7349+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="124.833µs" 2023-05-15T12:58:31.76976+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=34.984833ms 2023-05-15T12:58:31.76985+08:00 INFO [22060,3c72acdf92f37227] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303734}]" 2023-05-15T12:58:31.76995+08:00 INFO [22060,3c72acdf92f37227] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3c72acdf92f37227, duration=82.908898ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303734}]}] 2023-05-15T12:58:31.87003+08:00 INFO [22060,e661cd5d9ffe212e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e661cd5d9ffe212e, body={"processName":"ocp_agentd"}] 2023-05-15T12:58:31.90976+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.558µs" 2023-05-15T12:58:31.94828+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=38.568653ms 2023-05-15T12:58:31.94838+08:00 INFO [22060,e661cd5d9ffe212e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303909}]" 2023-05-15T12:58:31.94848+08:00 INFO [22060,e661cd5d9ffe212e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e661cd5d9ffe212e, duration=78.286483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2303909}]}] 2023-05-15T12:58:32.4318+08:00 INFO [22060,859de96f2ef8eeff] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=859de96f2ef8eeff, body=] 2023-05-15T12:58:32.43188+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:58:32.43193+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:58:32.43196+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:58:32.43541+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:58:32.43552+08:00 INFO [22060,859de96f2ef8eeff] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=859de96f2ef8eeff, duration=3.613673ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:59:25.48916+08:00 INFO [22060,22207ecd48324152] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=22207ecd48324152, body={"processName":"observer"}] 2023-05-15T12:59:25.52319+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="47.231µs" 2023-05-15T12:59:25.57971+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=56.562597ms 2023-05-15T12:59:25.57984+08:00 INFO [22060,22207ecd48324152] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72960522}]" 2023-05-15T12:59:25.58045+08:00 INFO [22060,22207ecd48324152] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=22207ecd48324152, duration=91.187977ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72960522}]}] 2023-05-15T12:59:28.46696+08:00 INFO [22060,7181fdb957dc422b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7181fdb957dc422b, body={"processName":"observer"}] 2023-05-15T12:59:28.50398+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="47.669µs" 2023-05-15T12:59:28.55765+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=53.719868ms 2023-05-15T12:59:28.55776+08:00 INFO [22060,7181fdb957dc422b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72963503}]" 2023-05-15T12:59:28.55784+08:00 INFO [22060,7181fdb957dc422b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7181fdb957dc422b, duration=90.781147ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72963503}]}] 2023-05-15T12:59:32.60386+08:00 INFO [22060,832de0511fc971c1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=832de0511fc971c1, body=] 2023-05-15T12:59:32.60397+08:00 INFO [22060,832de0511fc971c1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=832de0511fc971c1, duration=3.987µs, status=200, data=2023-05-15 12:59:32.603942253 +0800 CST m=+2363.808326282] 2023-05-15T12:59:32.80264+08:00 INFO [22060,623375d57eba4eb5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=623375d57eba4eb5, body={"processName":"ocp_mgragent"}] 2023-05-15T12:59:32.83695+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.205µs" 2023-05-15T12:59:32.86472+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.830279ms 2023-05-15T12:59:32.86481+08:00 INFO [22060,623375d57eba4eb5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2364836}]" 2023-05-15T12:59:32.86492+08:00 INFO [22060,623375d57eba4eb5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=623375d57eba4eb5, duration=62.176436ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2364836}]}] 2023-05-15T12:59:33.06679+08:00 INFO [22060,3e45ef879ffec8c6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3e45ef879ffec8c6, body={"processName":"ocp_monagent"}] 2023-05-15T12:59:33.10108+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.218µs" 2023-05-15T12:59:33.127+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.973846ms 2023-05-15T12:59:33.12712+08:00 INFO [22060,3e45ef879ffec8c6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2365100}]" 2023-05-15T12:59:33.12722+08:00 INFO [22060,3e45ef879ffec8c6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3e45ef879ffec8c6, duration=60.335789ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2365100}]}] 2023-05-15T12:59:33.28768+08:00 INFO [22060,1670f8ce5bfd34a7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1670f8ce5bfd34a7, body={"processName":"ocp_agentd"}] 2023-05-15T12:59:33.3233+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="57.671µs" 2023-05-15T12:59:33.34914+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.893408ms 2023-05-15T12:59:33.34922+08:00 INFO [22060,1670f8ce5bfd34a7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2365323}]" 2023-05-15T12:59:33.34931+08:00 INFO [22060,1670f8ce5bfd34a7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1670f8ce5bfd34a7, duration=61.521704ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2365323}]}] 2023-05-15T12:59:34.05617+08:00 INFO [22060,a57894bc7979a00b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a57894bc7979a00b, body=] 2023-05-15T12:59:34.05626+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T12:59:34.05633+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T12:59:34.05637+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T12:59:34.05954+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T12:59:34.05963+08:00 INFO [22060,a57894bc7979a00b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a57894bc7979a00b, duration=3.343802ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T12:59:52.88497+08:00 INFO [22060,6897e0b23a304141] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6897e0b23a304141, body={"processName":"observer"}] 2023-05-15T12:59:52.92311+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="52.624µs" 2023-05-15T12:59:52.97598+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=52.92302ms 2023-05-15T12:59:52.97608+08:00 INFO [22060,6897e0b23a304141] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72987922}]" 2023-05-15T12:59:52.97617+08:00 INFO [22060,6897e0b23a304141] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6897e0b23a304141, duration=91.09666ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 72987922}]}] 2023-05-15T13:00:34.27019+08:00 INFO [22060,11044626d27aa315] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11044626d27aa315, body=] 2023-05-15T13:00:34.27029+08:00 INFO [22060,11044626d27aa315] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11044626d27aa315, duration=3.906µs, status=200, data=2023-05-15 13:00:34.270276854 +0800 CST m=+2425.474660883] 2023-05-15T13:00:34.563+08:00 INFO [22060,ed5f756ead3219c6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed5f756ead3219c6, body={"processName":"ocp_mgragent"}] 2023-05-15T13:00:34.60164+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.293µs" 2023-05-15T13:00:34.63275+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.165656ms 2023-05-15T13:00:34.63284+08:00 INFO [22060,ed5f756ead3219c6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426601}]" 2023-05-15T13:00:34.63294+08:00 INFO [22060,ed5f756ead3219c6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed5f756ead3219c6, duration=69.842094ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426601}]}] 2023-05-15T13:00:34.7797+08:00 INFO [22060,82ab7a5b306b8e1e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82ab7a5b306b8e1e, body={"processName":"ocp_monagent"}] 2023-05-15T13:00:34.81539+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.136µs" 2023-05-15T13:00:34.843+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.657602ms 2023-05-15T13:00:34.84313+08:00 INFO [22060,82ab7a5b306b8e1e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426815}]" 2023-05-15T13:00:34.84323+08:00 INFO [22060,82ab7a5b306b8e1e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82ab7a5b306b8e1e, duration=63.427796ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426815}]}] 2023-05-15T13:00:34.9419+08:00 INFO [22060,42cf8cf1d6761b7c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=42cf8cf1d6761b7c, body={"processName":"ocp_agentd"}] 2023-05-15T13:00:34.98198+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="55.183µs" 2023-05-15T13:00:35.00841+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.484911ms 2023-05-15T13:00:35.00849+08:00 INFO [22060,42cf8cf1d6761b7c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426981}]" 2023-05-15T13:00:35.00857+08:00 INFO [22060,42cf8cf1d6761b7c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=42cf8cf1d6761b7c, duration=66.574664ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2426981}]}] 2023-05-15T13:00:35.81296+08:00 INFO [22060,fbea1049e4879dc2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbea1049e4879dc2, body=] 2023-05-15T13:00:35.81305+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:00:35.81312+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:00:35.81316+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:00:35.81604+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:00:35.81615+08:00 INFO [22060,fbea1049e4879dc2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbea1049e4879dc2, duration=3.061759ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:00:36.47858+08:00 INFO [22060,298c5325850844b2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=298c5325850844b2, body={"processName":"observer"}] 2023-05-15T13:00:36.51691+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="172.205µs" 2023-05-15T13:00:36.5745+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=57.757999ms 2023-05-15T13:00:36.57464+08:00 INFO [22060,298c5325850844b2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73031516}]" 2023-05-15T13:00:36.57475+08:00 INFO [22060,298c5325850844b2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=298c5325850844b2, duration=96.058373ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73031516}]}] 2023-05-15T13:00:38.42548+08:00 INFO [22060,987bed5cfbfc4a4e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=987bed5cfbfc4a4e, body={"processName":"observer"}] 2023-05-15T13:00:38.46855+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="49.359µs" 2023-05-15T13:00:38.52329+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=54.786133ms 2023-05-15T13:00:38.52341+08:00 INFO [22060,987bed5cfbfc4a4e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73033468}]" 2023-05-15T13:00:38.5235+08:00 INFO [22060,987bed5cfbfc4a4e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=987bed5cfbfc4a4e, duration=97.888304ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73033468}]}] 2023-05-15T13:00:55.19215+08:00 INFO [22060,f3a78045d4a5435e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f3a78045d4a5435e, body={"processName":"observer"}] 2023-05-15T13:00:55.22727+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="197.432µs" 2023-05-15T13:00:55.27596+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=48.890253ms 2023-05-15T13:00:55.27608+08:00 INFO [22060,f3a78045d4a5435e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73050226}]" 2023-05-15T13:00:55.27617+08:00 INFO [22060,f3a78045d4a5435e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f3a78045d4a5435e, duration=83.927167ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73050226}]}] 2023-05-15T13:01:03.47755+08:00 INFO [22060,8e6b4fbc87f04047] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8e6b4fbc87f04047, body={"processName":"observer"}] 2023-05-15T13:01:03.51101+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration="47.33µs" 2023-05-15T13:01:03.56081+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8200/' || true; }, timeout=10s} fields: duration=49.842345ms 2023-05-15T13:01:03.56092+08:00 INFO [22060,8e6b4fbc87f04047] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73058510}]" 2023-05-15T13:01:03.56101+08:00 INFO [22060,8e6b4fbc87f04047] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8e6b4fbc87f04047, duration=83.347118ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8200, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-14 16:43:25 +0800 CST, elapsedTime: 73058510}]}] 2023-05-15T13:01:36.0123+08:00 INFO [22060,9fb64954b86284c2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fb64954b86284c2, body=] 2023-05-15T13:01:36.01241+08:00 INFO [22060,9fb64954b86284c2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fb64954b86284c2, duration=4.124µs, status=200, data=2023-05-15 13:01:36.012380261 +0800 CST m=+2487.216764290] 2023-05-15T13:01:36.21339+08:00 INFO [22060,61bcfd6076a3f30c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=61bcfd6076a3f30c, body={"processName":"ocp_mgragent"}] 2023-05-15T13:01:36.24887+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="57.425µs" 2023-05-15T13:01:36.27704+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.227303ms 2023-05-15T13:01:36.27712+08:00 INFO [22060,61bcfd6076a3f30c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488248}]" 2023-05-15T13:01:36.2772+08:00 INFO [22060,61bcfd6076a3f30c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=61bcfd6076a3f30c, duration=63.715668ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488248}]}] 2023-05-15T13:01:36.52498+08:00 INFO [22060,0fa51633ff362fdb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0fa51633ff362fdb, body={"processName":"ocp_monagent"}] 2023-05-15T13:01:36.56128+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="66.066µs" 2023-05-15T13:01:36.58898+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.766455ms 2023-05-15T13:01:36.58906+08:00 INFO [22060,0fa51633ff362fdb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488561}]" 2023-05-15T13:01:36.58913+08:00 INFO [22060,0fa51633ff362fdb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0fa51633ff362fdb, duration=64.058874ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488561}]}] 2023-05-15T13:01:36.7255+08:00 INFO [22060,851fcb474a5b90e4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=851fcb474a5b90e4, body={"processName":"ocp_agentd"}] 2023-05-15T13:01:36.76184+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.412µs" 2023-05-15T13:01:36.78862+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.829623ms 2023-05-15T13:01:36.78871+08:00 INFO [22060,851fcb474a5b90e4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488761}]" 2023-05-15T13:01:36.7888+08:00 INFO [22060,851fcb474a5b90e4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=851fcb474a5b90e4, duration=63.207069ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2488761}]}] 2023-05-15T13:01:37.44035+08:00 INFO [22060,8d24b05b79bb9344] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d24b05b79bb9344, body=] 2023-05-15T13:01:37.44042+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:01:37.44048+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:01:37.44051+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:01:37.44331+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:01:37.44338+08:00 INFO [22060,8d24b05b79bb9344] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d24b05b79bb9344, duration=2.941418ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:02:37.60864+08:00 INFO [22060,87110149ca859f06] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87110149ca859f06, body=] 2023-05-15T13:02:37.60875+08:00 INFO [22060,87110149ca859f06] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87110149ca859f06, duration=4.241µs, status=200, data=2023-05-15 13:02:37.608730742 +0800 CST m=+2548.813114771] 2023-05-15T13:02:37.76245+08:00 INFO [22060,737e1f8bf92ab749] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=737e1f8bf92ab749, body={"processName":"ocp_mgragent"}] 2023-05-15T13:02:37.80033+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="169.974µs" 2023-05-15T13:02:37.82742+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.254793ms 2023-05-15T13:02:37.82751+08:00 INFO [22060,737e1f8bf92ab749] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2549800}]" 2023-05-15T13:02:37.8276+08:00 INFO [22060,737e1f8bf92ab749] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=737e1f8bf92ab749, duration=65.035122ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2549800}]}] 2023-05-15T13:02:38.00076+08:00 INFO [22060,fdb1c884aa6c5789] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fdb1c884aa6c5789, body={"processName":"ocp_monagent"}] 2023-05-15T13:02:38.04487+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="80.264µs" 2023-05-15T13:02:38.08102+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=36.230104ms 2023-05-15T13:02:38.08111+08:00 INFO [22060,fdb1c884aa6c5789] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2550044}]" 2023-05-15T13:02:38.08119+08:00 INFO [22060,fdb1c884aa6c5789] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fdb1c884aa6c5789, duration=80.309932ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2550044}]}] 2023-05-15T13:02:38.24526+08:00 INFO [22060,f893fcafa1a2f5e2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f893fcafa1a2f5e2, body={"processName":"ocp_agentd"}] 2023-05-15T13:02:38.28248+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="51.077µs" 2023-05-15T13:02:38.31262+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.188442ms 2023-05-15T13:02:38.31269+08:00 INFO [22060,f893fcafa1a2f5e2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2550282}]" 2023-05-15T13:02:38.31277+08:00 INFO [22060,f893fcafa1a2f5e2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f893fcafa1a2f5e2, duration=67.413325ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2550282}]}] 2023-05-15T13:02:39.05564+08:00 INFO [22060,976af29ddc17641d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=976af29ddc17641d, body=] 2023-05-15T13:02:39.05573+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:02:39.05578+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:02:39.0558+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:02:39.05866+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:02:39.05876+08:00 INFO [22060,976af29ddc17641d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=976af29ddc17641d, duration=2.996689ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:03:39.32883+08:00 INFO [22060,99bc1258d4e7cadf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99bc1258d4e7cadf, body=] 2023-05-15T13:03:39.329+08:00 INFO [22060,99bc1258d4e7cadf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99bc1258d4e7cadf, duration=6.12µs, status=200, data=2023-05-15 13:03:39.328947106 +0800 CST m=+2610.533331137] 2023-05-15T13:03:39.52009+08:00 INFO [22060,07f8d665ba750131] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07f8d665ba750131, body={"processName":"ocp_mgragent"}] 2023-05-15T13:03:39.55605+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.116µs" 2023-05-15T13:03:39.58167+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.674421ms 2023-05-15T13:03:39.58176+08:00 INFO [22060,07f8d665ba750131] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611555}]" 2023-05-15T13:03:39.58184+08:00 INFO [22060,07f8d665ba750131] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07f8d665ba750131, duration=61.646704ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611555}]}] 2023-05-15T13:03:39.68008+08:00 INFO [22060,51350e4bb8d61272] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51350e4bb8d61272, body={"processName":"ocp_monagent"}] 2023-05-15T13:03:39.71379+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.758µs" 2023-05-15T13:03:39.74292+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.1777ms 2023-05-15T13:03:39.743+08:00 INFO [22060,51350e4bb8d61272] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611713}]" 2023-05-15T13:03:39.74309+08:00 INFO [22060,51350e4bb8d61272] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51350e4bb8d61272, duration=62.909116ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611713}]}] 2023-05-15T13:03:39.85139+08:00 INFO [22060,32ff2212efc83c71] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32ff2212efc83c71, body={"processName":"ocp_agentd"}] 2023-05-15T13:03:39.8855+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="194.253µs" 2023-05-15T13:03:39.91133+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.018563ms 2023-05-15T13:03:39.91141+08:00 INFO [22060,32ff2212efc83c71] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611885}]" 2023-05-15T13:03:39.9115+08:00 INFO [22060,32ff2212efc83c71] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32ff2212efc83c71, duration=59.989888ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2611885}]}] 2023-05-15T13:03:40.73503+08:00 INFO [22060,9ec443f8a79e04b4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9ec443f8a79e04b4, body=] 2023-05-15T13:03:40.73511+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:03:40.73515+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:03:40.73518+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:03:40.73915+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:03:40.73927+08:00 INFO [22060,9ec443f8a79e04b4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9ec443f8a79e04b4, duration=4.132572ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:04:40.87708+08:00 INFO [22060,fe4e08bf355eaf98] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe4e08bf355eaf98, body=] 2023-05-15T13:04:40.87722+08:00 INFO [22060,fe4e08bf355eaf98] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe4e08bf355eaf98, duration=5.151µs, status=200, data=2023-05-15 13:04:40.877188736 +0800 CST m=+2672.081572777] 2023-05-15T13:04:40.9859+08:00 INFO [22060,297d2e03e2eb39f3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=297d2e03e2eb39f3, body={"processName":"ocp_mgragent"}] 2023-05-15T13:04:41.02056+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.342µs" 2023-05-15T13:04:41.037+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=16.49389ms 2023-05-15T13:04:41.0371+08:00 INFO [22060,297d2e03e2eb39f3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673020}]" 2023-05-15T13:04:41.03718+08:00 INFO [22060,297d2e03e2eb39f3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=297d2e03e2eb39f3, duration=51.156528ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673020}]}] 2023-05-15T13:04:41.14194+08:00 INFO [22060,7e60424521baeee3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7e60424521baeee3, body={"processName":"ocp_monagent"}] 2023-05-15T13:04:41.17414+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.955µs" 2023-05-15T13:04:41.19164+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=17.552098ms 2023-05-15T13:04:41.19173+08:00 INFO [22060,7e60424521baeee3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673173}]" 2023-05-15T13:04:41.19181+08:00 INFO [22060,7e60424521baeee3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7e60424521baeee3, duration=49.757979ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673173}]}] 2023-05-15T13:04:41.2754+08:00 INFO [22060,f3d0553ba7176d1a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f3d0553ba7176d1a, body={"processName":"ocp_agentd"}] 2023-05-15T13:04:41.30675+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.795µs" 2023-05-15T13:04:41.32726+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=20.556805ms 2023-05-15T13:04:41.32735+08:00 INFO [22060,f3d0553ba7176d1a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673306}]" 2023-05-15T13:04:41.32743+08:00 INFO [22060,f3d0553ba7176d1a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f3d0553ba7176d1a, duration=51.922786ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2673306}]}] 2023-05-15T13:04:42.11663+08:00 INFO [22060,2590a9691108c350] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2590a9691108c350, body=] 2023-05-15T13:04:42.11672+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:04:42.11677+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:04:42.1168+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:04:42.11937+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:04:42.11945+08:00 INFO [22060,2590a9691108c350] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2590a9691108c350, duration=2.704925ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:05:42.28821+08:00 INFO [22060,14943812aeecc9a3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14943812aeecc9a3, body=] 2023-05-15T13:05:42.28861+08:00 INFO [22060,14943812aeecc9a3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14943812aeecc9a3, duration=7.099µs, status=200, data=2023-05-15 13:05:42.288573725 +0800 CST m=+2733.492957755] 2023-05-15T13:05:42.50241+08:00 INFO [22060,056e24e0a9228d24] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=056e24e0a9228d24, body={"processName":"ocp_mgragent"}] 2023-05-15T13:05:42.53452+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="213.07µs" 2023-05-15T13:05:42.55493+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=20.622793ms 2023-05-15T13:05:42.55502+08:00 INFO [22060,056e24e0a9228d24] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734534}]" 2023-05-15T13:05:42.55511+08:00 INFO [22060,056e24e0a9228d24] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=056e24e0a9228d24, duration=52.59172ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734534}]}] 2023-05-15T13:05:42.66659+08:00 INFO [22060,c9efb5165e0e39e7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c9efb5165e0e39e7, body={"processName":"ocp_monagent"}] 2023-05-15T13:05:42.70973+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.168µs" 2023-05-15T13:05:42.72739+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=17.726627ms 2023-05-15T13:05:42.7275+08:00 INFO [22060,c9efb5165e0e39e7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734709}]" 2023-05-15T13:05:42.7276+08:00 INFO [22060,c9efb5165e0e39e7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c9efb5165e0e39e7, duration=60.874779ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734709}]}] 2023-05-15T13:05:42.83511+08:00 INFO [22060,c47d2644fe422476] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c47d2644fe422476, body={"processName":"ocp_agentd"}] 2023-05-15T13:05:42.8674+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.528µs" 2023-05-15T13:05:42.88434+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=16.985141ms 2023-05-15T13:05:42.88442+08:00 INFO [22060,c47d2644fe422476] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734867}]" 2023-05-15T13:05:42.88449+08:00 INFO [22060,c47d2644fe422476] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c47d2644fe422476, duration=49.276912ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2734867}]}] 2023-05-15T13:05:43.44321+08:00 INFO [22060,d55c317041bc91e5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d55c317041bc91e5, body=] 2023-05-15T13:05:43.44329+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:05:43.44335+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:05:43.44337+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:05:43.4496+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:05:43.44971+08:00 INFO [22060,d55c317041bc91e5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d55c317041bc91e5, duration=6.3895ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:06:43.62141+08:00 INFO [22060,ca15cbcb02352767] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca15cbcb02352767, body=] 2023-05-15T13:06:43.62151+08:00 INFO [22060,ca15cbcb02352767] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca15cbcb02352767, duration=4.04µs, status=200, data=2023-05-15 13:06:43.621487228 +0800 CST m=+2794.825871261] 2023-05-15T13:06:43.79907+08:00 INFO [22060,dceb82573e6bbc69] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dceb82573e6bbc69, body={"processName":"ocp_mgragent"}] 2023-05-15T13:06:43.83334+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.654µs" 2023-05-15T13:06:43.85891+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.624569ms 2023-05-15T13:06:43.85899+08:00 INFO [22060,dceb82573e6bbc69] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2795833}]" 2023-05-15T13:06:43.85907+08:00 INFO [22060,dceb82573e6bbc69] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dceb82573e6bbc69, duration=59.911891ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2795833}]}] 2023-05-15T13:06:43.98069+08:00 INFO [22060,26a70c8724fdd5f5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=26a70c8724fdd5f5, body={"processName":"ocp_monagent"}] 2023-05-15T13:06:44.01953+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.007µs" 2023-05-15T13:06:44.0507+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=31.222063ms 2023-05-15T13:06:44.05078+08:00 INFO [22060,26a70c8724fdd5f5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2796019}]" 2023-05-15T13:06:44.05085+08:00 INFO [22060,26a70c8724fdd5f5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=26a70c8724fdd5f5, duration=70.063286ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2796019}]}] 2023-05-15T13:06:44.15889+08:00 INFO [22060,e3b8af6082f7b729] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e3b8af6082f7b729, body={"processName":"ocp_agentd"}] 2023-05-15T13:06:44.19378+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.833µs" 2023-05-15T13:06:44.21868+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.945847ms 2023-05-15T13:06:44.21877+08:00 INFO [22060,e3b8af6082f7b729] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2796193}]" 2023-05-15T13:06:44.21886+08:00 INFO [22060,e3b8af6082f7b729] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e3b8af6082f7b729, duration=59.851939ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2796193}]}] 2023-05-15T13:06:44.81146+08:00 INFO [22060,2f125b9a4e72cf0e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2f125b9a4e72cf0e, body=] 2023-05-15T13:06:44.81154+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:06:44.8116+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:06:44.81163+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:06:44.81439+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:06:44.81447+08:00 INFO [22060,2f125b9a4e72cf0e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2f125b9a4e72cf0e, duration=2.910722ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:07:44.95729+08:00 INFO [22060,e5bc1b036c3cf6d2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5bc1b036c3cf6d2, body=] 2023-05-15T13:07:44.95744+08:00 INFO [22060,e5bc1b036c3cf6d2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5bc1b036c3cf6d2, duration=5.612µs, status=200, data=2023-05-15 13:07:44.957400161 +0800 CST m=+2856.161784196] 2023-05-15T13:07:45.07011+08:00 INFO [22060,522926ceb860adc0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=522926ceb860adc0, body={"processName":"ocp_mgragent"}] 2023-05-15T13:07:45.11797+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="339.553µs" 2023-05-15T13:07:45.14434+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.714857ms 2023-05-15T13:07:45.14443+08:00 INFO [22060,522926ceb860adc0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857117}]" 2023-05-15T13:07:45.14452+08:00 INFO [22060,522926ceb860adc0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=522926ceb860adc0, duration=74.292108ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857117}]}] 2023-05-15T13:07:45.24013+08:00 INFO [22060,93356ed52d755231] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93356ed52d755231, body={"processName":"ocp_monagent"}] 2023-05-15T13:07:45.27591+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="78.92µs" 2023-05-15T13:07:45.3007+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.868549ms 2023-05-15T13:07:45.30078+08:00 INFO [22060,93356ed52d755231] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857275}]" 2023-05-15T13:07:45.30086+08:00 INFO [22060,93356ed52d755231] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93356ed52d755231, duration=60.632042ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857275}]}] 2023-05-15T13:07:45.37466+08:00 INFO [22060,6e58dc19ddb6291d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e58dc19ddb6291d, body={"processName":"ocp_agentd"}] 2023-05-15T13:07:45.40788+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="56.633µs" 2023-05-15T13:07:45.4326+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.778743ms 2023-05-15T13:07:45.43267+08:00 INFO [22060,6e58dc19ddb6291d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857407}]" 2023-05-15T13:07:45.43276+08:00 INFO [22060,6e58dc19ddb6291d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e58dc19ddb6291d, duration=58.015146ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2857407}]}] 2023-05-15T13:07:46.1309+08:00 INFO [22060,a873f0b768ea4e8d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a873f0b768ea4e8d, body=] 2023-05-15T13:07:46.13096+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:07:46.13102+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:07:46.13106+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:07:46.14361+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:07:46.1437+08:00 INFO [22060,a873f0b768ea4e8d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a873f0b768ea4e8d, duration=12.715412ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:08:46.33382+08:00 INFO [22060,4df1c92a7cc4f057] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4df1c92a7cc4f057, body=] 2023-05-15T13:08:46.33397+08:00 INFO [22060,4df1c92a7cc4f057] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4df1c92a7cc4f057, duration=4.03µs, status=200, data=2023-05-15 13:08:46.333930042 +0800 CST m=+2917.538314073] 2023-05-15T13:08:46.50166+08:00 INFO [22060,c7ff82c7ca037500] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c7ff82c7ca037500, body={"processName":"ocp_mgragent"}] 2023-05-15T13:08:46.53669+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="95.926µs" 2023-05-15T13:08:46.56367+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.082184ms 2023-05-15T13:08:46.56376+08:00 INFO [22060,c7ff82c7ca037500] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2918536}]" 2023-05-15T13:08:46.56385+08:00 INFO [22060,c7ff82c7ca037500] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c7ff82c7ca037500, duration=62.090842ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2918536}]}] 2023-05-15T13:08:46.81965+08:00 INFO [22060,1d6b10260fbc66f1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d6b10260fbc66f1, body={"processName":"ocp_monagent"}] 2023-05-15T13:08:46.85348+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.709µs" 2023-05-15T13:08:46.88114+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.71075ms 2023-05-15T13:08:46.88124+08:00 INFO [22060,1d6b10260fbc66f1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2918853}]" 2023-05-15T13:08:46.88133+08:00 INFO [22060,1d6b10260fbc66f1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d6b10260fbc66f1, duration=61.585017ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2918853}]}] 2023-05-15T13:08:47.00024+08:00 INFO [22060,ed37d75c1fba265b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed37d75c1fba265b, body={"processName":"ocp_agentd"}] 2023-05-15T13:08:47.03504+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="83.967µs" 2023-05-15T13:08:47.06023+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.276194ms 2023-05-15T13:08:47.06031+08:00 INFO [22060,ed37d75c1fba265b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2919034}]" 2023-05-15T13:08:47.0604+08:00 INFO [22060,ed37d75c1fba265b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed37d75c1fba265b, duration=60.056315ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2919034}]}] 2023-05-15T13:08:47.84463+08:00 INFO [22060,c86abddad638cbc1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c86abddad638cbc1, body=] 2023-05-15T13:08:47.84471+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:08:47.84476+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:08:47.84479+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:08:47.84792+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:08:47.848+08:00 INFO [22060,c86abddad638cbc1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c86abddad638cbc1, duration=3.266117ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:09:11.57443+08:00 INFO [22060,e8ee1afe071849fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8ee1afe071849fb, body={"processName":"observer"}] 2023-05-15T13:09:11.61394+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="52.434µs" 2023-05-15T13:09:11.67639+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=62.500627ms 2023-05-15T13:09:11.67654+08:00 INFO [22060,e8ee1afe071849fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 204613}]" 2023-05-15T13:09:11.67666+08:00 INFO [22060,e8ee1afe071849fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8ee1afe071849fb, duration=102.122952ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 204613}]}] 2023-05-15T13:09:13.61351+08:00 INFO [22060,cf2a5b12dc2b461c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf2a5b12dc2b461c, body={"processName":"observer"}] 2023-05-15T13:09:13.65212+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="52.517µs" 2023-05-15T13:09:13.70129+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=49.220438ms 2023-05-15T13:09:13.70139+08:00 INFO [22060,cf2a5b12dc2b461c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 206651}]" 2023-05-15T13:09:13.70147+08:00 INFO [22060,cf2a5b12dc2b461c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf2a5b12dc2b461c, duration=87.866067ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 206651}]}] 2023-05-15T13:09:48.00246+08:00 INFO [22060,bf48bdf9c24334b2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bf48bdf9c24334b2, body=] 2023-05-15T13:09:48.00262+08:00 INFO [22060,bf48bdf9c24334b2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bf48bdf9c24334b2, duration=5.382µs, status=200, data=2023-05-15 13:09:48.0025929 +0800 CST m=+2979.206976931] 2023-05-15T13:09:48.18539+08:00 INFO [22060,8a7009561d8e1755] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a7009561d8e1755, body={"processName":"ocp_mgragent"}] 2023-05-15T13:09:48.22708+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="79.521µs" 2023-05-15T13:09:48.25616+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=29.157792ms 2023-05-15T13:09:48.25626+08:00 INFO [22060,8a7009561d8e1755] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980226}]" 2023-05-15T13:09:48.25635+08:00 INFO [22060,8a7009561d8e1755] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a7009561d8e1755, duration=70.827438ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980226}]}] 2023-05-15T13:09:48.40383+08:00 INFO [22060,d51e9096eedb20d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d51e9096eedb20d6, body={"processName":"ocp_monagent"}] 2023-05-15T13:09:48.43756+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.197µs" 2023-05-15T13:09:48.46216+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.646546ms 2023-05-15T13:09:48.46225+08:00 INFO [22060,d51e9096eedb20d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980437}]" 2023-05-15T13:09:48.46233+08:00 INFO [22060,d51e9096eedb20d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d51e9096eedb20d6, duration=58.392318ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980437}]}] 2023-05-15T13:09:48.55031+08:00 INFO [22060,5bf72f430b7d8360] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5bf72f430b7d8360, body={"processName":"ocp_agentd"}] 2023-05-15T13:09:48.58608+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="69.596µs" 2023-05-15T13:09:48.61369+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.67495ms 2023-05-15T13:09:48.61379+08:00 INFO [22060,5bf72f430b7d8360] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980585}]" 2023-05-15T13:09:48.61389+08:00 INFO [22060,5bf72f430b7d8360] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5bf72f430b7d8360, duration=63.473916ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 2980585}]}] 2023-05-15T13:09:49.03439+08:00 INFO [22060,8e749b70ec949737] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8e749b70ec949737, body=] 2023-05-15T13:09:49.03449+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:09:49.03455+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:09:49.03459+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:09:49.03788+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:09:49.03797+08:00 INFO [22060,8e749b70ec949737] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8e749b70ec949737, duration=3.455334ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:10:49.19082+08:00 INFO [22060,3cc8a8d364f2d6f8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cc8a8d364f2d6f8, body=] 2023-05-15T13:10:49.19094+08:00 INFO [22060,3cc8a8d364f2d6f8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cc8a8d364f2d6f8, duration=4.016µs, status=200, data=2023-05-15 13:10:49.190926425 +0800 CST m=+3040.395310457] 2023-05-15T13:10:49.32566+08:00 INFO [22060,ec72605b76525c20] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec72605b76525c20, body={"processName":"ocp_mgragent"}] 2023-05-15T13:10:49.36391+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="108.875µs" 2023-05-15T13:10:49.38936+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.560456ms 2023-05-15T13:10:49.38947+08:00 INFO [22060,ec72605b76525c20] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041361}]" 2023-05-15T13:10:49.38957+08:00 INFO [22060,ec72605b76525c20] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec72605b76525c20, duration=63.802452ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041361}]}] 2023-05-15T13:10:49.44809+08:00 INFO [22060,07c0617ab00cd5b2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07c0617ab00cd5b2, body={"processName":"ocp_monagent"}] 2023-05-15T13:10:49.49661+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.308µs" 2023-05-15T13:10:49.52618+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.620611ms 2023-05-15T13:10:49.52627+08:00 INFO [22060,07c0617ab00cd5b2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041496}]" 2023-05-15T13:10:49.52635+08:00 INFO [22060,07c0617ab00cd5b2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07c0617ab00cd5b2, duration=78.121498ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041496}]}] 2023-05-15T13:10:49.65274+08:00 INFO [22060,4d11e48dc9da34d4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d11e48dc9da34d4, body={"processName":"ocp_agentd"}] 2023-05-15T13:10:49.68766+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.158µs" 2023-05-15T13:10:49.714+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.387468ms 2023-05-15T13:10:49.71408+08:00 INFO [22060,4d11e48dc9da34d4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041687}]" 2023-05-15T13:10:49.71416+08:00 INFO [22060,4d11e48dc9da34d4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d11e48dc9da34d4, duration=61.318224ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3041687}]}] 2023-05-15T13:10:50.35445+08:00 INFO [22060,01c4ce5cc5bcda75] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=01c4ce5cc5bcda75, body=] 2023-05-15T13:10:50.35455+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:10:50.3546+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:10:50.35462+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:10:50.35737+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:10:50.35745+08:00 INFO [22060,01c4ce5cc5bcda75] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=01c4ce5cc5bcda75, duration=2.877653ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:11:00.71606+08:00 INFO [22060,0f02a6a11ec7401f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f02a6a11ec7401f, body={"processName":"observer"}] 2023-05-15T13:11:00.75083+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="256.796µs" 2023-05-15T13:11:00.81007+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=59.495104ms 2023-05-15T13:11:00.8102+08:00 INFO [22060,0f02a6a11ec7401f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 313750}]" 2023-05-15T13:11:00.81031+08:00 INFO [22060,0f02a6a11ec7401f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f02a6a11ec7401f, duration=94.13342ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 313750}]}] 2023-05-15T13:11:02.40914+08:00 INFO [22060,cdcddc8e196c40cc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cdcddc8e196c40cc, body={"processName":"observer"}] 2023-05-15T13:11:02.44456+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="48.884µs" 2023-05-15T13:11:02.50294+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=58.429079ms 2023-05-15T13:11:02.50307+08:00 INFO [22060,cdcddc8e196c40cc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 315444}]" 2023-05-15T13:11:02.50321+08:00 INFO [22060,cdcddc8e196c40cc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cdcddc8e196c40cc, duration=93.970133ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 315444}]}] 2023-05-15T13:11:50.5889+08:00 INFO [22060,6b2a52d11639a53b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b2a52d11639a53b, body=] 2023-05-15T13:11:50.58904+08:00 INFO [22060,6b2a52d11639a53b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b2a52d11639a53b, duration=4.174µs, status=200, data=2023-05-15 13:11:50.588985666 +0800 CST m=+3101.793369695] 2023-05-15T13:11:50.73089+08:00 INFO [22060,ec8554244e26b2b7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec8554244e26b2b7, body={"processName":"ocp_mgragent"}] 2023-05-15T13:11:50.76621+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.507µs" 2023-05-15T13:11:50.79332+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.166506ms 2023-05-15T13:11:50.79343+08:00 INFO [22060,ec8554244e26b2b7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3102766}]" 2023-05-15T13:11:50.79353+08:00 INFO [22060,ec8554244e26b2b7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec8554244e26b2b7, duration=62.480788ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3102766}]}] 2023-05-15T13:11:50.91007+08:00 INFO [22060,66ea0910d2dacd5b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=66ea0910d2dacd5b, body={"processName":"ocp_monagent"}] 2023-05-15T13:11:50.94583+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="55.549µs" 2023-05-15T13:11:50.97124+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.46977ms 2023-05-15T13:11:50.97133+08:00 INFO [22060,66ea0910d2dacd5b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3102945}]" 2023-05-15T13:11:50.97141+08:00 INFO [22060,66ea0910d2dacd5b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=66ea0910d2dacd5b, duration=61.226372ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3102945}]}] 2023-05-15T13:11:51.0998+08:00 INFO [22060,280128a6b1bf94f1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=280128a6b1bf94f1, body={"processName":"ocp_agentd"}] 2023-05-15T13:11:51.13371+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="58.021µs" 2023-05-15T13:11:51.15912+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.471971ms 2023-05-15T13:11:51.15923+08:00 INFO [22060,280128a6b1bf94f1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3103133}]" 2023-05-15T13:11:51.15933+08:00 INFO [22060,280128a6b1bf94f1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=280128a6b1bf94f1, duration=59.416014ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3103133}]}] 2023-05-15T13:11:52.47804+08:00 INFO [22060,766f9e21db859603] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=766f9e21db859603, body=] 2023-05-15T13:11:52.47814+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:11:52.47819+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:11:52.47822+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:11:52.48161+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:11:52.4817+08:00 INFO [22060,766f9e21db859603] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=766f9e21db859603, duration=3.529721ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:12:52.6738+08:00 INFO [22060,3995e5fbe1af65b6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3995e5fbe1af65b6, body=] 2023-05-15T13:12:52.67392+08:00 INFO [22060,3995e5fbe1af65b6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3995e5fbe1af65b6, duration=3.724µs, status=200, data=2023-05-15 13:12:52.673898182 +0800 CST m=+3163.878282211] 2023-05-15T13:12:52.94557+08:00 INFO [22060,a2ac84be8b1511ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a2ac84be8b1511ee, body={"processName":"ocp_mgragent"}] 2023-05-15T13:12:52.9784+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="60.148µs" 2023-05-15T13:12:53.00456+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.22191ms 2023-05-15T13:12:53.0047+08:00 INFO [22060,a2ac84be8b1511ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3164978}]" 2023-05-15T13:12:53.0048+08:00 INFO [22060,a2ac84be8b1511ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a2ac84be8b1511ee, duration=59.114319ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3164978}]}] 2023-05-15T13:12:53.19132+08:00 INFO [22060,c19e9f084cfb5483] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c19e9f084cfb5483, body={"processName":"ocp_monagent"}] 2023-05-15T13:12:53.22545+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.295µs" 2023-05-15T13:12:53.2547+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.314997ms 2023-05-15T13:12:53.25484+08:00 INFO [22060,c19e9f084cfb5483] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3165225}]" 2023-05-15T13:12:53.25501+08:00 INFO [22060,c19e9f084cfb5483] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c19e9f084cfb5483, duration=63.561644ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3165225}]}] 2023-05-15T13:12:53.49288+08:00 INFO [22060,f9e6970910772494] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f9e6970910772494, body={"processName":"ocp_agentd"}] 2023-05-15T13:12:53.5311+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="68.511µs" 2023-05-15T13:12:53.55646+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.428434ms 2023-05-15T13:12:53.55655+08:00 INFO [22060,f9e6970910772494] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3165530}]" 2023-05-15T13:12:53.55663+08:00 INFO [22060,f9e6970910772494] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f9e6970910772494, duration=63.658373ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3165530}]}] 2023-05-15T13:12:54.23297+08:00 INFO [22060,b11d99e6acb6c477] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b11d99e6acb6c477, body=] 2023-05-15T13:12:54.23304+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:12:54.2331+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:12:54.23312+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:12:54.23566+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:12:54.23573+08:00 INFO [22060,b11d99e6acb6c477] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b11d99e6acb6c477, duration=2.673723ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:13:54.39564+08:00 INFO [22060,612d93058af1050f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=612d93058af1050f, body=] 2023-05-15T13:13:54.3958+08:00 INFO [22060,612d93058af1050f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=612d93058af1050f, duration=7.025µs, status=200, data=2023-05-15 13:13:54.395777728 +0800 CST m=+3225.600161757] 2023-05-15T13:13:54.56499+08:00 INFO [22060,aeb9c5bc012873f3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aeb9c5bc012873f3, body={"processName":"ocp_mgragent"}] 2023-05-15T13:13:54.6028+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.547µs" 2023-05-15T13:13:54.6299+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.155051ms 2023-05-15T13:13:54.63002+08:00 INFO [22060,aeb9c5bc012873f3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226602}]" 2023-05-15T13:13:54.63014+08:00 INFO [22060,aeb9c5bc012873f3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aeb9c5bc012873f3, duration=65.052337ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226602}]}] 2023-05-15T13:13:54.73333+08:00 INFO [22060,d3558109f542cb70] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d3558109f542cb70, body={"processName":"ocp_monagent"}] 2023-05-15T13:13:54.77468+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.316µs" 2023-05-15T13:13:54.80391+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.278249ms 2023-05-15T13:13:54.804+08:00 INFO [22060,d3558109f542cb70] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226774}]" 2023-05-15T13:13:54.80408+08:00 INFO [22060,d3558109f542cb70] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d3558109f542cb70, duration=70.633175ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226774}]}] 2023-05-15T13:13:54.90846+08:00 INFO [22060,ab2ade17c1a7caca] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ab2ade17c1a7caca, body={"processName":"ocp_agentd"}] 2023-05-15T13:13:54.95291+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="155.568µs" 2023-05-15T13:13:54.97887+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.118936ms 2023-05-15T13:13:54.97898+08:00 INFO [22060,ab2ade17c1a7caca] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226952}]" 2023-05-15T13:13:54.97907+08:00 INFO [22060,ab2ade17c1a7caca] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ab2ade17c1a7caca, duration=70.506861ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3226952}]}] 2023-05-15T13:13:55.7305+08:00 INFO [22060,c96fe6e09604d3bf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c96fe6e09604d3bf, body=] 2023-05-15T13:13:55.73061+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:13:55.73069+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:13:55.73072+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:13:55.73511+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:13:55.73528+08:00 INFO [22060,c96fe6e09604d3bf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c96fe6e09604d3bf, duration=4.636263ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:14:55.87729+08:00 INFO [22060,d800d6f300e27251] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d800d6f300e27251, body=] 2023-05-15T13:14:55.87741+08:00 INFO [22060,d800d6f300e27251] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d800d6f300e27251, duration=4.367µs, status=200, data=2023-05-15 13:14:55.877386514 +0800 CST m=+3287.081770544] 2023-05-15T13:14:56.00039+08:00 INFO [22060,92ce968025d2770f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92ce968025d2770f, body={"processName":"ocp_mgragent"}] 2023-05-15T13:14:56.04217+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.747µs" 2023-05-15T13:14:56.06802+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.900664ms 2023-05-15T13:14:56.0681+08:00 INFO [22060,92ce968025d2770f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288042}]" 2023-05-15T13:14:56.06818+08:00 INFO [22060,92ce968025d2770f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92ce968025d2770f, duration=67.671386ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288042}]}] 2023-05-15T13:14:56.13977+08:00 INFO [22060,28e8ecaf2a72c3b1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28e8ecaf2a72c3b1, body={"processName":"ocp_monagent"}] 2023-05-15T13:14:56.1741+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.2µs" 2023-05-15T13:14:56.20475+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.700334ms 2023-05-15T13:14:56.20485+08:00 INFO [22060,28e8ecaf2a72c3b1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288173}]" 2023-05-15T13:14:56.20495+08:00 INFO [22060,28e8ecaf2a72c3b1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28e8ecaf2a72c3b1, duration=65.089204ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288173}]}] 2023-05-15T13:14:56.27589+08:00 INFO [22060,beac48d3e3fbcf2b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=beac48d3e3fbcf2b, body={"processName":"ocp_agentd"}] 2023-05-15T13:14:56.31178+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.064µs" 2023-05-15T13:14:56.33911+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.375838ms 2023-05-15T13:14:56.33919+08:00 INFO [22060,beac48d3e3fbcf2b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288311}]" 2023-05-15T13:14:56.33926+08:00 INFO [22060,beac48d3e3fbcf2b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=beac48d3e3fbcf2b, duration=63.273309ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3288311}]}] 2023-05-15T13:14:57.0135+08:00 INFO [22060,4a394132f9d0f997] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a394132f9d0f997, body=] 2023-05-15T13:14:57.01357+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:14:57.01363+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:14:57.01366+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:14:57.01625+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:14:57.01633+08:00 INFO [22060,4a394132f9d0f997] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a394132f9d0f997, duration=2.742096ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:15:57.1436+08:00 INFO [22060,35a52b1d5f67a9c8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35a52b1d5f67a9c8, body=] 2023-05-15T13:15:57.1437+08:00 INFO [22060,35a52b1d5f67a9c8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35a52b1d5f67a9c8, duration=4.152µs, status=200, data=2023-05-15 13:15:57.143679908 +0800 CST m=+3348.348063941] 2023-05-15T13:15:57.29541+08:00 INFO [22060,fa04434723ab0e7d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa04434723ab0e7d, body={"processName":"ocp_mgragent"}] 2023-05-15T13:15:57.3323+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="71.899µs" 2023-05-15T13:15:57.35989+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.661085ms 2023-05-15T13:15:57.35998+08:00 INFO [22060,fa04434723ab0e7d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349332}]" 2023-05-15T13:15:57.36008+08:00 INFO [22060,fa04434723ab0e7d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa04434723ab0e7d, duration=64.573677ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349332}]}] 2023-05-15T13:15:57.4203+08:00 INFO [22060,36c1b97b1e45499d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=36c1b97b1e45499d, body={"processName":"ocp_monagent"}] 2023-05-15T13:15:57.45793+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.539µs" 2023-05-15T13:15:57.49074+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.867117ms 2023-05-15T13:15:57.49085+08:00 INFO [22060,36c1b97b1e45499d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349457}]" 2023-05-15T13:15:57.49097+08:00 INFO [22060,36c1b97b1e45499d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=36c1b97b1e45499d, duration=70.555742ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349457}]}] 2023-05-15T13:15:57.55478+08:00 INFO [22060,fa91b72a05bff6e1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa91b72a05bff6e1, body={"processName":"ocp_agentd"}] 2023-05-15T13:15:57.58738+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="56.833µs" 2023-05-15T13:15:57.61367+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.354579ms 2023-05-15T13:15:57.61376+08:00 INFO [22060,fa91b72a05bff6e1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349587}]" 2023-05-15T13:15:57.61383+08:00 INFO [22060,fa91b72a05bff6e1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa91b72a05bff6e1, duration=58.960754ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3349587}]}] 2023-05-15T13:15:58.41501+08:00 INFO [22060,9c8e4cd875041365] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c8e4cd875041365, body=] 2023-05-15T13:15:58.4151+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:15:58.41516+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:15:58.41522+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:15:58.41824+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:15:58.41833+08:00 INFO [22060,9c8e4cd875041365] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c8e4cd875041365, duration=3.210754ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:15:59.01221+08:00 INFO [22060,bc387cc1a5f848cb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc387cc1a5f848cb, body={"processName":"observer"}] 2023-05-15T13:15:59.04778+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="109.105µs" 2023-05-15T13:15:59.09978+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=52.107595ms 2023-05-15T13:15:59.09994+08:00 INFO [22060,bc387cc1a5f848cb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 612046}]" 2023-05-15T13:15:59.10007+08:00 INFO [22060,bc387cc1a5f848cb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc387cc1a5f848cb, duration=87.749233ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 612046}]}] 2023-05-15T13:16:58.55766+08:00 INFO [22060,4d6b8d356d9cde21] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d6b8d356d9cde21, body=] 2023-05-15T13:16:58.55778+08:00 INFO [22060,4d6b8d356d9cde21] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d6b8d356d9cde21, duration=4.607µs, status=200, data=2023-05-15 13:16:58.557750709 +0800 CST m=+3409.762134739] 2023-05-15T13:16:58.7027+08:00 INFO [22060,84a250511697e410] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84a250511697e410, body={"processName":"ocp_mgragent"}] 2023-05-15T13:16:58.73818+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.379µs" 2023-05-15T13:16:58.76375+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.614412ms 2023-05-15T13:16:58.76384+08:00 INFO [22060,84a250511697e410] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3410738}]" 2023-05-15T13:16:58.76395+08:00 INFO [22060,84a250511697e410] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84a250511697e410, duration=61.144796ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3410738}]}] 2023-05-15T13:16:58.87612+08:00 INFO [22060,6ca2ccd2c41a689a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6ca2ccd2c41a689a, body={"processName":"ocp_monagent"}] 2023-05-15T13:16:58.9135+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="56.534µs" 2023-05-15T13:16:58.93807+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.623601ms 2023-05-15T13:16:58.93815+08:00 INFO [22060,6ca2ccd2c41a689a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3410913}]" 2023-05-15T13:16:58.93823+08:00 INFO [22060,6ca2ccd2c41a689a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6ca2ccd2c41a689a, duration=62.00619ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3410913}]}] 2023-05-15T13:16:59.03567+08:00 INFO [22060,39d2a33602bed5ed] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39d2a33602bed5ed, body={"processName":"ocp_agentd"}] 2023-05-15T13:16:59.0685+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.581µs" 2023-05-15T13:16:59.09462+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.161282ms 2023-05-15T13:16:59.0947+08:00 INFO [22060,39d2a33602bed5ed] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3411068}]" 2023-05-15T13:16:59.09478+08:00 INFO [22060,39d2a33602bed5ed] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39d2a33602bed5ed, duration=59.001588ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3411068}]}] 2023-05-15T13:16:59.76286+08:00 INFO [22060,287151c765ebfcd1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=287151c765ebfcd1, body=] 2023-05-15T13:16:59.76295+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:16:59.76302+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:16:59.76305+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:16:59.7662+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:16:59.76628+08:00 INFO [22060,287151c765ebfcd1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=287151c765ebfcd1, duration=3.301186ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:17:16.74909+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.74922+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=6.219µs, status=200, data=2023-05-15 13:17:16.749195591 +0800 CST m=+3427.953579633] 2023-05-15T13:17:16.75044+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75053+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=5.169µs, status=200, data=2023-05-15 13:17:16.750515921 +0800 CST m=+3427.954899956] 2023-05-15T13:17:16.75148+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75156+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=4.155µs, status=200, data=2023-05-15 13:17:16.751545465 +0800 CST m=+3427.955929503] 2023-05-15T13:17:16.7523+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75237+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=3.399µs, status=200, data=2023-05-15 13:17:16.752353698 +0800 CST m=+3427.956737741] 2023-05-15T13:17:16.75297+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75304+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=7.803µs, status=200, data=2023-05-15 13:17:16.753022994 +0800 CST m=+3427.957407031] 2023-05-15T13:17:16.75389+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75395+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=4.519µs, status=200, data=2023-05-15 13:17:16.753940662 +0800 CST m=+3427.958324693] 2023-05-15T13:17:16.75469+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, body=] 2023-05-15T13:17:16.75474+08:00 INFO [22060,adc3e3e3d77e445c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adc3e3e3d77e445c, duration=3.947µs, status=200, data=2023-05-15 13:17:16.754729059 +0800 CST m=+3427.959113092] 2023-05-15T13:17:59.90284+08:00 INFO [22060,12eea6279c32fc26] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=12eea6279c32fc26, body=] 2023-05-15T13:17:59.90296+08:00 INFO [22060,12eea6279c32fc26] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=12eea6279c32fc26, duration=4.123µs, status=200, data=2023-05-15 13:17:59.902947377 +0800 CST m=+3471.107331406] 2023-05-15T13:18:00.01555+08:00 INFO [22060,6eee8f00fea6003a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6eee8f00fea6003a, body={"processName":"ocp_mgragent"}] 2023-05-15T13:18:00.05062+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="208.379µs" 2023-05-15T13:18:00.07661+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.2015ms 2023-05-15T13:18:00.0767+08:00 INFO [22060,6eee8f00fea6003a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472050}]" 2023-05-15T13:18:00.07678+08:00 INFO [22060,6eee8f00fea6003a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6eee8f00fea6003a, duration=61.122857ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472050}]}] 2023-05-15T13:18:00.20646+08:00 INFO [22060,71f20993e599a5be] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71f20993e599a5be, body={"processName":"ocp_monagent"}] 2023-05-15T13:18:00.24106+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.811µs" 2023-05-15T13:18:00.27366+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.655278ms 2023-05-15T13:18:00.27374+08:00 INFO [22060,71f20993e599a5be] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472240}]" 2023-05-15T13:18:00.27382+08:00 INFO [22060,71f20993e599a5be] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71f20993e599a5be, duration=67.26178ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472240}]}] 2023-05-15T13:18:00.37334+08:00 INFO [22060,e8a2a56071f10890] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8a2a56071f10890, body={"processName":"ocp_agentd"}] 2023-05-15T13:18:00.41407+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="51.267µs" 2023-05-15T13:18:00.43856+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.540697ms 2023-05-15T13:18:00.43864+08:00 INFO [22060,e8a2a56071f10890] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472413}]" 2023-05-15T13:18:00.43872+08:00 INFO [22060,e8a2a56071f10890] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e8a2a56071f10890, duration=65.279403ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3472413}]}] 2023-05-15T13:18:00.98707+08:00 INFO [22060,e0485e7c00cec4d9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e0485e7c00cec4d9, body=] 2023-05-15T13:18:00.98715+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:18:00.98719+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:18:00.98721+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:18:00.99033+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:18:00.9904+08:00 INFO [22060,e0485e7c00cec4d9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e0485e7c00cec4d9, duration=3.23457ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:19:01.11132+08:00 INFO [22060,cd19f17dede79469] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cd19f17dede79469, body=] 2023-05-15T13:19:01.11141+08:00 INFO [22060,cd19f17dede79469] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cd19f17dede79469, duration=4.458µs, status=200, data=2023-05-15 13:19:01.111387216 +0800 CST m=+3532.315771245] 2023-05-15T13:19:01.20801+08:00 INFO [22060,6247f14dedd82b15] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6247f14dedd82b15, body={"processName":"ocp_mgragent"}] 2023-05-15T13:19:01.24841+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.487µs" 2023-05-15T13:19:01.27554+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.178196ms 2023-05-15T13:19:01.27565+08:00 INFO [22060,6247f14dedd82b15] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533248}]" 2023-05-15T13:19:01.27574+08:00 INFO [22060,6247f14dedd82b15] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6247f14dedd82b15, duration=67.579847ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533248}]}] 2023-05-15T13:19:01.34217+08:00 INFO [22060,7d53940e9b044dc2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7d53940e9b044dc2, body={"processName":"ocp_monagent"}] 2023-05-15T13:19:01.37658+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.999µs" 2023-05-15T13:19:01.40035+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.811892ms 2023-05-15T13:19:01.40042+08:00 INFO [22060,7d53940e9b044dc2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533376}]" 2023-05-15T13:19:01.4005+08:00 INFO [22060,7d53940e9b044dc2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7d53940e9b044dc2, duration=58.236939ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533376}]}] 2023-05-15T13:19:01.49277+08:00 INFO [22060,4ef478b4ea948e96] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4ef478b4ea948e96, body={"processName":"ocp_agentd"}] 2023-05-15T13:19:01.52981+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="162.746µs" 2023-05-15T13:19:01.55841+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.764077ms 2023-05-15T13:19:01.55849+08:00 INFO [22060,4ef478b4ea948e96] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533529}]" 2023-05-15T13:19:01.55858+08:00 INFO [22060,4ef478b4ea948e96] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4ef478b4ea948e96, duration=65.699787ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3533529}]}] 2023-05-15T13:19:02.18213+08:00 INFO [22060,1388c352090cdfa7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1388c352090cdfa7, body=] 2023-05-15T13:19:02.1822+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:19:02.18225+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:19:02.18227+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:19:02.18465+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:19:02.18472+08:00 INFO [22060,1388c352090cdfa7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1388c352090cdfa7, duration=2.496357ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:20:02.33118+08:00 INFO [22060,670bd5d8091ec359] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670bd5d8091ec359, body=] 2023-05-15T13:20:02.3313+08:00 INFO [22060,670bd5d8091ec359] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670bd5d8091ec359, duration=4.511µs, status=200, data=2023-05-15 13:20:02.331281669 +0800 CST m=+3593.535665700] 2023-05-15T13:20:02.47381+08:00 INFO [22060,813cfe0bc4e4b4aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=813cfe0bc4e4b4aa, body={"processName":"ocp_mgragent"}] 2023-05-15T13:20:02.51194+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.456µs" 2023-05-15T13:20:02.5387+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.808839ms 2023-05-15T13:20:02.53878+08:00 INFO [22060,813cfe0bc4e4b4aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594511}]" 2023-05-15T13:20:02.5389+08:00 INFO [22060,813cfe0bc4e4b4aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=813cfe0bc4e4b4aa, duration=64.939469ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594511}]}] 2023-05-15T13:20:02.65719+08:00 INFO [22060,d268fa5b098677d3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d268fa5b098677d3, body={"processName":"ocp_monagent"}] 2023-05-15T13:20:02.70241+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="71.912µs" 2023-05-15T13:20:02.73272+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.381817ms 2023-05-15T13:20:02.73281+08:00 INFO [22060,d268fa5b098677d3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594702}]" 2023-05-15T13:20:02.73291+08:00 INFO [22060,d268fa5b098677d3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d268fa5b098677d3, duration=75.59125ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594702}]}] 2023-05-15T13:20:02.90761+08:00 INFO [22060,ca2971f052f91146] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca2971f052f91146, body={"processName":"ocp_agentd"}] 2023-05-15T13:20:02.94438+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.473µs" 2023-05-15T13:20:02.97641+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=32.072622ms 2023-05-15T13:20:02.97649+08:00 INFO [22060,ca2971f052f91146] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594944}]" 2023-05-15T13:20:02.97656+08:00 INFO [22060,ca2971f052f91146] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca2971f052f91146, duration=68.857949ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3594944}]}] 2023-05-15T13:20:04.03447+08:00 INFO [22060,cfef0a0d36c33f09] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cfef0a0d36c33f09, body=] 2023-05-15T13:20:04.03456+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:20:04.03461+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:20:04.03463+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:20:04.03736+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:20:04.03744+08:00 INFO [22060,cfef0a0d36c33f09] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cfef0a0d36c33f09, duration=2.861498ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:20:28.20667+08:00 INFO [22060,f551a68f4d1c4964] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f551a68f4d1c4964, body={"processName":"observer"}] 2023-05-15T13:20:28.24738+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="52.057µs" 2023-05-15T13:20:28.29926+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=51.929571ms 2023-05-15T13:20:28.29937+08:00 INFO [22060,f551a68f4d1c4964] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 881247}]" 2023-05-15T13:20:28.29947+08:00 INFO [22060,f551a68f4d1c4964] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f551a68f4d1c4964, duration=92.658785ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 881247}]}] 2023-05-15T13:20:36.3014+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.3021+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=5.859µs, status=200, data=2023-05-15 13:20:36.301516808 +0800 CST m=+3627.505900838] 2023-05-15T13:20:36.30331+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30339+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=11.432µs, status=200, data=2023-05-15 13:20:36.303369949 +0800 CST m=+3627.507753984] 2023-05-15T13:20:36.30497+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30504+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=11.412µs, status=200, data=2023-05-15 13:20:36.305019155 +0800 CST m=+3627.509403184] 2023-05-15T13:20:36.30602+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30609+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=2.752µs, status=200, data=2023-05-15 13:20:36.30607087 +0800 CST m=+3627.510454906] 2023-05-15T13:20:36.3068+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30685+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=2.595µs, status=200, data=2023-05-15 13:20:36.306847342 +0800 CST m=+3627.511231372] 2023-05-15T13:20:36.30753+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30757+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=2.204µs, status=200, data=2023-05-15 13:20:36.307562454 +0800 CST m=+3627.511946483] 2023-05-15T13:20:36.30817+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, body=] 2023-05-15T13:20:36.30823+08:00 INFO [22060,4a7d5206f46740ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a7d5206f46740ad, duration=2.315µs, status=200, data=2023-05-15 13:20:36.308211351 +0800 CST m=+3627.512595380] 2023-05-15T13:20:36.4835+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.48361+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=3.435µs, status=200, data=2023-05-15 13:20:36.483591813 +0800 CST m=+3627.687975841] 2023-05-15T13:20:36.48542+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.4855+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=3.424µs, status=200, data=2023-05-15 13:20:36.485493833 +0800 CST m=+3627.689877862] 2023-05-15T13:20:36.48621+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.48627+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=2.657µs, status=200, data=2023-05-15 13:20:36.486257128 +0800 CST m=+3627.690641157] 2023-05-15T13:20:36.48824+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.48832+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=2.565µs, status=200, data=2023-05-15 13:20:36.48830818 +0800 CST m=+3627.692692210] 2023-05-15T13:20:36.48888+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.48893+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=2.653µs, status=200, data=2023-05-15 13:20:36.488920776 +0800 CST m=+3627.693304807] 2023-05-15T13:20:36.48939+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.48943+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=2.544µs, status=200, data=2023-05-15 13:20:36.489426326 +0800 CST m=+3627.693810355] 2023-05-15T13:20:36.49001+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, body=] 2023-05-15T13:20:36.49007+08:00 INFO [22060,108c45af24d14f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=108c45af24d14f56, duration=2.223µs, status=200, data=2023-05-15 13:20:36.490046298 +0800 CST m=+3627.694430327] 2023-05-15T13:21:04.17812+08:00 INFO [22060,9de55bf9f5f7a5ad] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9de55bf9f5f7a5ad, body=] 2023-05-15T13:21:04.17824+08:00 INFO [22060,9de55bf9f5f7a5ad] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9de55bf9f5f7a5ad, duration=5.585µs, status=200, data=2023-05-15 13:21:04.178223374 +0800 CST m=+3655.382607413] 2023-05-15T13:21:04.34702+08:00 INFO [22060,fb7b774744f01d51] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb7b774744f01d51, body={"processName":"ocp_mgragent"}] 2023-05-15T13:21:04.3817+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.811µs" 2023-05-15T13:21:04.40644+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.793671ms 2023-05-15T13:21:04.40653+08:00 INFO [22060,fb7b774744f01d51] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656381}]" 2023-05-15T13:21:04.40662+08:00 INFO [22060,fb7b774744f01d51] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb7b774744f01d51, duration=59.501859ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656381}]}] 2023-05-15T13:21:04.51962+08:00 INFO [22060,cdd3cb7752f498e6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cdd3cb7752f498e6, body={"processName":"ocp_monagent"}] 2023-05-15T13:21:04.55557+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.732µs" 2023-05-15T13:21:04.58129+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.766259ms 2023-05-15T13:21:04.58137+08:00 INFO [22060,cdd3cb7752f498e6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656555}]" 2023-05-15T13:21:04.58145+08:00 INFO [22060,cdd3cb7752f498e6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cdd3cb7752f498e6, duration=61.725857ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656555}]}] 2023-05-15T13:21:04.6908+08:00 INFO [22060,2c10c47c30a557fc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c10c47c30a557fc, body={"processName":"ocp_agentd"}] 2023-05-15T13:21:04.7269+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="57.263µs" 2023-05-15T13:21:04.75334+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.500904ms 2023-05-15T13:21:04.75343+08:00 INFO [22060,2c10c47c30a557fc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656726}]" 2023-05-15T13:21:04.75351+08:00 INFO [22060,2c10c47c30a557fc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c10c47c30a557fc, duration=62.584702ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3656726}]}] 2023-05-15T13:21:05.35275+08:00 INFO [22060,fb8479ea2e1f9892] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb8479ea2e1f9892, body=] 2023-05-15T13:21:05.35282+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:21:05.35288+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:21:05.35291+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:21:05.35931+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:21:05.35943+08:00 INFO [22060,fb8479ea2e1f9892] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fb8479ea2e1f9892, duration=6.581132ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:22:05.46242+08:00 INFO [22060,5fd8e8d63843c910] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fd8e8d63843c910, body=] 2023-05-15T13:22:05.46255+08:00 INFO [22060,5fd8e8d63843c910] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fd8e8d63843c910, duration=5.159µs, status=200, data=2023-05-15 13:22:05.462511057 +0800 CST m=+3716.666895086] 2023-05-15T13:22:05.5611+08:00 INFO [22060,6b178280c73fecc0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b178280c73fecc0, body={"processName":"ocp_mgragent"}] 2023-05-15T13:22:05.59789+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.452µs" 2023-05-15T13:22:05.62356+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.730357ms 2023-05-15T13:22:05.62365+08:00 INFO [22060,6b178280c73fecc0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717597}]" 2023-05-15T13:22:05.62374+08:00 INFO [22060,6b178280c73fecc0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b178280c73fecc0, duration=62.503026ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717597}]}] 2023-05-15T13:22:05.76177+08:00 INFO [22060,8b4ef0bb49a46d38] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8b4ef0bb49a46d38, body={"processName":"ocp_monagent"}] 2023-05-15T13:22:05.80673+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.186µs" 2023-05-15T13:22:05.8393+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.617059ms 2023-05-15T13:22:05.83943+08:00 INFO [22060,8b4ef0bb49a46d38] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717806}]" 2023-05-15T13:22:05.83957+08:00 INFO [22060,8b4ef0bb49a46d38] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8b4ef0bb49a46d38, duration=77.682467ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717806}]}] 2023-05-15T13:22:05.93894+08:00 INFO [22060,9f490f162f208509] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f490f162f208509, body={"processName":"ocp_agentd"}] 2023-05-15T13:22:05.97373+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.072µs" 2023-05-15T13:22:06.00455+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.869897ms 2023-05-15T13:22:06.00471+08:00 INFO [22060,9f490f162f208509] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717973}]" 2023-05-15T13:22:06.00482+08:00 INFO [22060,9f490f162f208509] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f490f162f208509, duration=65.75961ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3717973}]}] 2023-05-15T13:22:06.64911+08:00 INFO [22060,ec1eb809df93684c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec1eb809df93684c, body=] 2023-05-15T13:22:06.64918+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:22:06.64923+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:22:06.64925+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:22:06.65197+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:22:06.65206+08:00 INFO [22060,ec1eb809df93684c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec1eb809df93684c, duration=2.846507ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:23:06.74957+08:00 INFO [22060,69fb367f390f59f1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69fb367f390f59f1, body=] 2023-05-15T13:23:06.74969+08:00 INFO [22060,69fb367f390f59f1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69fb367f390f59f1, duration=4.726µs, status=200, data=2023-05-15 13:23:06.749667375 +0800 CST m=+3777.954051405] 2023-05-15T13:23:06.85845+08:00 INFO [22060,ca595d8a50ac6786] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca595d8a50ac6786, body={"processName":"ocp_mgragent"}] 2023-05-15T13:23:06.89751+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.185µs" 2023-05-15T13:23:06.92325+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.790052ms 2023-05-15T13:23:06.9234+08:00 INFO [22060,ca595d8a50ac6786] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3778897}]" 2023-05-15T13:23:06.92351+08:00 INFO [22060,ca595d8a50ac6786] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ca595d8a50ac6786, duration=64.936504ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3778897}]}] 2023-05-15T13:23:06.99376+08:00 INFO [22060,8221a68af4015fda] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8221a68af4015fda, body={"processName":"ocp_monagent"}] 2023-05-15T13:23:07.02881+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="175.648µs" 2023-05-15T13:23:07.05343+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.796212ms 2023-05-15T13:23:07.05352+08:00 INFO [22060,8221a68af4015fda] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3779028}]" 2023-05-15T13:23:07.05361+08:00 INFO [22060,8221a68af4015fda] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8221a68af4015fda, duration=59.741771ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3779028}]}] 2023-05-15T13:23:07.16206+08:00 INFO [22060,6d690e52e9ab55ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6d690e52e9ab55ee, body={"processName":"ocp_agentd"}] 2023-05-15T13:23:07.20357+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.397µs" 2023-05-15T13:23:07.23063+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.115493ms 2023-05-15T13:23:07.23083+08:00 INFO [22060,6d690e52e9ab55ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3779203}]" 2023-05-15T13:23:07.23095+08:00 INFO [22060,6d690e52e9ab55ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6d690e52e9ab55ee, duration=68.749676ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3779203}]}] 2023-05-15T13:23:08.06253+08:00 INFO [22060,a1068f356895d467] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a1068f356895d467, body=] 2023-05-15T13:23:08.06263+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:23:08.06269+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:23:08.06271+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:23:08.06571+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:23:08.06582+08:00 INFO [22060,a1068f356895d467] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a1068f356895d467, duration=3.166063ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:24:08.21309+08:00 INFO [22060,5fc715f5060536af] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fc715f5060536af, body=] 2023-05-15T13:24:08.2132+08:00 INFO [22060,5fc715f5060536af] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fc715f5060536af, duration=4.778µs, status=200, data=2023-05-15 13:24:08.213179336 +0800 CST m=+3839.417563364] 2023-05-15T13:24:08.32552+08:00 INFO [22060,31dd052578378fb6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=31dd052578378fb6, body={"processName":"ocp_mgragent"}] 2023-05-15T13:24:08.3598+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.325µs" 2023-05-15T13:24:08.38501+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.266893ms 2023-05-15T13:24:08.38509+08:00 INFO [22060,31dd052578378fb6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840359}]" 2023-05-15T13:24:08.38518+08:00 INFO [22060,31dd052578378fb6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=31dd052578378fb6, duration=59.553309ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840359}]}] 2023-05-15T13:24:08.47138+08:00 INFO [22060,539408537825f840] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=539408537825f840, body={"processName":"ocp_monagent"}] 2023-05-15T13:24:08.50498+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.629µs" 2023-05-15T13:24:08.53043+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.504273ms 2023-05-15T13:24:08.53052+08:00 INFO [22060,539408537825f840] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840504}]" 2023-05-15T13:24:08.53062+08:00 INFO [22060,539408537825f840] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=539408537825f840, duration=59.140731ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840504}]}] 2023-05-15T13:24:08.58222+08:00 INFO [22060,1ce9dddcf640a4ef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ce9dddcf640a4ef, body={"processName":"ocp_agentd"}] 2023-05-15T13:24:08.6172+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="65.084µs" 2023-05-15T13:24:08.64602+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.886478ms 2023-05-15T13:24:08.6461+08:00 INFO [22060,1ce9dddcf640a4ef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840616}]" 2023-05-15T13:24:08.64618+08:00 INFO [22060,1ce9dddcf640a4ef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ce9dddcf640a4ef, duration=63.858995ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3840616}]}] 2023-05-15T13:24:09.22325+08:00 INFO [22060,73e3766ec35ffd90] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=73e3766ec35ffd90, body=] 2023-05-15T13:24:09.22335+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:24:09.22342+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:24:09.22346+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:24:09.22772+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:24:09.22783+08:00 INFO [22060,73e3766ec35ffd90] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=73e3766ec35ffd90, duration=4.448453ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:25:09.31622+08:00 INFO [22060,75be6bfb0fc7d8f3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75be6bfb0fc7d8f3, body=] 2023-05-15T13:25:09.31633+08:00 INFO [22060,75be6bfb0fc7d8f3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75be6bfb0fc7d8f3, duration=4.22µs, status=200, data=2023-05-15 13:25:09.31629481 +0800 CST m=+3900.520678841] 2023-05-15T13:25:09.42019+08:00 INFO [22060,870c2bf57cd68277] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=870c2bf57cd68277, body={"processName":"ocp_mgragent"}] 2023-05-15T13:25:09.45513+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.033µs" 2023-05-15T13:25:09.48165+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.569964ms 2023-05-15T13:25:09.48174+08:00 INFO [22060,870c2bf57cd68277] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901454}]" 2023-05-15T13:25:09.48182+08:00 INFO [22060,870c2bf57cd68277] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=870c2bf57cd68277, duration=61.523198ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901454}]}] 2023-05-15T13:25:09.59295+08:00 INFO [22060,688503379536f45c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=688503379536f45c, body={"processName":"ocp_monagent"}] 2023-05-15T13:25:09.6297+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.21µs" 2023-05-15T13:25:09.65877+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.113775ms 2023-05-15T13:25:09.65887+08:00 INFO [22060,688503379536f45c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901629}]" 2023-05-15T13:25:09.65895+08:00 INFO [22060,688503379536f45c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=688503379536f45c, duration=65.888125ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901629}]}] 2023-05-15T13:25:09.78147+08:00 INFO [22060,e94eda84382fa241] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e94eda84382fa241, body={"processName":"ocp_agentd"}] 2023-05-15T13:25:09.82276+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="475.279µs" 2023-05-15T13:25:09.84906+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.368154ms 2023-05-15T13:25:09.84916+08:00 INFO [22060,e94eda84382fa241] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901822}]" 2023-05-15T13:25:09.84929+08:00 INFO [22060,e94eda84382fa241] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e94eda84382fa241, duration=67.707903ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3901822}]}] 2023-05-15T13:25:10.68379+08:00 INFO [22060,144458459ee4b9b6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=144458459ee4b9b6, body=] 2023-05-15T13:25:10.68388+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:25:10.68394+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:25:10.68397+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:25:10.68674+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:25:10.68681+08:00 INFO [22060,144458459ee4b9b6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=144458459ee4b9b6, duration=2.910566ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:26:10.7808+08:00 INFO [22060,5e709bc4a3545efc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e709bc4a3545efc, body=] 2023-05-15T13:26:10.78094+08:00 INFO [22060,5e709bc4a3545efc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e709bc4a3545efc, duration=5.457µs, status=200, data=2023-05-15 13:26:10.780901617 +0800 CST m=+3961.985285651] 2023-05-15T13:26:10.92153+08:00 INFO [22060,56714141e6c4a394] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56714141e6c4a394, body={"processName":"ocp_mgragent"}] 2023-05-15T13:26:10.96037+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.689µs" 2023-05-15T13:26:10.98473+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.418008ms 2023-05-15T13:26:10.98489+08:00 INFO [22060,56714141e6c4a394] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3962960}]" 2023-05-15T13:26:10.98499+08:00 INFO [22060,56714141e6c4a394] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56714141e6c4a394, duration=63.354492ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3962960}]}] 2023-05-15T13:26:11.06492+08:00 INFO [22060,20ad607677ae75e7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=20ad607677ae75e7, body={"processName":"ocp_monagent"}] 2023-05-15T13:26:11.10436+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.259µs" 2023-05-15T13:26:11.13036+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.050542ms 2023-05-15T13:26:11.13045+08:00 INFO [22060,20ad607677ae75e7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3963104}]" 2023-05-15T13:26:11.13052+08:00 INFO [22060,20ad607677ae75e7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=20ad607677ae75e7, duration=65.491881ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3963104}]}] 2023-05-15T13:26:11.24434+08:00 INFO [22060,40fef8eb43ac8956] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40fef8eb43ac8956, body={"processName":"ocp_agentd"}] 2023-05-15T13:26:11.28341+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="311.541µs" 2023-05-15T13:26:11.31013+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.02879ms 2023-05-15T13:26:11.31024+08:00 INFO [22060,40fef8eb43ac8956] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3963282}]" 2023-05-15T13:26:11.31035+08:00 INFO [22060,40fef8eb43ac8956] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40fef8eb43ac8956, duration=65.899962ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 3963282}]}] 2023-05-15T13:26:12.02381+08:00 INFO [22060,a2b8a96461eefa04] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a2b8a96461eefa04, body=] 2023-05-15T13:26:12.0239+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:26:12.02395+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:26:12.02398+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:26:12.02654+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:26:12.02661+08:00 INFO [22060,a2b8a96461eefa04] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a2b8a96461eefa04, duration=2.694816ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:27:12.12436+08:00 INFO [22060,d6c8fb0043799e01] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6c8fb0043799e01, body=] 2023-05-15T13:27:12.12449+08:00 INFO [22060,d6c8fb0043799e01] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6c8fb0043799e01, duration=4.832µs, status=200, data=2023-05-15 13:27:12.124466052 +0800 CST m=+4023.328850081] 2023-05-15T13:27:12.26674+08:00 INFO [22060,b3e71cf9b6f799fc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3e71cf9b6f799fc, body={"processName":"ocp_mgragent"}] 2023-05-15T13:27:12.30457+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.396µs" 2023-05-15T13:27:12.33299+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.467239ms 2023-05-15T13:27:12.33311+08:00 INFO [22060,b3e71cf9b6f799fc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024304}]" 2023-05-15T13:27:12.33321+08:00 INFO [22060,b3e71cf9b6f799fc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3e71cf9b6f799fc, duration=66.35575ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024304}]}] 2023-05-15T13:27:12.45509+08:00 INFO [22060,cea95a838fd15689] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cea95a838fd15689, body={"processName":"ocp_monagent"}] 2023-05-15T13:27:12.49436+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.064µs" 2023-05-15T13:27:12.51977+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.457912ms 2023-05-15T13:27:12.5199+08:00 INFO [22060,cea95a838fd15689] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024494}]" 2023-05-15T13:27:12.52001+08:00 INFO [22060,cea95a838fd15689] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cea95a838fd15689, duration=64.801844ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024494}]}] 2023-05-15T13:27:12.62708+08:00 INFO [22060,7c057f9c050e55ff] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c057f9c050e55ff, body={"processName":"ocp_agentd"}] 2023-05-15T13:27:12.66599+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.245µs" 2023-05-15T13:27:12.69162+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.673867ms 2023-05-15T13:27:12.69173+08:00 INFO [22060,7c057f9c050e55ff] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024665}]" 2023-05-15T13:27:12.69183+08:00 INFO [22060,7c057f9c050e55ff] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c057f9c050e55ff, duration=64.634748ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4024665}]}] 2023-05-15T13:27:13.24048+08:00 INFO [22060,41d694538cc7de64] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41d694538cc7de64, body=] 2023-05-15T13:27:13.24058+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:27:13.24064+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:27:13.24066+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:27:13.24398+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:27:13.24408+08:00 INFO [22060,41d694538cc7de64] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41d694538cc7de64, duration=3.468899ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:28:13.34981+08:00 INFO [22060,517c66bcd5b35d33] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=517c66bcd5b35d33, body=] 2023-05-15T13:28:13.34994+08:00 INFO [22060,517c66bcd5b35d33] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=517c66bcd5b35d33, duration=3.969µs, status=200, data=2023-05-15 13:28:13.349922577 +0800 CST m=+4084.554306606] 2023-05-15T13:28:13.4532+08:00 INFO [22060,aa2c2d6e66f061b1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa2c2d6e66f061b1, body={"processName":"ocp_mgragent"}] 2023-05-15T13:28:13.48994+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.915µs" 2023-05-15T13:28:13.51747+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.589607ms 2023-05-15T13:28:13.51756+08:00 INFO [22060,aa2c2d6e66f061b1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085489}]" 2023-05-15T13:28:13.51765+08:00 INFO [22060,aa2c2d6e66f061b1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa2c2d6e66f061b1, duration=64.327098ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085489}]}] 2023-05-15T13:28:13.63012+08:00 INFO [22060,a686fdf5802f05b8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a686fdf5802f05b8, body={"processName":"ocp_monagent"}] 2023-05-15T13:28:13.66782+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="71.833µs" 2023-05-15T13:28:13.70085+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=33.092897ms 2023-05-15T13:28:13.70096+08:00 INFO [22060,a686fdf5802f05b8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085667}]" 2023-05-15T13:28:13.70106+08:00 INFO [22060,a686fdf5802f05b8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a686fdf5802f05b8, duration=70.826981ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085667}]}] 2023-05-15T13:28:13.82115+08:00 INFO [22060,49584468b75c6216] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=49584468b75c6216, body={"processName":"ocp_agentd"}] 2023-05-15T13:28:13.86751+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="69.691µs" 2023-05-15T13:28:13.8957+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.257859ms 2023-05-15T13:28:13.89581+08:00 INFO [22060,49584468b75c6216] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085867}]" 2023-05-15T13:28:13.89593+08:00 INFO [22060,49584468b75c6216] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=49584468b75c6216, duration=74.62879ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4085867}]}] 2023-05-15T13:28:14.56211+08:00 INFO [22060,696ab97d3ef4f09d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=696ab97d3ef4f09d, body=] 2023-05-15T13:28:14.5622+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:28:14.56225+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:28:14.56228+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:28:14.56547+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:28:14.56556+08:00 INFO [22060,696ab97d3ef4f09d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=696ab97d3ef4f09d, duration=3.335882ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:29:14.66346+08:00 INFO [22060,a023d77f05659c55] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a023d77f05659c55, body=] 2023-05-15T13:29:14.66359+08:00 INFO [22060,a023d77f05659c55] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a023d77f05659c55, duration=4.507µs, status=200, data=2023-05-15 13:29:14.663567572 +0800 CST m=+4145.867951601] 2023-05-15T13:29:14.81351+08:00 INFO [22060,706ba91082479a72] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=706ba91082479a72, body={"processName":"ocp_mgragent"}] 2023-05-15T13:29:14.84979+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="90.847µs" 2023-05-15T13:29:14.89157+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=41.865283ms 2023-05-15T13:29:14.89175+08:00 INFO [22060,706ba91082479a72] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4146849}]" 2023-05-15T13:29:14.8919+08:00 INFO [22060,706ba91082479a72] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=706ba91082479a72, duration=78.239027ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4146849}]}] 2023-05-15T13:29:14.97052+08:00 INFO [22060,3f234aba654a767a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3f234aba654a767a, body={"processName":"ocp_monagent"}] 2023-05-15T13:29:15.01223+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="65.31µs" 2023-05-15T13:29:15.04211+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.937214ms 2023-05-15T13:29:15.04219+08:00 INFO [22060,3f234aba654a767a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4147012}]" 2023-05-15T13:29:15.04226+08:00 INFO [22060,3f234aba654a767a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3f234aba654a767a, duration=71.633281ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4147012}]}] 2023-05-15T13:29:15.17382+08:00 INFO [22060,fd0cf573d93254cf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fd0cf573d93254cf, body={"processName":"ocp_agentd"}] 2023-05-15T13:29:15.21111+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.359µs" 2023-05-15T13:29:15.23672+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.655379ms 2023-05-15T13:29:15.2368+08:00 INFO [22060,fd0cf573d93254cf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4147210}]" 2023-05-15T13:29:15.23689+08:00 INFO [22060,fd0cf573d93254cf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fd0cf573d93254cf, duration=62.960689ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4147210}]}] 2023-05-15T13:29:15.8189+08:00 INFO [22060,8d301348e69e58f3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d301348e69e58f3, body=] 2023-05-15T13:29:15.81903+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:29:15.8191+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:29:15.81914+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:29:15.82253+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:29:15.82265+08:00 INFO [22060,8d301348e69e58f3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d301348e69e58f3, duration=3.58553ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:30:15.9504+08:00 INFO [22060,fec12ac5c23a00f4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fec12ac5c23a00f4, body=] 2023-05-15T13:30:15.95052+08:00 INFO [22060,fec12ac5c23a00f4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fec12ac5c23a00f4, duration=4.141µs, status=200, data=2023-05-15 13:30:15.950496478 +0800 CST m=+4207.154880509] 2023-05-15T13:30:16.07457+08:00 INFO [22060,58987b78466bb20c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58987b78466bb20c, body={"processName":"ocp_mgragent"}] 2023-05-15T13:30:16.11256+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="211.564µs" 2023-05-15T13:30:16.13818+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.833869ms 2023-05-15T13:30:16.13828+08:00 INFO [22060,58987b78466bb20c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208112}]" 2023-05-15T13:30:16.13837+08:00 INFO [22060,58987b78466bb20c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=58987b78466bb20c, duration=63.700777ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208112}]}] 2023-05-15T13:30:16.20885+08:00 INFO [22060,92a5023f92e147b3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92a5023f92e147b3, body={"processName":"ocp_monagent"}] 2023-05-15T13:30:16.25117+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="53.04µs" 2023-05-15T13:30:16.27691+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.80413ms 2023-05-15T13:30:16.27704+08:00 INFO [22060,92a5023f92e147b3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208250}]" 2023-05-15T13:30:16.27715+08:00 INFO [22060,92a5023f92e147b3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92a5023f92e147b3, duration=68.148326ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208250}]}] 2023-05-15T13:30:16.35502+08:00 INFO [22060,e71445d1931a107b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e71445d1931a107b, body={"processName":"ocp_agentd"}] 2023-05-15T13:30:16.39467+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.736µs" 2023-05-15T13:30:16.4318+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=37.175931ms 2023-05-15T13:30:16.4319+08:00 INFO [22060,e71445d1931a107b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208394}]" 2023-05-15T13:30:16.43198+08:00 INFO [22060,e71445d1931a107b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e71445d1931a107b, duration=76.82657ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4208394}]}] 2023-05-15T13:30:17.17205+08:00 INFO [22060,22461ff62e22088b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=22461ff62e22088b, body=] 2023-05-15T13:30:17.17214+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:30:17.17219+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:30:17.17221+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:30:17.17737+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:30:17.17746+08:00 INFO [22060,22461ff62e22088b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=22461ff62e22088b, duration=5.297043ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:31:17.30061+08:00 INFO [22060,be1016cd619cf56b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be1016cd619cf56b, body=] 2023-05-15T13:31:17.30076+08:00 INFO [22060,be1016cd619cf56b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=be1016cd619cf56b, duration=5.47µs, status=200, data=2023-05-15 13:31:17.300732986 +0800 CST m=+4268.505117016] 2023-05-15T13:31:17.45609+08:00 INFO [22060,3060f7070d3a17d0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3060f7070d3a17d0, body={"processName":"ocp_mgragent"}] 2023-05-15T13:31:17.49245+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.785µs" 2023-05-15T13:31:17.5179+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.493632ms 2023-05-15T13:31:17.518+08:00 INFO [22060,3060f7070d3a17d0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269492}]" 2023-05-15T13:31:17.51808+08:00 INFO [22060,3060f7070d3a17d0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3060f7070d3a17d0, duration=61.891735ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269492}]}] 2023-05-15T13:31:17.6148+08:00 INFO [22060,ad5b0d4f8fb3b9c5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad5b0d4f8fb3b9c5, body={"processName":"ocp_monagent"}] 2023-05-15T13:31:17.65152+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.691µs" 2023-05-15T13:31:17.67741+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.94258ms 2023-05-15T13:31:17.6775+08:00 INFO [22060,ad5b0d4f8fb3b9c5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269651}]" 2023-05-15T13:31:17.67759+08:00 INFO [22060,ad5b0d4f8fb3b9c5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad5b0d4f8fb3b9c5, duration=62.669684ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269651}]}] 2023-05-15T13:31:17.81652+08:00 INFO [22060,6ae2a3bec51b902c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6ae2a3bec51b902c, body={"processName":"ocp_agentd"}] 2023-05-15T13:31:17.85382+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="66µs" 2023-05-15T13:31:17.88089+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.136307ms 2023-05-15T13:31:17.88101+08:00 INFO [22060,6ae2a3bec51b902c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269853}]" 2023-05-15T13:31:17.88112+08:00 INFO [22060,6ae2a3bec51b902c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6ae2a3bec51b902c, duration=64.489997ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4269853}]}] 2023-05-15T13:31:18.63981+08:00 INFO [22060,f5958ce006cf9bed] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f5958ce006cf9bed, body=] 2023-05-15T13:31:18.63996+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:31:18.64003+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:31:18.64006+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:31:18.64433+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:31:18.64441+08:00 INFO [22060,f5958ce006cf9bed] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f5958ce006cf9bed, duration=4.434337ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:32:18.78741+08:00 INFO [22060,a70bc1c2ab132c63] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a70bc1c2ab132c63, body=] 2023-05-15T13:32:18.78757+08:00 INFO [22060,a70bc1c2ab132c63] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a70bc1c2ab132c63, duration=5.579µs, status=200, data=2023-05-15 13:32:18.787526064 +0800 CST m=+4329.991910103] 2023-05-15T13:32:18.90379+08:00 INFO [22060,d0613acb96e1063b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d0613acb96e1063b, body={"processName":"ocp_mgragent"}] 2023-05-15T13:32:18.94659+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="67.448µs" 2023-05-15T13:32:18.97876+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.233334ms 2023-05-15T13:32:18.97891+08:00 INFO [22060,d0613acb96e1063b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4330946}]" 2023-05-15T13:32:18.97904+08:00 INFO [22060,d0613acb96e1063b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d0613acb96e1063b, duration=75.103311ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4330946}]}] 2023-05-15T13:32:19.08639+08:00 INFO [22060,b2ca278c282cfd17] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b2ca278c282cfd17, body={"processName":"ocp_monagent"}] 2023-05-15T13:32:19.12716+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="69.65µs" 2023-05-15T13:32:19.17081+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=43.715394ms 2023-05-15T13:32:19.17094+08:00 INFO [22060,b2ca278c282cfd17] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4331126}]" 2023-05-15T13:32:19.1711+08:00 INFO [22060,b2ca278c282cfd17] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b2ca278c282cfd17, duration=84.56099ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4331126}]}] 2023-05-15T13:32:19.28595+08:00 INFO [22060,300b90116a6547ef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=300b90116a6547ef, body={"processName":"ocp_agentd"}] 2023-05-15T13:32:19.33637+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="91.035µs" 2023-05-15T13:32:19.37058+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=34.3038ms 2023-05-15T13:32:19.37071+08:00 INFO [22060,300b90116a6547ef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4331336}]" 2023-05-15T13:32:19.37083+08:00 INFO [22060,300b90116a6547ef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=300b90116a6547ef, duration=84.737802ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4331336}]}] 2023-05-15T13:32:19.92141+08:00 INFO [22060,3ce21fa83c54a49a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3ce21fa83c54a49a, body=] 2023-05-15T13:32:19.92152+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:32:19.92158+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:32:19.92161+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:32:19.92454+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:32:19.92461+08:00 INFO [22060,3ce21fa83c54a49a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3ce21fa83c54a49a, duration=3.068714ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:33:20.01725+08:00 INFO [22060,383d2b9d0bc116ce] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=383d2b9d0bc116ce, body=] 2023-05-15T13:33:20.01735+08:00 INFO [22060,383d2b9d0bc116ce] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=383d2b9d0bc116ce, duration=3.719µs, status=200, data=2023-05-15 13:33:20.017336222 +0800 CST m=+4391.221720251] 2023-05-15T13:33:20.18959+08:00 INFO [22060,6c22f08ab8251408] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6c22f08ab8251408, body={"processName":"ocp_mgragent"}] 2023-05-15T13:33:20.22582+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="59.223µs" 2023-05-15T13:33:20.25202+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.261438ms 2023-05-15T13:33:20.25211+08:00 INFO [22060,6c22f08ab8251408] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392225}]" 2023-05-15T13:33:20.2522+08:00 INFO [22060,6c22f08ab8251408] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6c22f08ab8251408, duration=62.475805ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392225}]}] 2023-05-15T13:33:20.42205+08:00 INFO [22060,baaa721df85a85fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=baaa721df85a85fb, body={"processName":"ocp_monagent"}] 2023-05-15T13:33:20.45861+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.466µs" 2023-05-15T13:33:20.4868+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.24384ms 2023-05-15T13:33:20.48691+08:00 INFO [22060,baaa721df85a85fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392458}]" 2023-05-15T13:33:20.487+08:00 INFO [22060,baaa721df85a85fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=baaa721df85a85fb, duration=64.854668ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392458}]}] 2023-05-15T13:33:20.55297+08:00 INFO [22060,bbd9e5280ad02ec5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bbd9e5280ad02ec5, body={"processName":"ocp_agentd"}] 2023-05-15T13:33:20.58918+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.642µs" 2023-05-15T13:33:20.61534+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.214598ms 2023-05-15T13:33:20.61546+08:00 INFO [22060,bbd9e5280ad02ec5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392589}]" 2023-05-15T13:33:20.61558+08:00 INFO [22060,bbd9e5280ad02ec5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bbd9e5280ad02ec5, duration=62.465451ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4392589}]}] 2023-05-15T13:33:21.18048+08:00 INFO [22060,e80905094c11195d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e80905094c11195d, body=] 2023-05-15T13:33:21.18057+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:33:21.18064+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:33:21.18067+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:33:21.18424+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:33:21.18435+08:00 INFO [22060,e80905094c11195d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e80905094c11195d, duration=3.742639ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:34:21.55292+08:00 INFO [22060,628699d74a8054f3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=628699d74a8054f3, body=] 2023-05-15T13:34:21.55301+08:00 INFO [22060,628699d74a8054f3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=628699d74a8054f3, duration=3.886µs, status=200, data=2023-05-15 13:34:21.552999494 +0800 CST m=+4452.757383523] 2023-05-15T13:34:21.82747+08:00 INFO [22060,b372149a359d094e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b372149a359d094e, body={"processName":"ocp_mgragent"}] 2023-05-15T13:34:21.86161+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.267µs" 2023-05-15T13:34:21.88695+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.392565ms 2023-05-15T13:34:21.88709+08:00 INFO [22060,b372149a359d094e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4453861}]" 2023-05-15T13:34:21.88719+08:00 INFO [22060,b372149a359d094e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b372149a359d094e, duration=59.590598ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4453861}]}] 2023-05-15T13:34:22.07074+08:00 INFO [22060,3d0385c85435bd71] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d0385c85435bd71, body={"processName":"ocp_monagent"}] 2023-05-15T13:34:22.10871+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.863µs" 2023-05-15T13:34:22.13957+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.91426ms 2023-05-15T13:34:22.13965+08:00 INFO [22060,3d0385c85435bd71] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4454108}]" 2023-05-15T13:34:22.13973+08:00 INFO [22060,3d0385c85435bd71] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d0385c85435bd71, duration=68.872533ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4454108}]}] 2023-05-15T13:34:22.38559+08:00 INFO [22060,4f3384b55eed6853] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f3384b55eed6853, body={"processName":"ocp_agentd"}] 2023-05-15T13:34:22.42243+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="73.737µs" 2023-05-15T13:34:22.44855+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.197361ms 2023-05-15T13:34:22.44864+08:00 INFO [22060,4f3384b55eed6853] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4454422}]" 2023-05-15T13:34:22.44875+08:00 INFO [22060,4f3384b55eed6853] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f3384b55eed6853, duration=63.028257ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4454422}]}] 2023-05-15T13:34:23.28649+08:00 INFO [22060,2874a182dd248c85] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2874a182dd248c85, body=] 2023-05-15T13:34:23.28659+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:34:23.28665+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:34:23.28668+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:34:23.28972+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:34:23.28983+08:00 INFO [22060,2874a182dd248c85] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2874a182dd248c85, duration=3.203534ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:35:23.46551+08:00 INFO [22060,34efb18b91e2b68a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34efb18b91e2b68a, body=] 2023-05-15T13:35:23.46563+08:00 INFO [22060,34efb18b91e2b68a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34efb18b91e2b68a, duration=4.917µs, status=200, data=2023-05-15 13:35:23.465606555 +0800 CST m=+4514.669990586] 2023-05-15T13:35:23.72953+08:00 INFO [22060,91e6929e79319c90] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=91e6929e79319c90, body={"processName":"ocp_mgragent"}] 2023-05-15T13:35:23.76772+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.821µs" 2023-05-15T13:35:23.80109+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.418285ms 2023-05-15T13:35:23.80117+08:00 INFO [22060,91e6929e79319c90] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4515767}]" 2023-05-15T13:35:23.80126+08:00 INFO [22060,91e6929e79319c90] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=91e6929e79319c90, duration=71.609727ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4515767}]}] 2023-05-15T13:35:23.9107+08:00 INFO [22060,86903621284aec2d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86903621284aec2d, body={"processName":"ocp_monagent"}] 2023-05-15T13:35:23.94553+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.946µs" 2023-05-15T13:35:23.97571+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.22718ms 2023-05-15T13:35:23.97584+08:00 INFO [22060,86903621284aec2d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4515945}]" 2023-05-15T13:35:23.97596+08:00 INFO [22060,86903621284aec2d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86903621284aec2d, duration=65.149609ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4515945}]}] 2023-05-15T13:35:24.08338+08:00 INFO [22060,334cf1e8b28525a0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=334cf1e8b28525a0, body={"processName":"ocp_agentd"}] 2023-05-15T13:35:24.12658+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="310.648µs" 2023-05-15T13:35:24.15463+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.36294ms 2023-05-15T13:35:24.15476+08:00 INFO [22060,334cf1e8b28525a0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4516126}]" 2023-05-15T13:35:24.15491+08:00 INFO [22060,334cf1e8b28525a0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=334cf1e8b28525a0, duration=71.389262ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4516126}]}] 2023-05-15T13:35:24.92925+08:00 INFO [22060,14ec2ebd99d311a4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14ec2ebd99d311a4, body=] 2023-05-15T13:35:24.92933+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:35:24.92943+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:35:24.92946+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:35:24.93232+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:35:24.93244+08:00 INFO [22060,14ec2ebd99d311a4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14ec2ebd99d311a4, duration=3.076639ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:36:25.16614+08:00 INFO [22060,8a161ae6b88e5b2c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a161ae6b88e5b2c, body=] 2023-05-15T13:36:25.16628+08:00 INFO [22060,8a161ae6b88e5b2c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a161ae6b88e5b2c, duration=6.422µs, status=200, data=2023-05-15 13:36:25.166248365 +0800 CST m=+4576.370632410] 2023-05-15T13:36:25.36669+08:00 INFO [22060,f7671d882bf7cfab] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f7671d882bf7cfab, body={"processName":"ocp_mgragent"}] 2023-05-15T13:36:25.40906+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.186µs" 2023-05-15T13:36:25.43601+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.002195ms 2023-05-15T13:36:25.4361+08:00 INFO [22060,f7671d882bf7cfab] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577408}]" 2023-05-15T13:36:25.43619+08:00 INFO [22060,f7671d882bf7cfab] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f7671d882bf7cfab, duration=69.352361ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577408}]}] 2023-05-15T13:36:25.62165+08:00 INFO [22060,6385ffe5623a3f10] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6385ffe5623a3f10, body={"processName":"ocp_monagent"}] 2023-05-15T13:36:25.66645+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="78.209µs" 2023-05-15T13:36:25.69132+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.94968ms 2023-05-15T13:36:25.69141+08:00 INFO [22060,6385ffe5623a3f10] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577666}]" 2023-05-15T13:36:25.69149+08:00 INFO [22060,6385ffe5623a3f10] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6385ffe5623a3f10, duration=69.706202ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577666}]}] 2023-05-15T13:36:25.82651+08:00 INFO [22060,793553a4efdd4662] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=793553a4efdd4662, body={"processName":"ocp_agentd"}] 2023-05-15T13:36:25.86199+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.481µs" 2023-05-15T13:36:25.88568+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.747359ms 2023-05-15T13:36:25.88578+08:00 INFO [22060,793553a4efdd4662] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577861}]" 2023-05-15T13:36:25.88588+08:00 INFO [22060,793553a4efdd4662] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=793553a4efdd4662, duration=59.258008ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4577861}]}] 2023-05-15T13:36:27.29305+08:00 INFO [22060,4e12a6f067b473dc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e12a6f067b473dc, body=] 2023-05-15T13:36:27.29314+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:36:27.29319+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:36:27.29322+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:36:27.29611+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:36:27.29618+08:00 INFO [22060,4e12a6f067b473dc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e12a6f067b473dc, duration=3.028035ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:37:27.45784+08:00 INFO [22060,db8147b4d1bc011d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db8147b4d1bc011d, body=] 2023-05-15T13:37:27.45801+08:00 INFO [22060,db8147b4d1bc011d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db8147b4d1bc011d, duration=6.325µs, status=200, data=2023-05-15 13:37:27.457978095 +0800 CST m=+4638.662362135] 2023-05-15T13:37:27.57659+08:00 INFO [22060,f56c0e0cb395439a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f56c0e0cb395439a, body={"processName":"ocp_mgragent"}] 2023-05-15T13:37:27.61458+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.985µs" 2023-05-15T13:37:27.64084+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.302816ms 2023-05-15T13:37:27.64094+08:00 INFO [22060,f56c0e0cb395439a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639614}]" 2023-05-15T13:37:27.64102+08:00 INFO [22060,f56c0e0cb395439a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f56c0e0cb395439a, duration=64.335692ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639614}]}] 2023-05-15T13:37:27.74584+08:00 INFO [22060,d34c4eb286ad5b83] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d34c4eb286ad5b83, body={"processName":"ocp_monagent"}] 2023-05-15T13:37:27.78373+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="71.162µs" 2023-05-15T13:37:27.80842+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.768347ms 2023-05-15T13:37:27.80851+08:00 INFO [22060,d34c4eb286ad5b83] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639783}]" 2023-05-15T13:37:27.8086+08:00 INFO [22060,d34c4eb286ad5b83] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d34c4eb286ad5b83, duration=62.618781ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639783}]}] 2023-05-15T13:37:27.92914+08:00 INFO [22060,cb28d28487b5fcd0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb28d28487b5fcd0, body={"processName":"ocp_agentd"}] 2023-05-15T13:37:27.96969+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="56.877µs" 2023-05-15T13:37:27.99575+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.113943ms 2023-05-15T13:37:27.99583+08:00 INFO [22060,cb28d28487b5fcd0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639969}]" 2023-05-15T13:37:27.99593+08:00 INFO [22060,cb28d28487b5fcd0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb28d28487b5fcd0, duration=66.661065ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4639969}]}] 2023-05-15T13:37:28.58858+08:00 INFO [22060,4464283af86e1691] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4464283af86e1691, body=] 2023-05-15T13:37:28.58868+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:37:28.58877+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:37:28.5888+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:37:28.59171+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:37:28.5918+08:00 INFO [22060,4464283af86e1691] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4464283af86e1691, duration=3.095738ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:38:28.7491+08:00 INFO [22060,8f6e5390fcec4131] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f6e5390fcec4131, body=] 2023-05-15T13:38:28.74921+08:00 INFO [22060,8f6e5390fcec4131] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f6e5390fcec4131, duration=3.972µs, status=200, data=2023-05-15 13:38:28.749188871 +0800 CST m=+4699.953572903] 2023-05-15T13:38:28.95768+08:00 INFO [22060,a0b50b716b88eea7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0b50b716b88eea7, body={"processName":"ocp_mgragent"}] 2023-05-15T13:38:28.99673+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="115.637µs" 2023-05-15T13:38:29.02354+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.925148ms 2023-05-15T13:38:29.02362+08:00 INFO [22060,a0b50b716b88eea7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4700996}]" 2023-05-15T13:38:29.02371+08:00 INFO [22060,a0b50b716b88eea7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0b50b716b88eea7, duration=65.904249ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4700996}]}] 2023-05-15T13:38:29.1211+08:00 INFO [22060,6a509f7d10b389ce] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6a509f7d10b389ce, body={"processName":"ocp_monagent"}] 2023-05-15T13:38:29.15936+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="79.186µs" 2023-05-15T13:38:29.19156+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.273225ms 2023-05-15T13:38:29.19166+08:00 INFO [22060,6a509f7d10b389ce] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4701159}]" 2023-05-15T13:38:29.19174+08:00 INFO [22060,6a509f7d10b389ce] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6a509f7d10b389ce, duration=70.524684ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4701159}]}] 2023-05-15T13:38:29.28304+08:00 INFO [22060,3482ff0dedd20437] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3482ff0dedd20437, body={"processName":"ocp_agentd"}] 2023-05-15T13:38:29.31998+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.082µs" 2023-05-15T13:38:29.34601+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.093494ms 2023-05-15T13:38:29.34611+08:00 INFO [22060,3482ff0dedd20437] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4701319}]" 2023-05-15T13:38:29.34619+08:00 INFO [22060,3482ff0dedd20437] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3482ff0dedd20437, duration=63.030415ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4701319}]}] 2023-05-15T13:38:29.98634+08:00 INFO [22060,8a6e2090a4af38db] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a6e2090a4af38db, body=] 2023-05-15T13:38:29.98643+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:38:29.98649+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:38:29.98651+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:38:29.98946+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:38:29.98955+08:00 INFO [22060,8a6e2090a4af38db] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a6e2090a4af38db, duration=3.094751ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:39:30.13654+08:00 INFO [22060,4578c7f9ae2ba09f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4578c7f9ae2ba09f, body=] 2023-05-15T13:39:30.13664+08:00 INFO [22060,4578c7f9ae2ba09f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4578c7f9ae2ba09f, duration=4.469µs, status=200, data=2023-05-15 13:39:30.136621155 +0800 CST m=+4761.341005184] 2023-05-15T13:39:30.44764+08:00 INFO [22060,92e655c0b4dc790d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92e655c0b4dc790d, body={"processName":"ocp_mgragent"}] 2023-05-15T13:39:30.48227+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.511µs" 2023-05-15T13:39:30.50765+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.434067ms 2023-05-15T13:39:30.50777+08:00 INFO [22060,92e655c0b4dc790d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762482}]" 2023-05-15T13:39:30.50789+08:00 INFO [22060,92e655c0b4dc790d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92e655c0b4dc790d, duration=60.132711ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762482}]}] 2023-05-15T13:39:30.67873+08:00 INFO [22060,69458e8e59238ca5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69458e8e59238ca5, body={"processName":"ocp_monagent"}] 2023-05-15T13:39:30.71196+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.104µs" 2023-05-15T13:39:30.73806+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.15343ms 2023-05-15T13:39:30.73816+08:00 INFO [22060,69458e8e59238ca5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762711}]" 2023-05-15T13:39:30.73825+08:00 INFO [22060,69458e8e59238ca5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69458e8e59238ca5, duration=59.422908ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762711}]}] 2023-05-15T13:39:30.90606+08:00 INFO [22060,301a9d7709df8615] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=301a9d7709df8615, body={"processName":"ocp_agentd"}] 2023-05-15T13:39:30.94279+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="117.197µs" 2023-05-15T13:39:30.97923+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=36.555189ms 2023-05-15T13:39:30.97931+08:00 INFO [22060,301a9d7709df8615] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762942}]" 2023-05-15T13:39:30.97938+08:00 INFO [22060,301a9d7709df8615] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=301a9d7709df8615, duration=73.228738ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4762942}]}] 2023-05-15T13:39:31.77612+08:00 INFO [22060,868b3022c7d38871] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=868b3022c7d38871, body=] 2023-05-15T13:39:31.77622+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:39:31.77627+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:39:31.77629+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:39:31.77928+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:39:31.77936+08:00 INFO [22060,868b3022c7d38871] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=868b3022c7d38871, duration=3.120369ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:40:32.06127+08:00 INFO [22060,7f8c305735742137] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f8c305735742137, body=] 2023-05-15T13:40:32.06139+08:00 INFO [22060,7f8c305735742137] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f8c305735742137, duration=5.035µs, status=200, data=2023-05-15 13:40:32.061364539 +0800 CST m=+4823.265748577] 2023-05-15T13:40:32.44821+08:00 INFO [22060,e281061c205aabcd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e281061c205aabcd, body={"processName":"ocp_mgragent"}] 2023-05-15T13:40:32.48361+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="206.84µs" 2023-05-15T13:40:32.50877+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.366841ms 2023-05-15T13:40:32.50889+08:00 INFO [22060,e281061c205aabcd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824483}]" 2023-05-15T13:40:32.509+08:00 INFO [22060,e281061c205aabcd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e281061c205aabcd, duration=60.681584ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824483}]}] 2023-05-15T13:40:32.74901+08:00 INFO [22060,3475e377e06c24d0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3475e377e06c24d0, body={"processName":"ocp_monagent"}] 2023-05-15T13:40:32.78601+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.903µs" 2023-05-15T13:40:32.81266+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.698537ms 2023-05-15T13:40:32.81274+08:00 INFO [22060,3475e377e06c24d0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824785}]" 2023-05-15T13:40:32.81281+08:00 INFO [22060,3475e377e06c24d0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3475e377e06c24d0, duration=63.698411ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824785}]}] 2023-05-15T13:40:32.93555+08:00 INFO [22060,8ab364667b3ad662] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8ab364667b3ad662, body={"processName":"ocp_agentd"}] 2023-05-15T13:40:32.97285+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="106.401µs" 2023-05-15T13:40:33.00715+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=34.361542ms 2023-05-15T13:40:33.00727+08:00 INFO [22060,8ab364667b3ad662] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824972}]" 2023-05-15T13:40:33.00738+08:00 INFO [22060,8ab364667b3ad662] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8ab364667b3ad662, duration=71.726422ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4824972}]}] 2023-05-15T13:40:33.75241+08:00 INFO [22060,6bf394f54ec0f0c0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bf394f54ec0f0c0, body=] 2023-05-15T13:40:33.7525+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:40:33.75256+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:40:33.75261+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:40:33.75521+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:40:33.75529+08:00 INFO [22060,6bf394f54ec0f0c0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bf394f54ec0f0c0, duration=2.767142ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:41:33.93542+08:00 INFO [22060,3cfa7adf792f7886] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cfa7adf792f7886, body=] 2023-05-15T13:41:33.93557+08:00 INFO [22060,3cfa7adf792f7886] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cfa7adf792f7886, duration=5.526µs, status=200, data=2023-05-15 13:41:33.93552848 +0800 CST m=+4885.139912522] 2023-05-15T13:41:34.30733+08:00 INFO [22060,bcbac9d9b1281ee8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bcbac9d9b1281ee8, body={"processName":"ocp_mgragent"}] 2023-05-15T13:41:34.34203+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.536µs" 2023-05-15T13:41:34.36806+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.078338ms 2023-05-15T13:41:34.36815+08:00 INFO [22060,bcbac9d9b1281ee8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886341}]" 2023-05-15T13:41:34.36823+08:00 INFO [22060,bcbac9d9b1281ee8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bcbac9d9b1281ee8, duration=60.806688ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886341}]}] 2023-05-15T13:41:34.47502+08:00 INFO [22060,17ae7c6613dad4e0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=17ae7c6613dad4e0, body={"processName":"ocp_monagent"}] 2023-05-15T13:41:34.50881+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.04µs" 2023-05-15T13:41:34.5338+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.03045ms 2023-05-15T13:41:34.53392+08:00 INFO [22060,17ae7c6613dad4e0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886508}]" 2023-05-15T13:41:34.534+08:00 INFO [22060,17ae7c6613dad4e0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=17ae7c6613dad4e0, duration=58.87894ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886508}]}] 2023-05-15T13:41:34.77254+08:00 INFO [22060,18dd6d670d0bb5e6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18dd6d670d0bb5e6, body={"processName":"ocp_agentd"}] 2023-05-15T13:41:34.80845+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="44.359µs" 2023-05-15T13:41:34.83679+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.39395ms 2023-05-15T13:41:34.83689+08:00 INFO [22060,18dd6d670d0bb5e6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886808}]" 2023-05-15T13:41:34.83697+08:00 INFO [22060,18dd6d670d0bb5e6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18dd6d670d0bb5e6, duration=64.333985ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4886808}]}] 2023-05-15T13:41:35.29672+08:00 INFO [22060,35fb5fe43f1c3d22] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35fb5fe43f1c3d22, body=] 2023-05-15T13:41:35.29678+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:41:35.29683+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:41:35.29687+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:41:35.29964+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:41:35.29971+08:00 INFO [22060,35fb5fe43f1c3d22] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35fb5fe43f1c3d22, duration=2.909317ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:42:35.45084+08:00 INFO [22060,c042ba7e88008eaa] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c042ba7e88008eaa, body=] 2023-05-15T13:42:35.45099+08:00 INFO [22060,c042ba7e88008eaa] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c042ba7e88008eaa, duration=6.331µs, status=200, data=2023-05-15 13:42:35.450954579 +0800 CST m=+4946.655338614] 2023-05-15T13:42:35.59184+08:00 INFO [22060,41c9f79a497ed607] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41c9f79a497ed607, body={"processName":"ocp_mgragent"}] 2023-05-15T13:42:35.62582+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.806µs" 2023-05-15T13:42:35.65111+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.332102ms 2023-05-15T13:42:35.65119+08:00 INFO [22060,41c9f79a497ed607] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947625}]" 2023-05-15T13:42:35.65127+08:00 INFO [22060,41c9f79a497ed607] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41c9f79a497ed607, duration=59.312979ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947625}]}] 2023-05-15T13:42:35.72819+08:00 INFO [22060,996ea129f323e741] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=996ea129f323e741, body={"processName":"ocp_monagent"}] 2023-05-15T13:42:35.7668+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="137.429µs" 2023-05-15T13:42:35.79322+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.550223ms 2023-05-15T13:42:35.79331+08:00 INFO [22060,996ea129f323e741] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947766}]" 2023-05-15T13:42:35.79341+08:00 INFO [22060,996ea129f323e741] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=996ea129f323e741, duration=65.125676ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947766}]}] 2023-05-15T13:42:35.88377+08:00 INFO [22060,e785655fd9233eb1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e785655fd9233eb1, body={"processName":"ocp_agentd"}] 2023-05-15T13:42:35.92475+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.633µs" 2023-05-15T13:42:35.95323+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.528689ms 2023-05-15T13:42:35.95333+08:00 INFO [22060,e785655fd9233eb1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947924}]" 2023-05-15T13:42:35.95343+08:00 INFO [22060,e785655fd9233eb1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e785655fd9233eb1, duration=69.494887ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 4947924}]}] 2023-05-15T13:42:36.68156+08:00 INFO [22060,43ebbb078db2da3b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43ebbb078db2da3b, body=] 2023-05-15T13:42:36.68167+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:42:36.68174+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:42:36.68178+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:42:36.68474+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:42:36.68481+08:00 INFO [22060,43ebbb078db2da3b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43ebbb078db2da3b, duration=3.127978ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:43:36.78903+08:00 INFO [22060,bab7335bccd2e7fa] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bab7335bccd2e7fa, body=] 2023-05-15T13:43:36.78916+08:00 INFO [22060,bab7335bccd2e7fa] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bab7335bccd2e7fa, duration=6.149µs, status=200, data=2023-05-15 13:43:36.789129815 +0800 CST m=+5007.993513852] 2023-05-15T13:43:36.97354+08:00 INFO [22060,b3afaed2358ad2f2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3afaed2358ad2f2, body={"processName":"ocp_mgragent"}] 2023-05-15T13:43:37.01117+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.182µs" 2023-05-15T13:43:37.03693+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.806004ms 2023-05-15T13:43:37.03701+08:00 INFO [22060,b3afaed2358ad2f2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009011}]" 2023-05-15T13:43:37.03709+08:00 INFO [22060,b3afaed2358ad2f2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3afaed2358ad2f2, duration=63.434063ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009011}]}] 2023-05-15T13:43:37.17817+08:00 INFO [22060,b347dc150a3d4c23] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b347dc150a3d4c23, body={"processName":"ocp_monagent"}] 2023-05-15T13:43:37.21333+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="185.206µs" 2023-05-15T13:43:37.24535+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.210263ms 2023-05-15T13:43:37.24544+08:00 INFO [22060,b347dc150a3d4c23] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009213}]" 2023-05-15T13:43:37.24553+08:00 INFO [22060,b347dc150a3d4c23] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b347dc150a3d4c23, duration=67.21615ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009213}]}] 2023-05-15T13:43:37.32791+08:00 INFO [22060,dab3bdce10c98150] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dab3bdce10c98150, body={"processName":"ocp_agentd"}] 2023-05-15T13:43:37.36243+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="53.583µs" 2023-05-15T13:43:37.38583+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.458764ms 2023-05-15T13:43:37.38592+08:00 INFO [22060,dab3bdce10c98150] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009362}]" 2023-05-15T13:43:37.386+08:00 INFO [22060,dab3bdce10c98150] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dab3bdce10c98150, duration=58.004655ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5009362}]}] 2023-05-15T13:43:37.96099+08:00 INFO [22060,e9a68c237378551d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e9a68c237378551d, body=] 2023-05-15T13:43:37.96117+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:43:37.96124+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:43:37.96127+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:43:37.96444+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:43:37.96457+08:00 INFO [22060,e9a68c237378551d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e9a68c237378551d, duration=3.370797ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:44:38.14806+08:00 INFO [22060,de7393ecd7771960] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de7393ecd7771960, body=] 2023-05-15T13:44:38.14817+08:00 INFO [22060,de7393ecd7771960] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de7393ecd7771960, duration=3.828µs, status=200, data=2023-05-15 13:44:38.148137879 +0800 CST m=+5069.352521907] 2023-05-15T13:44:38.35853+08:00 INFO [22060,f2aec2859ac3500b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2aec2859ac3500b, body={"processName":"ocp_mgragent"}] 2023-05-15T13:44:38.39412+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.812µs" 2023-05-15T13:44:38.41988+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.81413ms 2023-05-15T13:44:38.41997+08:00 INFO [22060,f2aec2859ac3500b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070393}]" 2023-05-15T13:44:38.42005+08:00 INFO [22060,f2aec2859ac3500b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2aec2859ac3500b, duration=61.412262ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070393}]}] 2023-05-15T13:44:38.56957+08:00 INFO [22060,d6dc1a0e2c757ebf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6dc1a0e2c757ebf, body={"processName":"ocp_monagent"}] 2023-05-15T13:44:38.60647+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="60.934µs" 2023-05-15T13:44:38.63124+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.831955ms 2023-05-15T13:44:38.63132+08:00 INFO [22060,d6dc1a0e2c757ebf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070606}]" 2023-05-15T13:44:38.6314+08:00 INFO [22060,d6dc1a0e2c757ebf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6dc1a0e2c757ebf, duration=61.732984ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070606}]}] 2023-05-15T13:44:38.79238+08:00 INFO [22060,5728ef1421488adc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5728ef1421488adc, body={"processName":"ocp_agentd"}] 2023-05-15T13:44:38.82908+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="154.138µs" 2023-05-15T13:44:38.85298+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.056636ms 2023-05-15T13:44:38.85307+08:00 INFO [22060,5728ef1421488adc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070828}]" 2023-05-15T13:44:38.85315+08:00 INFO [22060,5728ef1421488adc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5728ef1421488adc, duration=60.684393ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5070828}]}] 2023-05-15T13:44:39.63118+08:00 INFO [22060,8c718c5efab15e2a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c718c5efab15e2a, body=] 2023-05-15T13:44:39.63126+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:44:39.63131+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:44:39.63133+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:44:39.63394+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:44:39.63403+08:00 INFO [22060,8c718c5efab15e2a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c718c5efab15e2a, duration=2.748247ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:45:39.76753+08:00 INFO [22060,9572a7a8b998d893] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9572a7a8b998d893, body=] 2023-05-15T13:45:39.76764+08:00 INFO [22060,9572a7a8b998d893] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9572a7a8b998d893, duration=3.818µs, status=200, data=2023-05-15 13:45:39.767625436 +0800 CST m=+5130.972009474] 2023-05-15T13:45:39.88148+08:00 INFO [22060,386092d33b5e7c8d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=386092d33b5e7c8d, body={"processName":"ocp_mgragent"}] 2023-05-15T13:45:39.91963+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.62µs" 2023-05-15T13:45:39.94658+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.000466ms 2023-05-15T13:45:39.94666+08:00 INFO [22060,386092d33b5e7c8d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5131919}]" 2023-05-15T13:45:39.94676+08:00 INFO [22060,386092d33b5e7c8d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=386092d33b5e7c8d, duration=65.151993ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5131919}]}] 2023-05-15T13:45:40.05615+08:00 INFO [22060,db7a7f8f1ba1bc9f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db7a7f8f1ba1bc9f, body={"processName":"ocp_monagent"}] 2023-05-15T13:45:40.09305+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.9µs" 2023-05-15T13:45:40.1208+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.802039ms 2023-05-15T13:45:40.12089+08:00 INFO [22060,db7a7f8f1ba1bc9f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5132092}]" 2023-05-15T13:45:40.12097+08:00 INFO [22060,db7a7f8f1ba1bc9f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db7a7f8f1ba1bc9f, duration=64.730366ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5132092}]}] 2023-05-15T13:45:40.24107+08:00 INFO [22060,f32914470b5fcc73] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f32914470b5fcc73, body={"processName":"ocp_agentd"}] 2023-05-15T13:45:40.27879+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="170.57µs" 2023-05-15T13:45:40.3038+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.186573ms 2023-05-15T13:45:40.3039+08:00 INFO [22060,f32914470b5fcc73] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5132278}]" 2023-05-15T13:45:40.30399+08:00 INFO [22060,f32914470b5fcc73] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f32914470b5fcc73, duration=62.82521ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5132278}]}] 2023-05-15T13:45:40.90875+08:00 INFO [22060,b1435500ba696e5f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1435500ba696e5f, body=] 2023-05-15T13:45:40.90883+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:45:40.90889+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:45:40.90892+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:45:40.91179+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:45:40.91191+08:00 INFO [22060,b1435500ba696e5f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1435500ba696e5f, duration=3.050404ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:46:41.02947+08:00 INFO [22060,99ea07bf2ab5771d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99ea07bf2ab5771d, body=] 2023-05-15T13:46:41.02958+08:00 INFO [22060,99ea07bf2ab5771d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99ea07bf2ab5771d, duration=5.504µs, status=200, data=2023-05-15 13:46:41.029556388 +0800 CST m=+5192.233940426] 2023-05-15T13:46:41.18502+08:00 INFO [22060,aa1556ded4e63a4b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa1556ded4e63a4b, body={"processName":"ocp_mgragent"}] 2023-05-15T13:46:41.2234+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.852µs" 2023-05-15T13:46:41.24896+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.607114ms 2023-05-15T13:46:41.24906+08:00 INFO [22060,aa1556ded4e63a4b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193223}]" 2023-05-15T13:46:41.24914+08:00 INFO [22060,aa1556ded4e63a4b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa1556ded4e63a4b, duration=63.97312ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193223}]}] 2023-05-15T13:46:41.42384+08:00 INFO [22060,82efdb194b6ed958] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82efdb194b6ed958, body={"processName":"ocp_monagent"}] 2023-05-15T13:46:41.46474+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="121.965µs" 2023-05-15T13:46:41.49133+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.702981ms 2023-05-15T13:46:41.49142+08:00 INFO [22060,82efdb194b6ed958] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193464}]" 2023-05-15T13:46:41.49151+08:00 INFO [22060,82efdb194b6ed958] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82efdb194b6ed958, duration=67.532257ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193464}]}] 2023-05-15T13:46:41.68987+08:00 INFO [22060,077abcc809c23348] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=077abcc809c23348, body={"processName":"ocp_agentd"}] 2023-05-15T13:46:41.72665+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.393µs" 2023-05-15T13:46:41.75765+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.055354ms 2023-05-15T13:46:41.75773+08:00 INFO [22060,077abcc809c23348] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193726}]" 2023-05-15T13:46:41.75782+08:00 INFO [22060,077abcc809c23348] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=077abcc809c23348, duration=67.818281ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5193726}]}] 2023-05-15T13:46:42.36625+08:00 INFO [22060,4075d90fd2550c52] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4075d90fd2550c52, body=] 2023-05-15T13:46:42.36636+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:46:42.36644+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:46:42.36647+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:46:42.36962+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:46:42.36971+08:00 INFO [22060,4075d90fd2550c52] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4075d90fd2550c52, duration=3.317636ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:47:42.50377+08:00 INFO [22060,15754e0b4b369cc6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=15754e0b4b369cc6, body=] 2023-05-15T13:47:42.50391+08:00 INFO [22060,15754e0b4b369cc6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=15754e0b4b369cc6, duration=5.972µs, status=200, data=2023-05-15 13:47:42.50387397 +0800 CST m=+5253.708258005] 2023-05-15T13:47:42.73752+08:00 INFO [22060,4f35b79ac4040f2f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f35b79ac4040f2f, body={"processName":"ocp_mgragent"}] 2023-05-15T13:47:42.77449+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.544µs" 2023-05-15T13:47:42.80177+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.332994ms 2023-05-15T13:47:42.80187+08:00 INFO [22060,4f35b79ac4040f2f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5254774}]" 2023-05-15T13:47:42.80195+08:00 INFO [22060,4f35b79ac4040f2f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f35b79ac4040f2f, duration=64.31062ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5254774}]}] 2023-05-15T13:47:42.93147+08:00 INFO [22060,5cd858fdef249dc9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5cd858fdef249dc9, body={"processName":"ocp_monagent"}] 2023-05-15T13:47:42.96928+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.026µs" 2023-05-15T13:47:42.99566+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.442713ms 2023-05-15T13:47:42.99575+08:00 INFO [22060,5cd858fdef249dc9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5254969}]" 2023-05-15T13:47:42.99584+08:00 INFO [22060,5cd858fdef249dc9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5cd858fdef249dc9, duration=64.239515ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5254969}]}] 2023-05-15T13:47:43.16862+08:00 INFO [22060,65c03500bdae0b79] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65c03500bdae0b79, body={"processName":"ocp_agentd"}] 2023-05-15T13:47:43.20499+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.773µs" 2023-05-15T13:47:43.23101+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.068799ms 2023-05-15T13:47:43.2311+08:00 INFO [22060,65c03500bdae0b79] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5255204}]" 2023-05-15T13:47:43.23118+08:00 INFO [22060,65c03500bdae0b79] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65c03500bdae0b79, duration=62.462091ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5255204}]}] 2023-05-15T13:47:43.82866+08:00 INFO [22060,dda233665f293bd9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dda233665f293bd9, body=] 2023-05-15T13:47:43.82874+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:47:43.82879+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:47:43.82882+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:47:43.83189+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:47:43.83198+08:00 INFO [22060,dda233665f293bd9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dda233665f293bd9, duration=3.223906ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:48:43.98695+08:00 INFO [22060,742f8c6f49a8eb5d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=742f8c6f49a8eb5d, body=] 2023-05-15T13:48:43.98705+08:00 INFO [22060,742f8c6f49a8eb5d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=742f8c6f49a8eb5d, duration=4.379µs, status=200, data=2023-05-15 13:48:43.987033935 +0800 CST m=+5315.191417963] 2023-05-15T13:48:44.16052+08:00 INFO [22060,b813aac30b1e1052] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b813aac30b1e1052, body={"processName":"ocp_mgragent"}] 2023-05-15T13:48:44.19891+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="98.134µs" 2023-05-15T13:48:44.23077+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.958865ms 2023-05-15T13:48:44.23087+08:00 INFO [22060,b813aac30b1e1052] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316198}]" 2023-05-15T13:48:44.23097+08:00 INFO [22060,b813aac30b1e1052] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b813aac30b1e1052, duration=70.339168ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316198}]}] 2023-05-15T13:48:44.28824+08:00 INFO [22060,d15454f0d092fbf1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d15454f0d092fbf1, body={"processName":"ocp_monagent"}] 2023-05-15T13:48:44.32181+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.462µs" 2023-05-15T13:48:44.34615+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.391362ms 2023-05-15T13:48:44.34623+08:00 INFO [22060,d15454f0d092fbf1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316321}]" 2023-05-15T13:48:44.34631+08:00 INFO [22060,d15454f0d092fbf1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d15454f0d092fbf1, duration=57.964672ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316321}]}] 2023-05-15T13:48:44.402+08:00 INFO [22060,bb5af5cf4e864220] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bb5af5cf4e864220, body={"processName":"ocp_agentd"}] 2023-05-15T13:48:44.44184+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="57.502µs" 2023-05-15T13:48:44.46633+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.552045ms 2023-05-15T13:48:44.46643+08:00 INFO [22060,bb5af5cf4e864220] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316441}]" 2023-05-15T13:48:44.46651+08:00 INFO [22060,bb5af5cf4e864220] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bb5af5cf4e864220, duration=64.415684ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5316441}]}] 2023-05-15T13:48:45.05678+08:00 INFO [22060,28b3b552e04e2dd5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28b3b552e04e2dd5, body=] 2023-05-15T13:48:45.05688+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:48:45.05694+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:48:45.05698+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:48:45.05999+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:48:45.06008+08:00 INFO [22060,28b3b552e04e2dd5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28b3b552e04e2dd5, duration=3.180739ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:49:45.20767+08:00 INFO [22060,f01fe61e681e38fb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f01fe61e681e38fb, body=] 2023-05-15T13:49:45.20779+08:00 INFO [22060,f01fe61e681e38fb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f01fe61e681e38fb, duration=4.599µs, status=200, data=2023-05-15 13:49:45.207752798 +0800 CST m=+5376.412136827] 2023-05-15T13:49:45.321+08:00 INFO [22060,eb56e248bb81e7d1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb56e248bb81e7d1, body={"processName":"ocp_mgragent"}] 2023-05-15T13:49:45.35898+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.274µs" 2023-05-15T13:49:45.38365+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.728163ms 2023-05-15T13:49:45.38376+08:00 INFO [22060,eb56e248bb81e7d1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377358}]" 2023-05-15T13:49:45.38387+08:00 INFO [22060,eb56e248bb81e7d1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb56e248bb81e7d1, duration=62.753894ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377358}]}] 2023-05-15T13:49:45.49839+08:00 INFO [22060,11f8553060cf399e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11f8553060cf399e, body={"processName":"ocp_monagent"}] 2023-05-15T13:49:45.53716+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="61.182µs" 2023-05-15T13:49:45.56515+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.05476ms 2023-05-15T13:49:45.56524+08:00 INFO [22060,11f8553060cf399e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377536}]" 2023-05-15T13:49:45.56533+08:00 INFO [22060,11f8553060cf399e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11f8553060cf399e, duration=66.855633ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377536}]}] 2023-05-15T13:49:45.71758+08:00 INFO [22060,ff98539a8fd4c88d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff98539a8fd4c88d, body={"processName":"ocp_agentd"}] 2023-05-15T13:49:45.75339+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.577µs" 2023-05-15T13:49:45.78394+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.594583ms 2023-05-15T13:49:45.78403+08:00 INFO [22060,ff98539a8fd4c88d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377753}]" 2023-05-15T13:49:45.7841+08:00 INFO [22060,ff98539a8fd4c88d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff98539a8fd4c88d, duration=66.428489ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5377753}]}] 2023-05-15T13:49:46.36943+08:00 INFO [22060,e318929d4972045b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e318929d4972045b, body=] 2023-05-15T13:49:46.36951+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:49:46.36955+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:49:46.36958+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:49:46.37253+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:49:46.37263+08:00 INFO [22060,e318929d4972045b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e318929d4972045b, duration=3.09753ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:50:46.59143+08:00 INFO [22060,fc800b072aefc5aa] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc800b072aefc5aa, body=] 2023-05-15T13:50:46.59156+08:00 INFO [22060,fc800b072aefc5aa] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc800b072aefc5aa, duration=4.837µs, status=200, data=2023-05-15 13:50:46.591532701 +0800 CST m=+5437.795916741] 2023-05-15T13:50:46.72576+08:00 INFO [22060,4d98225b2f8e258c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d98225b2f8e258c, body={"processName":"ocp_mgragent"}] 2023-05-15T13:50:46.76215+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="195.984µs" 2023-05-15T13:50:46.78934+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.381115ms 2023-05-15T13:50:46.78942+08:00 INFO [22060,4d98225b2f8e258c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5438761}]" 2023-05-15T13:50:46.78951+08:00 INFO [22060,4d98225b2f8e258c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d98225b2f8e258c, duration=63.653522ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5438761}]}] 2023-05-15T13:50:46.99658+08:00 INFO [22060,20ed7e151202644f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=20ed7e151202644f, body={"processName":"ocp_monagent"}] 2023-05-15T13:50:47.03249+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="56.018µs" 2023-05-15T13:50:47.06202+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.581717ms 2023-05-15T13:50:47.06211+08:00 INFO [22060,20ed7e151202644f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5439032}]" 2023-05-15T13:50:47.06221+08:00 INFO [22060,20ed7e151202644f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=20ed7e151202644f, duration=65.511132ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5439032}]}] 2023-05-15T13:50:47.18673+08:00 INFO [22060,a4303e2fb6769d1a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4303e2fb6769d1a, body={"processName":"ocp_agentd"}] 2023-05-15T13:50:47.22221+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="66.27µs" 2023-05-15T13:50:47.24681+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.668216ms 2023-05-15T13:50:47.24692+08:00 INFO [22060,a4303e2fb6769d1a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5439221}]" 2023-05-15T13:50:47.24703+08:00 INFO [22060,a4303e2fb6769d1a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4303e2fb6769d1a, duration=60.167777ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5439221}]}] 2023-05-15T13:50:48.34979+08:00 INFO [22060,c1ec18428233da26] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1ec18428233da26, body=] 2023-05-15T13:50:48.34988+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:50:48.34994+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:50:48.34998+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:50:48.35316+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:50:48.35323+08:00 INFO [22060,c1ec18428233da26] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1ec18428233da26, duration=3.330053ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:51:38.27342+08:00 INFO [22060,f6fefaa21ee249db] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6fefaa21ee249db, body={"processName":"observer"}] 2023-05-15T13:51:38.31061+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="47.124µs" 2023-05-15T13:51:38.36063+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=50.075608ms 2023-05-15T13:51:38.36074+08:00 INFO [22060,f6fefaa21ee249db] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 2751310}]" 2023-05-15T13:51:38.36085+08:00 INFO [22060,f6fefaa21ee249db] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6fefaa21ee249db, duration=87.300146ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 2751310}]}] 2023-05-15T13:51:44.92825+08:00 INFO [22060,cc9f4fc16acc4da8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc9f4fc16acc4da8, body={"processName":"observer"}] 2023-05-15T13:51:44.96175+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration="47.217µs" 2023-05-15T13:51:45.02071+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '8112/' || true; }, timeout=10s} fields: duration=59.001454ms 2023-05-15T13:51:45.02081+08:00 INFO [22060,cc9f4fc16acc4da8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 2757961}]" 2023-05-15T13:51:45.02092+08:00 INFO [22060,cc9f4fc16acc4da8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc9f4fc16acc4da8, duration=92.537069ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 8112, name: observer, cmdLine: /chj/data/oceanbase/home/admin/oceanbase/bin/observer -r 192.168.46.141:2882:2881;192.168.47.141:2882:2881;192.168.47.142:2882:2881 -p 2881 -P 2882 -z zone1 -n lcltest -c 1 -d /chj/data/oceanbase/data/1 -i ens160 -l INFO -o __min_full_resource_pool_memory=268435456,memory_limit=8G,system_memory=3G,stack_size=512K,cpu_count=6,cache_wash_threshold=1G,workers_per_cpu_quota=10,schema_history_expire_time=1d,net_thread_count=4,major_freeze_duty_time=Disable,minor_freeze_times=10,enable_separate_sys_clog=0,enable_merge_by_turn=False,datafile_disk_percentage=20,enable_syslog_wf=False,enable_syslog_recycle=True,max_syslog_file_count=4, username: admin, createTime: 2023-05-15 13:05:47 +0800 CST, elapsedTime: 2757961}]}] 2023-05-15T13:51:48.61424+08:00 INFO [22060,badb21d2941b2b8e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=badb21d2941b2b8e, body=] 2023-05-15T13:51:48.61434+08:00 INFO [22060,badb21d2941b2b8e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=badb21d2941b2b8e, duration=3.742µs, status=200, data=2023-05-15 13:51:48.614323429 +0800 CST m=+5499.818707458] 2023-05-15T13:51:48.86509+08:00 INFO [22060,6383ae8a3ee8b7cc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6383ae8a3ee8b7cc, body={"processName":"ocp_mgragent"}] 2023-05-15T13:51:48.90905+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.02µs" 2023-05-15T13:51:48.93317+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.179841ms 2023-05-15T13:51:48.93328+08:00 INFO [22060,6383ae8a3ee8b7cc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5500908}]" 2023-05-15T13:51:48.93339+08:00 INFO [22060,6383ae8a3ee8b7cc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6383ae8a3ee8b7cc, duration=68.185347ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5500908}]}] 2023-05-15T13:51:49.04356+08:00 INFO [22060,5167b3162682cec9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5167b3162682cec9, body={"processName":"ocp_monagent"}] 2023-05-15T13:51:49.07723+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.192µs" 2023-05-15T13:51:49.10249+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.311537ms 2023-05-15T13:51:49.10257+08:00 INFO [22060,5167b3162682cec9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5501077}]" 2023-05-15T13:51:49.10265+08:00 INFO [22060,5167b3162682cec9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5167b3162682cec9, duration=59.002017ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5501077}]}] 2023-05-15T13:51:49.27075+08:00 INFO [22060,c7b09e7e38eb45a6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c7b09e7e38eb45a6, body={"processName":"ocp_agentd"}] 2023-05-15T13:51:49.30646+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="62.926µs" 2023-05-15T13:51:49.33325+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.858233ms 2023-05-15T13:51:49.33336+08:00 INFO [22060,c7b09e7e38eb45a6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5501306}]" 2023-05-15T13:51:49.33348+08:00 INFO [22060,c7b09e7e38eb45a6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c7b09e7e38eb45a6, duration=62.623871ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5501306}]}] 2023-05-15T13:51:50.09164+08:00 INFO [22060,7b03b2e7cd7d0ac8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b03b2e7cd7d0ac8, body=] 2023-05-15T13:51:50.09172+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:51:50.09176+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:51:50.09178+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:51:50.09442+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:51:50.0945+08:00 INFO [22060,7b03b2e7cd7d0ac8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b03b2e7cd7d0ac8, duration=2.762017ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:52:50.21385+08:00 INFO [22060,f2e244cc2b7ad1f1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2e244cc2b7ad1f1, body=] 2023-05-15T13:52:50.214+08:00 INFO [22060,f2e244cc2b7ad1f1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2e244cc2b7ad1f1, duration=4.268µs, status=200, data=2023-05-15 13:52:50.213960882 +0800 CST m=+5561.418344915] 2023-05-15T13:52:50.28777+08:00 INFO [22060,8141c44ba587eeb9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8141c44ba587eeb9, body={"processName":"ocp_mgragent"}] 2023-05-15T13:52:50.31983+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.607µs" 2023-05-15T13:52:50.3414+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=21.623688ms 2023-05-15T13:52:50.34149+08:00 INFO [22060,8141c44ba587eeb9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562319}]" 2023-05-15T13:52:50.34157+08:00 INFO [22060,8141c44ba587eeb9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8141c44ba587eeb9, duration=53.674588ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562319}]}] 2023-05-15T13:52:50.41518+08:00 INFO [22060,e23b1f6d38184e53] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e23b1f6d38184e53, body={"processName":"ocp_monagent"}] 2023-05-15T13:52:50.45002+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="53.844µs" 2023-05-15T13:52:50.46692+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=16.950108ms 2023-05-15T13:52:50.467+08:00 INFO [22060,e23b1f6d38184e53] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562449}]" 2023-05-15T13:52:50.4671+08:00 INFO [22060,e23b1f6d38184e53] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e23b1f6d38184e53, duration=51.793734ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562449}]}] 2023-05-15T13:52:50.52697+08:00 INFO [22060,c44d21af5b43ab7e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c44d21af5b43ab7e, body={"processName":"ocp_agentd"}] 2023-05-15T13:52:50.55862+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.161µs" 2023-05-15T13:52:50.57493+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=16.361427ms 2023-05-15T13:52:50.57503+08:00 INFO [22060,c44d21af5b43ab7e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562558}]" 2023-05-15T13:52:50.57513+08:00 INFO [22060,c44d21af5b43ab7e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c44d21af5b43ab7e, duration=48.053432ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5562558}]}] 2023-05-15T13:52:51.52617+08:00 INFO [22060,170aa5c7c25fae23] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=170aa5c7c25fae23, body=] 2023-05-15T13:52:51.52625+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:52:51.52631+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:52:51.52633+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:52:51.52925+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:52:51.52933+08:00 INFO [22060,170aa5c7c25fae23] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=170aa5c7c25fae23, duration=3.053243ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:53:39.65073+08:00 INFO [22060,69dc536f425a4542] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69dc536f425a4542, body={"processName":"observer"}] 2023-05-15T13:53:39.69367+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="48.442µs" 2023-05-15T13:53:39.75181+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=58.192083ms 2023-05-15T13:53:39.75193+08:00 INFO [22060,69dc536f425a4542] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 46693}]" 2023-05-15T13:53:39.75201+08:00 INFO [22060,69dc536f425a4542] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69dc536f425a4542, duration=101.157563ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 46693}]}] 2023-05-15T13:53:44.88561+08:00 INFO [22060,5117792a47434d96] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5117792a47434d96, body={"processName":"observer"}] 2023-05-15T13:53:44.92498+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="179.072µs" 2023-05-15T13:53:44.98244+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=57.63396ms 2023-05-15T13:53:44.98256+08:00 INFO [22060,5117792a47434d96] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 51924}]" 2023-05-15T13:53:44.98266+08:00 INFO [22060,5117792a47434d96] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5117792a47434d96, duration=96.956491ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 51924}]}] 2023-05-15T13:53:51.87719+08:00 INFO [22060,6b875f04ab544bc8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b875f04ab544bc8, body=] 2023-05-15T13:53:51.87729+08:00 INFO [22060,6b875f04ab544bc8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b875f04ab544bc8, duration=4.4µs, status=200, data=2023-05-15 13:53:51.877271537 +0800 CST m=+5623.081655570] 2023-05-15T13:53:52.13041+08:00 INFO [22060,004d3d1a81e90f08] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=004d3d1a81e90f08, body={"processName":"ocp_mgragent"}] 2023-05-15T13:53:52.16536+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.244µs" 2023-05-15T13:53:52.19121+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.913949ms 2023-05-15T13:53:52.19129+08:00 INFO [22060,004d3d1a81e90f08] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624165}]" 2023-05-15T13:53:52.19137+08:00 INFO [22060,004d3d1a81e90f08] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=004d3d1a81e90f08, duration=60.857772ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624165}]}] 2023-05-15T13:53:52.33081+08:00 INFO [22060,dadeeb78d765b37d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dadeeb78d765b37d, body={"processName":"ocp_monagent"}] 2023-05-15T13:53:52.36683+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.658µs" 2023-05-15T13:53:52.39155+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.786388ms 2023-05-15T13:53:52.39166+08:00 INFO [22060,dadeeb78d765b37d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624366}]" 2023-05-15T13:53:52.39176+08:00 INFO [22060,dadeeb78d765b37d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dadeeb78d765b37d, duration=60.827066ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624366}]}] 2023-05-15T13:53:52.62595+08:00 INFO [22060,9d4c55e23192e729] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9d4c55e23192e729, body={"processName":"ocp_agentd"}] 2023-05-15T13:53:52.66168+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="202.381µs" 2023-05-15T13:53:52.68756+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.086754ms 2023-05-15T13:53:52.68765+08:00 INFO [22060,9d4c55e23192e729] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624661}]" 2023-05-15T13:53:52.68775+08:00 INFO [22060,9d4c55e23192e729] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9d4c55e23192e729, duration=61.697134ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5624661}]}] 2023-05-15T13:53:53.49726+08:00 INFO [22060,51d4e56b7751afe9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51d4e56b7751afe9, body=] 2023-05-15T13:53:53.49733+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:53:53.49738+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:53:53.4974+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:53:53.49973+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:53:53.4998+08:00 INFO [22060,51d4e56b7751afe9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51d4e56b7751afe9, duration=2.452176ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:54:53.64238+08:00 INFO [22060,a7df5f05ccbcf3f5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7df5f05ccbcf3f5, body=] 2023-05-15T13:54:53.64252+08:00 INFO [22060,a7df5f05ccbcf3f5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7df5f05ccbcf3f5, duration=4.933µs, status=200, data=2023-05-15 13:54:53.642483467 +0800 CST m=+5684.846867495] 2023-05-15T13:54:53.93895+08:00 INFO [22060,809e60c688b364e5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=809e60c688b364e5, body={"processName":"ocp_mgragent"}] 2023-05-15T13:54:53.98402+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="68.565µs" 2023-05-15T13:54:54.01433+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.37224ms 2023-05-15T13:54:54.01443+08:00 INFO [22060,809e60c688b364e5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5685983}]" 2023-05-15T13:54:54.01451+08:00 INFO [22060,809e60c688b364e5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=809e60c688b364e5, duration=75.451616ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5685983}]}] 2023-05-15T13:54:54.27989+08:00 INFO [22060,5e44fe84fe33cf79] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e44fe84fe33cf79, body={"processName":"ocp_monagent"}] 2023-05-15T13:54:54.31846+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="55.738µs" 2023-05-15T13:54:54.34489+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.492064ms 2023-05-15T13:54:54.34504+08:00 INFO [22060,5e44fe84fe33cf79] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5686318}]" 2023-05-15T13:54:54.34515+08:00 INFO [22060,5e44fe84fe33cf79] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e44fe84fe33cf79, duration=65.145037ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5686318}]}] 2023-05-15T13:54:54.48345+08:00 INFO [22060,085f1ac462f7573a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=085f1ac462f7573a, body={"processName":"ocp_agentd"}] 2023-05-15T13:54:54.51838+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.389µs" 2023-05-15T13:54:54.54478+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.451354ms 2023-05-15T13:54:54.54487+08:00 INFO [22060,085f1ac462f7573a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5686518}]" 2023-05-15T13:54:54.54499+08:00 INFO [22060,085f1ac462f7573a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=085f1ac462f7573a, duration=61.434903ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5686518}]}] 2023-05-15T13:54:55.15096+08:00 INFO [22060,2b62d9115b2f6663] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b62d9115b2f6663, body=] 2023-05-15T13:54:55.15107+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:54:55.15115+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:54:55.15118+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:54:55.15488+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:54:55.15501+08:00 INFO [22060,2b62d9115b2f6663] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2b62d9115b2f6663, duration=3.909016ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:55:55.29889+08:00 INFO [22060,65d0e8470d2dc842] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65d0e8470d2dc842, body=] 2023-05-15T13:55:55.299+08:00 INFO [22060,65d0e8470d2dc842] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65d0e8470d2dc842, duration=4.29µs, status=200, data=2023-05-15 13:55:55.298973585 +0800 CST m=+5746.503357614] 2023-05-15T13:55:55.40974+08:00 INFO [22060,48d13bf51187f429] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48d13bf51187f429, body={"processName":"ocp_mgragent"}] 2023-05-15T13:55:55.44254+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.436µs" 2023-05-15T13:55:55.46918+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.689894ms 2023-05-15T13:55:55.46927+08:00 INFO [22060,48d13bf51187f429] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747442}]" 2023-05-15T13:55:55.46936+08:00 INFO [22060,48d13bf51187f429] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48d13bf51187f429, duration=59.51916ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747442}]}] 2023-05-15T13:55:55.57164+08:00 INFO [22060,15036e91039ab136] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=15036e91039ab136, body={"processName":"ocp_monagent"}] 2023-05-15T13:55:55.60348+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="43.158µs" 2023-05-15T13:55:55.62834+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.904983ms 2023-05-15T13:55:55.62842+08:00 INFO [22060,15036e91039ab136] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747603}]" 2023-05-15T13:55:55.62849+08:00 INFO [22060,15036e91039ab136] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=15036e91039ab136, duration=56.757822ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747603}]}] 2023-05-15T13:55:55.73195+08:00 INFO [22060,07dd0dfc6f908f52] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07dd0dfc6f908f52, body={"processName":"ocp_agentd"}] 2023-05-15T13:55:55.76967+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="71.569µs" 2023-05-15T13:55:55.79573+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.135482ms 2023-05-15T13:55:55.79582+08:00 INFO [22060,07dd0dfc6f908f52] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747769}]" 2023-05-15T13:55:55.79592+08:00 INFO [22060,07dd0dfc6f908f52] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=07dd0dfc6f908f52, duration=63.86333ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5747769}]}] 2023-05-15T13:55:56.38869+08:00 INFO [22060,595f86277f6b4e8c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=595f86277f6b4e8c, body=] 2023-05-15T13:55:56.38878+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:55:56.38884+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:55:56.38889+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:55:56.39148+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:55:56.39156+08:00 INFO [22060,595f86277f6b4e8c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=595f86277f6b4e8c, duration=2.756046ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:56:56.67875+08:00 INFO [22060,76fdb5dddcf0988e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76fdb5dddcf0988e, body=] 2023-05-15T13:56:56.67889+08:00 INFO [22060,76fdb5dddcf0988e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76fdb5dddcf0988e, duration=4.069µs, status=200, data=2023-05-15 13:56:56.678848762 +0800 CST m=+5807.883232794] 2023-05-15T13:56:56.81916+08:00 INFO [22060,f18f388c15872ff8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f18f388c15872ff8, body={"processName":"ocp_mgragent"}] 2023-05-15T13:56:56.85242+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="44.595µs" 2023-05-15T13:56:56.878+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.619411ms 2023-05-15T13:56:56.87809+08:00 INFO [22060,f18f388c15872ff8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5808852}]" 2023-05-15T13:56:56.87818+08:00 INFO [22060,f18f388c15872ff8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f18f388c15872ff8, duration=58.910901ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5808852}]}] 2023-05-15T13:56:56.96504+08:00 INFO [22060,4882e84704bc8453] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4882e84704bc8453, body={"processName":"ocp_monagent"}] 2023-05-15T13:56:57.00216+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.886µs" 2023-05-15T13:56:57.02819+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.085789ms 2023-05-15T13:56:57.02832+08:00 INFO [22060,4882e84704bc8453] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5809001}]" 2023-05-15T13:56:57.02846+08:00 INFO [22060,4882e84704bc8453] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4882e84704bc8453, duration=63.307075ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5809001}]}] 2023-05-15T13:56:57.17025+08:00 INFO [22060,34dd09ab9aeb1578] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34dd09ab9aeb1578, body={"processName":"ocp_agentd"}] 2023-05-15T13:56:57.20617+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="43.775µs" 2023-05-15T13:56:57.23094+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.813094ms 2023-05-15T13:56:57.23103+08:00 INFO [22060,34dd09ab9aeb1578] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5809206}]" 2023-05-15T13:56:57.23112+08:00 INFO [22060,34dd09ab9aeb1578] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=34dd09ab9aeb1578, duration=60.769838ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5809206}]}] 2023-05-15T13:56:57.7944+08:00 INFO [22060,af22b46115414ba4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af22b46115414ba4, body=] 2023-05-15T13:56:57.79449+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:56:57.79455+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:56:57.79458+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:56:57.79753+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:56:57.79761+08:00 INFO [22060,af22b46115414ba4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af22b46115414ba4, duration=3.104617ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:57:57.91478+08:00 INFO [22060,f6a0799bae5dc2ab] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6a0799bae5dc2ab, body=] 2023-05-15T13:57:57.9149+08:00 INFO [22060,f6a0799bae5dc2ab] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6a0799bae5dc2ab, duration=4.718µs, status=200, data=2023-05-15 13:57:57.914879056 +0800 CST m=+5869.119263087] 2023-05-15T13:57:58.07545+08:00 INFO [22060,316d49139e5373ad] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=316d49139e5373ad, body={"processName":"ocp_mgragent"}] 2023-05-15T13:57:58.11198+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="90.488µs" 2023-05-15T13:57:58.14934+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=37.445886ms 2023-05-15T13:57:58.14947+08:00 INFO [22060,316d49139e5373ad] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870111}]" 2023-05-15T13:57:58.14956+08:00 INFO [22060,316d49139e5373ad] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=316d49139e5373ad, duration=73.999467ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870111}]}] 2023-05-15T13:57:58.30852+08:00 INFO [22060,ba97cf8b8047f779] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba97cf8b8047f779, body={"processName":"ocp_monagent"}] 2023-05-15T13:57:58.34633+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="78.014µs" 2023-05-15T13:57:58.37373+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.479441ms 2023-05-15T13:57:58.37384+08:00 INFO [22060,ba97cf8b8047f779] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870346}]" 2023-05-15T13:57:58.37398+08:00 INFO [22060,ba97cf8b8047f779] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba97cf8b8047f779, duration=65.346946ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870346}]}] 2023-05-15T13:57:58.49182+08:00 INFO [22060,1b7abd5df5d2bf81] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1b7abd5df5d2bf81, body={"processName":"ocp_agentd"}] 2023-05-15T13:57:58.52548+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.351µs" 2023-05-15T13:57:58.55247+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.045279ms 2023-05-15T13:57:58.55256+08:00 INFO [22060,1b7abd5df5d2bf81] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870525}]" 2023-05-15T13:57:58.55265+08:00 INFO [22060,1b7abd5df5d2bf81] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1b7abd5df5d2bf81, duration=60.728129ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5870525}]}] 2023-05-15T13:57:59.06923+08:00 INFO [22060,b6b55d1a6a9e2501] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b6b55d1a6a9e2501, body=] 2023-05-15T13:57:59.0693+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:57:59.06935+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:57:59.06938+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:57:59.07254+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:57:59.07263+08:00 INFO [22060,b6b55d1a6a9e2501] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b6b55d1a6a9e2501, duration=3.309773ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T13:58:59.26374+08:00 INFO [22060,5514444651291012] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5514444651291012, body=] 2023-05-15T13:58:59.26388+08:00 INFO [22060,5514444651291012] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5514444651291012, duration=3.503µs, status=200, data=2023-05-15 13:58:59.263833239 +0800 CST m=+5930.468217270] 2023-05-15T13:58:59.37017+08:00 INFO [22060,6433e114691c713d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6433e114691c713d, body={"processName":"ocp_mgragent"}] 2023-05-15T13:58:59.40362+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.516µs" 2023-05-15T13:58:59.42927+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.694724ms 2023-05-15T13:58:59.42937+08:00 INFO [22060,6433e114691c713d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931403}]" 2023-05-15T13:58:59.42944+08:00 INFO [22060,6433e114691c713d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6433e114691c713d, duration=59.155947ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931403}]}] 2023-05-15T13:58:59.58097+08:00 INFO [22060,37e75e9f23d07ae1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37e75e9f23d07ae1, body={"processName":"ocp_monagent"}] 2023-05-15T13:58:59.61468+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.243µs" 2023-05-15T13:58:59.63882+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.187651ms 2023-05-15T13:58:59.63891+08:00 INFO [22060,37e75e9f23d07ae1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931614}]" 2023-05-15T13:58:59.63899+08:00 INFO [22060,37e75e9f23d07ae1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37e75e9f23d07ae1, duration=57.931041ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931614}]}] 2023-05-15T13:58:59.70672+08:00 INFO [22060,8c88648f30c7123f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c88648f30c7123f, body={"processName":"ocp_agentd"}] 2023-05-15T13:58:59.74221+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.687µs" 2023-05-15T13:58:59.7774+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=35.244681ms 2023-05-15T13:58:59.77748+08:00 INFO [22060,8c88648f30c7123f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931742}]" 2023-05-15T13:58:59.77756+08:00 INFO [22060,8c88648f30c7123f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c88648f30c7123f, duration=70.728882ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5931742}]}] 2023-05-15T13:59:00.34288+08:00 INFO [22060,d81a5a269d11ce74] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d81a5a269d11ce74, body=] 2023-05-15T13:59:00.34297+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T13:59:00.34302+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T13:59:00.34304+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T13:59:00.35026+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T13:59:00.35036+08:00 INFO [22060,d81a5a269d11ce74] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d81a5a269d11ce74, duration=7.369318ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:00:00.48755+08:00 INFO [22060,059743039232eabf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=059743039232eabf, body=] 2023-05-15T14:00:00.48766+08:00 INFO [22060,059743039232eabf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=059743039232eabf, duration=3.706µs, status=200, data=2023-05-15 14:00:00.487643586 +0800 CST m=+5991.692027617] 2023-05-15T14:00:00.67124+08:00 INFO [22060,c6f35cb579d16994] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c6f35cb579d16994, body={"processName":"ocp_mgragent"}] 2023-05-15T14:00:00.71027+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.058µs" 2023-05-15T14:00:00.73705+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.848628ms 2023-05-15T14:00:00.73715+08:00 INFO [22060,c6f35cb579d16994] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5992710}]" 2023-05-15T14:00:00.73726+08:00 INFO [22060,c6f35cb579d16994] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c6f35cb579d16994, duration=65.899165ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5992710}]}] 2023-05-15T14:00:00.97108+08:00 INFO [22060,d2b6884c811d2b53] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d2b6884c811d2b53, body={"processName":"ocp_monagent"}] 2023-05-15T14:00:01.01006+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.975µs" 2023-05-15T14:00:01.03575+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.739945ms 2023-05-15T14:00:01.03584+08:00 INFO [22060,d2b6884c811d2b53] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5993009}]" 2023-05-15T14:00:01.03593+08:00 INFO [22060,d2b6884c811d2b53] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d2b6884c811d2b53, duration=64.719983ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5993009}]}] 2023-05-15T14:00:01.20913+08:00 INFO [22060,4f4e249fc7099be7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f4e249fc7099be7, body={"processName":"ocp_agentd"}] 2023-05-15T14:00:01.24534+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="84.182µs" 2023-05-15T14:00:01.276+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.745782ms 2023-05-15T14:00:01.27609+08:00 INFO [22060,4f4e249fc7099be7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5993244}]" 2023-05-15T14:00:01.27618+08:00 INFO [22060,4f4e249fc7099be7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f4e249fc7099be7, duration=66.928655ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 5993244}]}] 2023-05-15T14:00:02.24113+08:00 INFO [22060,afc8cb7f4b909440] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=afc8cb7f4b909440, body=] 2023-05-15T14:00:02.24121+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:00:02.24126+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:00:02.24128+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:00:02.24419+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:00:02.24428+08:00 INFO [22060,afc8cb7f4b909440] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=afc8cb7f4b909440, duration=3.045206ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:01:02.40667+08:00 INFO [22060,3a15e9508199192c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a15e9508199192c, body=] 2023-05-15T14:01:02.40679+08:00 INFO [22060,3a15e9508199192c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a15e9508199192c, duration=4.321µs, status=200, data=2023-05-15 14:01:02.406758603 +0800 CST m=+6053.611142633] 2023-05-15T14:01:02.55828+08:00 INFO [22060,e629d8afb48dca39] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e629d8afb48dca39, body={"processName":"ocp_mgragent"}] 2023-05-15T14:01:02.59527+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.978µs" 2023-05-15T14:01:02.62777+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.564874ms 2023-05-15T14:01:02.62791+08:00 INFO [22060,e629d8afb48dca39] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6054595}]" 2023-05-15T14:01:02.62804+08:00 INFO [22060,e629d8afb48dca39] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e629d8afb48dca39, duration=69.62937ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6054595}]}] 2023-05-15T14:01:02.74511+08:00 INFO [22060,1ce865b4db63d907] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ce865b4db63d907, body={"processName":"ocp_monagent"}] 2023-05-15T14:01:02.78384+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="60.341µs" 2023-05-15T14:01:02.81116+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.380871ms 2023-05-15T14:01:02.81125+08:00 INFO [22060,1ce865b4db63d907] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6054783}]" 2023-05-15T14:01:02.81135+08:00 INFO [22060,1ce865b4db63d907] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ce865b4db63d907, duration=66.137574ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6054783}]}] 2023-05-15T14:01:02.99791+08:00 INFO [22060,af63f49adc1461d1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af63f49adc1461d1, body={"processName":"ocp_agentd"}] 2023-05-15T14:01:03.036+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="156.665µs" 2023-05-15T14:01:03.06277+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.924522ms 2023-05-15T14:01:03.06292+08:00 INFO [22060,af63f49adc1461d1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6055035}]" 2023-05-15T14:01:03.06302+08:00 INFO [22060,af63f49adc1461d1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af63f49adc1461d1, duration=65.014965ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6055035}]}] 2023-05-15T14:01:03.97055+08:00 INFO [22060,fbf5fc2741e6625b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbf5fc2741e6625b, body=] 2023-05-15T14:01:03.97065+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:01:03.97072+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:01:03.97075+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:01:03.98981+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:01:03.98991+08:00 INFO [22060,fbf5fc2741e6625b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbf5fc2741e6625b, duration=19.232896ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:02:04.15825+08:00 INFO [22060,986892b32340381d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=986892b32340381d, body=] 2023-05-15T14:02:04.15837+08:00 INFO [22060,986892b32340381d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=986892b32340381d, duration=3.875µs, status=200, data=2023-05-15 14:02:04.158332036 +0800 CST m=+6115.362716068] 2023-05-15T14:02:04.45981+08:00 INFO [22060,5483b3892c219d70] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5483b3892c219d70, body={"processName":"ocp_mgragent"}] 2023-05-15T14:02:04.49393+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.103µs" 2023-05-15T14:02:04.51766+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=23.779408ms 2023-05-15T14:02:04.51775+08:00 INFO [22060,5483b3892c219d70] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116493}]" 2023-05-15T14:02:04.51782+08:00 INFO [22060,5483b3892c219d70] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5483b3892c219d70, duration=57.915033ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116493}]}] 2023-05-15T14:02:04.68526+08:00 INFO [22060,38c0e75723567f69] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38c0e75723567f69, body={"processName":"ocp_monagent"}] 2023-05-15T14:02:04.72015+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.403µs" 2023-05-15T14:02:04.74663+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.532556ms 2023-05-15T14:02:04.74671+08:00 INFO [22060,38c0e75723567f69] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116719}]" 2023-05-15T14:02:04.74679+08:00 INFO [22060,38c0e75723567f69] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38c0e75723567f69, duration=61.436244ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116719}]}] 2023-05-15T14:02:04.95319+08:00 INFO [22060,ae40ac8c477e2805] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ae40ac8c477e2805, body={"processName":"ocp_agentd"}] 2023-05-15T14:02:04.98817+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="60.921µs" 2023-05-15T14:02:05.0137+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.589277ms 2023-05-15T14:02:05.01378+08:00 INFO [22060,ae40ac8c477e2805] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116987}]" 2023-05-15T14:02:05.01385+08:00 INFO [22060,ae40ac8c477e2805] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ae40ac8c477e2805, duration=60.57614ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6116987}]}] 2023-05-15T14:02:05.90877+08:00 INFO [22060,883c394de87f0621] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=883c394de87f0621, body=] 2023-05-15T14:02:05.90884+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:02:05.90891+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:02:05.90896+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:02:05.9121+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:02:05.91218+08:00 INFO [22060,883c394de87f0621] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=883c394de87f0621, duration=3.317398ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:03:06.05133+08:00 INFO [22060,b786df1c1d385352] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b786df1c1d385352, body=] 2023-05-15T14:03:06.05143+08:00 INFO [22060,b786df1c1d385352] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b786df1c1d385352, duration=3.659µs, status=200, data=2023-05-15 14:03:06.051410211 +0800 CST m=+6177.255794243] 2023-05-15T14:03:06.24405+08:00 INFO [22060,583b5dd4d4607537] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=583b5dd4d4607537, body={"processName":"ocp_mgragent"}] 2023-05-15T14:03:06.27876+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.864µs" 2023-05-15T14:03:06.30439+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.681763ms 2023-05-15T14:03:06.30447+08:00 INFO [22060,583b5dd4d4607537] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178278}]" 2023-05-15T14:03:06.30456+08:00 INFO [22060,583b5dd4d4607537] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=583b5dd4d4607537, duration=60.41777ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178278}]}] 2023-05-15T14:03:06.43187+08:00 INFO [22060,510e4ff3df24fe8d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=510e4ff3df24fe8d, body={"processName":"ocp_monagent"}] 2023-05-15T14:03:06.46938+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.529µs" 2023-05-15T14:03:06.49714+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.804638ms 2023-05-15T14:03:06.49722+08:00 INFO [22060,510e4ff3df24fe8d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178469}]" 2023-05-15T14:03:06.4973+08:00 INFO [22060,510e4ff3df24fe8d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=510e4ff3df24fe8d, duration=65.332273ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178469}]}] 2023-05-15T14:03:06.61464+08:00 INFO [22060,d62f9d3dfd97d9e4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d62f9d3dfd97d9e4, body={"processName":"ocp_agentd"}] 2023-05-15T14:03:06.64622+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.934µs" 2023-05-15T14:03:06.672+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.835505ms 2023-05-15T14:03:06.67208+08:00 INFO [22060,d62f9d3dfd97d9e4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178646}]" 2023-05-15T14:03:06.67272+08:00 INFO [22060,d62f9d3dfd97d9e4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d62f9d3dfd97d9e4, duration=57.954908ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6178646}]}] 2023-05-15T14:03:07.55+08:00 INFO [22060,08807e10fe771541] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08807e10fe771541, body=] 2023-05-15T14:03:07.55008+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:03:07.55017+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:03:07.5502+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:03:07.55309+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:03:07.55317+08:00 INFO [22060,08807e10fe771541] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08807e10fe771541, duration=3.074194ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:04:07.64739+08:00 INFO [22060,4895686a1481c0c9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4895686a1481c0c9, body=] 2023-05-15T14:04:07.64753+08:00 INFO [22060,4895686a1481c0c9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4895686a1481c0c9, duration=5.488µs, status=200, data=2023-05-15 14:04:07.647498316 +0800 CST m=+6238.851882356] 2023-05-15T14:04:07.81319+08:00 INFO [22060,e5247aba9900ce95] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5247aba9900ce95, body={"processName":"ocp_mgragent"}] 2023-05-15T14:04:07.85111+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.226µs" 2023-05-15T14:04:07.87612+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.062284ms 2023-05-15T14:04:07.8762+08:00 INFO [22060,e5247aba9900ce95] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6239850}]" 2023-05-15T14:04:07.87628+08:00 INFO [22060,e5247aba9900ce95] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5247aba9900ce95, duration=62.981871ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6239850}]}] 2023-05-15T14:04:07.9871+08:00 INFO [22060,871e1e590fbbebb3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=871e1e590fbbebb3, body={"processName":"ocp_monagent"}] 2023-05-15T14:04:08.02317+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.357µs" 2023-05-15T14:04:08.04901+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.887286ms 2023-05-15T14:04:08.04909+08:00 INFO [22060,871e1e590fbbebb3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6240023}]" 2023-05-15T14:04:08.04917+08:00 INFO [22060,871e1e590fbbebb3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=871e1e590fbbebb3, duration=61.96533ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6240023}]}] 2023-05-15T14:04:08.20856+08:00 INFO [22060,a745040a27fff3c2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a745040a27fff3c2, body={"processName":"ocp_agentd"}] 2023-05-15T14:04:08.24228+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.984µs" 2023-05-15T14:04:08.26803+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.801426ms 2023-05-15T14:04:08.26813+08:00 INFO [22060,a745040a27fff3c2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6240242}]" 2023-05-15T14:04:08.26821+08:00 INFO [22060,a745040a27fff3c2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a745040a27fff3c2, duration=59.565028ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6240242}]}] 2023-05-15T14:04:08.77664+08:00 INFO [22060,faf0e36b8aba51eb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=faf0e36b8aba51eb, body=] 2023-05-15T14:04:08.77671+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:04:08.77676+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:04:08.77678+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:04:08.77941+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:04:08.77948+08:00 INFO [22060,faf0e36b8aba51eb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=faf0e36b8aba51eb, duration=2.758049ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:05:08.88115+08:00 INFO [22060,96a2507c116b3225] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=96a2507c116b3225, body=] 2023-05-15T14:05:08.88127+08:00 INFO [22060,96a2507c116b3225] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=96a2507c116b3225, duration=3.554µs, status=200, data=2023-05-15 14:05:08.881242465 +0800 CST m=+6300.085626495] 2023-05-15T14:05:09.0234+08:00 INFO [22060,7f038ad9c4c8a192] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f038ad9c4c8a192, body={"processName":"ocp_mgragent"}] 2023-05-15T14:05:09.0564+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.547µs" 2023-05-15T14:05:09.08072+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.369955ms 2023-05-15T14:05:09.08081+08:00 INFO [22060,7f038ad9c4c8a192] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301056}]" 2023-05-15T14:05:09.08089+08:00 INFO [22060,7f038ad9c4c8a192] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f038ad9c4c8a192, duration=57.40523ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301056}]}] 2023-05-15T14:05:09.2217+08:00 INFO [22060,78d673c79cbefeda] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=78d673c79cbefeda, body={"processName":"ocp_monagent"}] 2023-05-15T14:05:09.25547+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.445µs" 2023-05-15T14:05:09.28197+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.555979ms 2023-05-15T14:05:09.28206+08:00 INFO [22060,78d673c79cbefeda] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301255}]" 2023-05-15T14:05:09.28215+08:00 INFO [22060,78d673c79cbefeda] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=78d673c79cbefeda, duration=60.335411ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301255}]}] 2023-05-15T14:05:09.37681+08:00 INFO [22060,7a738b488d6099e3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a738b488d6099e3, body={"processName":"ocp_agentd"}] 2023-05-15T14:05:09.41441+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.905µs" 2023-05-15T14:05:09.44172+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.367617ms 2023-05-15T14:05:09.44183+08:00 INFO [22060,7a738b488d6099e3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301414}]" 2023-05-15T14:05:09.44195+08:00 INFO [22060,7a738b488d6099e3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a738b488d6099e3, duration=65.013618ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6301414}]}] 2023-05-15T14:05:10.03232+08:00 INFO [22060,51d1552105d25a16] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51d1552105d25a16, body=] 2023-05-15T14:05:10.03239+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:05:10.03244+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:05:10.03247+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:05:10.03579+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:05:10.03593+08:00 INFO [22060,51d1552105d25a16] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51d1552105d25a16, duration=3.500564ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:06:10.1434+08:00 INFO [22060,42976e3876ab96cd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=42976e3876ab96cd, body=] 2023-05-15T14:06:10.14352+08:00 INFO [22060,42976e3876ab96cd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=42976e3876ab96cd, duration=5.154µs, status=200, data=2023-05-15 14:06:10.143493863 +0800 CST m=+6361.347877930] 2023-05-15T14:06:10.2883+08:00 INFO [22060,d76209bb1ba61ec7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d76209bb1ba61ec7, body={"processName":"ocp_mgragent"}] 2023-05-15T14:06:10.32088+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="54.09µs" 2023-05-15T14:06:10.34603+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.20883ms 2023-05-15T14:06:10.34614+08:00 INFO [22060,d76209bb1ba61ec7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362320}]" 2023-05-15T14:06:10.34625+08:00 INFO [22060,d76209bb1ba61ec7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d76209bb1ba61ec7, duration=57.841195ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362320}]}] 2023-05-15T14:06:10.50991+08:00 INFO [22060,05dbc0c2529f0438] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05dbc0c2529f0438, body={"processName":"ocp_monagent"}] 2023-05-15T14:06:10.54347+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.415µs" 2023-05-15T14:06:10.56815+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.722906ms 2023-05-15T14:06:10.56823+08:00 INFO [22060,05dbc0c2529f0438] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362543}]" 2023-05-15T14:06:10.5683+08:00 INFO [22060,05dbc0c2529f0438] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05dbc0c2529f0438, duration=58.282067ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362543}]}] 2023-05-15T14:06:10.70401+08:00 INFO [22060,92938f1305cd48ea] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92938f1305cd48ea, body={"processName":"ocp_agentd"}] 2023-05-15T14:06:10.73747+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="51.628µs" 2023-05-15T14:06:10.76331+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.887327ms 2023-05-15T14:06:10.76338+08:00 INFO [22060,92938f1305cd48ea] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362737}]" 2023-05-15T14:06:10.76347+08:00 INFO [22060,92938f1305cd48ea] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92938f1305cd48ea, duration=59.341472ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6362737}]}] 2023-05-15T14:06:11.3581+08:00 INFO [22060,87ace40f229fcfbc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87ace40f229fcfbc, body=] 2023-05-15T14:06:11.35818+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:06:11.35823+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:06:11.35825+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:06:11.36159+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:06:11.36169+08:00 INFO [22060,87ace40f229fcfbc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87ace40f229fcfbc, duration=3.483579ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:07:11.5643+08:00 INFO [22060,21256a72e069872e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21256a72e069872e, body=] 2023-05-15T14:07:11.56443+08:00 INFO [22060,21256a72e069872e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21256a72e069872e, duration=5.785µs, status=200, data=2023-05-15 14:07:11.564400823 +0800 CST m=+6422.768784864] 2023-05-15T14:07:11.76649+08:00 INFO [22060,5154bc135ef267c6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5154bc135ef267c6, body={"processName":"ocp_mgragent"}] 2023-05-15T14:07:11.80108+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="96.962µs" 2023-05-15T14:07:11.8371+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=36.123397ms 2023-05-15T14:07:11.83722+08:00 INFO [22060,5154bc135ef267c6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6423800}]" 2023-05-15T14:07:11.83734+08:00 INFO [22060,5154bc135ef267c6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5154bc135ef267c6, duration=70.749892ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6423800}]}] 2023-05-15T14:07:11.94036+08:00 INFO [22060,b53e44619091a5f8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b53e44619091a5f8, body={"processName":"ocp_monagent"}] 2023-05-15T14:07:11.97325+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.917µs" 2023-05-15T14:07:11.99716+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.964711ms 2023-05-15T14:07:11.99725+08:00 INFO [22060,b53e44619091a5f8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6423973}]" 2023-05-15T14:07:11.99734+08:00 INFO [22060,b53e44619091a5f8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b53e44619091a5f8, duration=56.877308ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6423973}]}] 2023-05-15T14:07:12.10609+08:00 INFO [22060,a6bd234d5b19b144] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a6bd234d5b19b144, body={"processName":"ocp_agentd"}] 2023-05-15T14:07:12.14059+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.289µs" 2023-05-15T14:07:12.16581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.26561ms 2023-05-15T14:07:12.1659+08:00 INFO [22060,a6bd234d5b19b144] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6424140}]" 2023-05-15T14:07:12.16598+08:00 INFO [22060,a6bd234d5b19b144] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a6bd234d5b19b144, duration=59.791629ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6424140}]}] 2023-05-15T14:07:12.75011+08:00 INFO [22060,35b00e6d6225f657] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35b00e6d6225f657, body=] 2023-05-15T14:07:12.75019+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:07:12.75025+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:07:12.75027+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:07:12.75345+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:07:12.75354+08:00 INFO [22060,35b00e6d6225f657] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=35b00e6d6225f657, duration=3.32662ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:08:12.88928+08:00 INFO [22060,5745cff300d6e3f9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5745cff300d6e3f9, body=] 2023-05-15T14:08:12.88938+08:00 INFO [22060,5745cff300d6e3f9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5745cff300d6e3f9, duration=3.882µs, status=200, data=2023-05-15 14:08:12.889366142 +0800 CST m=+6484.093750172] 2023-05-15T14:08:13.05782+08:00 INFO [22060,bdd9ff359889ac08] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdd9ff359889ac08, body={"processName":"ocp_mgragent"}] 2023-05-15T14:08:13.09108+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.264µs" 2023-05-15T14:08:13.1177+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.66856ms 2023-05-15T14:08:13.11779+08:00 INFO [22060,bdd9ff359889ac08] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485090}]" 2023-05-15T14:08:13.1179+08:00 INFO [22060,bdd9ff359889ac08] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdd9ff359889ac08, duration=59.953948ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485090}]}] 2023-05-15T14:08:13.21246+08:00 INFO [22060,3515b49bc07190be] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3515b49bc07190be, body={"processName":"ocp_monagent"}] 2023-05-15T14:08:13.24775+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="112.015µs" 2023-05-15T14:08:13.27247+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.84248ms 2023-05-15T14:08:13.27259+08:00 INFO [22060,3515b49bc07190be] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485247}]" 2023-05-15T14:08:13.27271+08:00 INFO [22060,3515b49bc07190be] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3515b49bc07190be, duration=60.138404ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485247}]}] 2023-05-15T14:08:13.36799+08:00 INFO [22060,ce1072b28b583453] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ce1072b28b583453, body={"processName":"ocp_agentd"}] 2023-05-15T14:08:13.40266+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="62.389µs" 2023-05-15T14:08:13.42969+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.093025ms 2023-05-15T14:08:13.42977+08:00 INFO [22060,ce1072b28b583453] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485402}]" 2023-05-15T14:08:13.42985+08:00 INFO [22060,ce1072b28b583453] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ce1072b28b583453, duration=61.765341ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6485402}]}] 2023-05-15T14:08:14.35306+08:00 INFO [22060,10dab73324d49c8a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10dab73324d49c8a, body=] 2023-05-15T14:08:14.35314+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:08:14.3532+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:08:14.35323+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:08:14.35726+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:08:14.35737+08:00 INFO [22060,10dab73324d49c8a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10dab73324d49c8a, duration=4.193525ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:09:14.5094+08:00 INFO [22060,99d59b71d509ce86] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99d59b71d509ce86, body=] 2023-05-15T14:09:14.50949+08:00 INFO [22060,99d59b71d509ce86] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99d59b71d509ce86, duration=3.749µs, status=200, data=2023-05-15 14:09:14.509477702 +0800 CST m=+6545.713861730] 2023-05-15T14:09:14.64703+08:00 INFO [22060,23158919250e6aca] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23158919250e6aca, body={"processName":"ocp_mgragent"}] 2023-05-15T14:09:14.68243+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="230.491µs" 2023-05-15T14:09:14.70982+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.612605ms 2023-05-15T14:09:14.70992+08:00 INFO [22060,23158919250e6aca] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6546682}]" 2023-05-15T14:09:14.71+08:00 INFO [22060,23158919250e6aca] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=23158919250e6aca, duration=62.85374ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6546682}]}] 2023-05-15T14:09:14.83274+08:00 INFO [22060,0b82ef2dc88aebc8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b82ef2dc88aebc8, body={"processName":"ocp_monagent"}] 2023-05-15T14:09:14.87037+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.265µs" 2023-05-15T14:09:14.897+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.690071ms 2023-05-15T14:09:14.89712+08:00 INFO [22060,0b82ef2dc88aebc8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6546870}]" 2023-05-15T14:09:14.89723+08:00 INFO [22060,0b82ef2dc88aebc8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b82ef2dc88aebc8, duration=64.372395ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6546870}]}] 2023-05-15T14:09:15.03359+08:00 INFO [22060,39bf97b3975329aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39bf97b3975329aa, body={"processName":"ocp_agentd"}] 2023-05-15T14:09:15.06832+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.817µs" 2023-05-15T14:09:15.09368+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.404812ms 2023-05-15T14:09:15.09376+08:00 INFO [22060,39bf97b3975329aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6547068}]" 2023-05-15T14:09:15.09384+08:00 INFO [22060,39bf97b3975329aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39bf97b3975329aa, duration=60.15663ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6547068}]}] 2023-05-15T14:09:15.72336+08:00 INFO [22060,0d466afae4c3754a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d466afae4c3754a, body=] 2023-05-15T14:09:15.72345+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:09:15.7235+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:09:15.72352+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:09:15.7271+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:09:15.72725+08:00 INFO [22060,0d466afae4c3754a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d466afae4c3754a, duration=3.766751ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:10:15.83767+08:00 INFO [22060,df08d346bcfe6e2d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df08d346bcfe6e2d, body=] 2023-05-15T14:10:15.83778+08:00 INFO [22060,df08d346bcfe6e2d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df08d346bcfe6e2d, duration=4.005µs, status=200, data=2023-05-15 14:10:15.837756439 +0800 CST m=+6607.042140472] 2023-05-15T14:10:16.01613+08:00 INFO [22060,c46cedfd7663ab23] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c46cedfd7663ab23, body={"processName":"ocp_mgragent"}] 2023-05-15T14:10:16.06033+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.732µs" 2023-05-15T14:10:16.08564+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.358957ms 2023-05-15T14:10:16.08574+08:00 INFO [22060,c46cedfd7663ab23] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608060}]" 2023-05-15T14:10:16.08584+08:00 INFO [22060,c46cedfd7663ab23] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c46cedfd7663ab23, duration=69.57679ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608060}]}] 2023-05-15T14:10:16.22296+08:00 INFO [22060,04aee4e34ceeae5e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=04aee4e34ceeae5e, body={"processName":"ocp_monagent"}] 2023-05-15T14:10:16.26082+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.629µs" 2023-05-15T14:10:16.29329+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.526834ms 2023-05-15T14:10:16.29338+08:00 INFO [22060,04aee4e34ceeae5e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608260}]" 2023-05-15T14:10:16.29348+08:00 INFO [22060,04aee4e34ceeae5e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=04aee4e34ceeae5e, duration=70.411811ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608260}]}] 2023-05-15T14:10:16.57822+08:00 INFO [22060,715b6d05aedd1064] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=715b6d05aedd1064, body={"processName":"ocp_agentd"}] 2023-05-15T14:10:16.61257+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.022µs" 2023-05-15T14:10:16.64028+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.759698ms 2023-05-15T14:10:16.64038+08:00 INFO [22060,715b6d05aedd1064] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608612}]" 2023-05-15T14:10:16.64049+08:00 INFO [22060,715b6d05aedd1064] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=715b6d05aedd1064, duration=62.162001ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6608612}]}] 2023-05-15T14:10:17.22396+08:00 INFO [22060,c8138c356aaf6a92] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8138c356aaf6a92, body=] 2023-05-15T14:10:17.22405+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:10:17.2241+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:10:17.22412+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:10:17.22689+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:10:17.22698+08:00 INFO [22060,c8138c356aaf6a92] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8138c356aaf6a92, duration=2.911105ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:11:17.34018+08:00 INFO [22060,fee586705f1ac693] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fee586705f1ac693, body=] 2023-05-15T14:11:17.34031+08:00 INFO [22060,fee586705f1ac693] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fee586705f1ac693, duration=6.671µs, status=200, data=2023-05-15 14:11:17.340283056 +0800 CST m=+6668.544667098] 2023-05-15T14:11:17.50759+08:00 INFO [22060,4091efa776b10139] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4091efa776b10139, body={"processName":"ocp_mgragent"}] 2023-05-15T14:11:17.54339+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="169.526µs" 2023-05-15T14:11:17.56921+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.988506ms 2023-05-15T14:11:17.5693+08:00 INFO [22060,4091efa776b10139] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669543}]" 2023-05-15T14:11:17.56939+08:00 INFO [22060,4091efa776b10139] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4091efa776b10139, duration=61.710765ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669543}]}] 2023-05-15T14:11:17.70142+08:00 INFO [22060,883d3ed32ed294bc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=883d3ed32ed294bc, body={"processName":"ocp_monagent"}] 2023-05-15T14:11:17.73844+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.65µs" 2023-05-15T14:11:17.76615+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.769349ms 2023-05-15T14:11:17.76624+08:00 INFO [22060,883d3ed32ed294bc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669738}]" 2023-05-15T14:11:17.76633+08:00 INFO [22060,883d3ed32ed294bc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=883d3ed32ed294bc, duration=64.80399ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669738}]}] 2023-05-15T14:11:17.91965+08:00 INFO [22060,c440309ea0ed6734] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c440309ea0ed6734, body={"processName":"ocp_agentd"}] 2023-05-15T14:11:17.95544+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.937µs" 2023-05-15T14:11:17.98283+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.439852ms 2023-05-15T14:11:17.98293+08:00 INFO [22060,c440309ea0ed6734] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669955}]" 2023-05-15T14:11:17.98302+08:00 INFO [22060,c440309ea0ed6734] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c440309ea0ed6734, duration=63.250406ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6669955}]}] 2023-05-15T14:11:18.62139+08:00 INFO [22060,02019bfa59578d33] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=02019bfa59578d33, body=] 2023-05-15T14:11:18.62146+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:11:18.62151+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:11:18.62153+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:11:18.62471+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:11:18.62479+08:00 INFO [22060,02019bfa59578d33] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=02019bfa59578d33, duration=3.303383ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:12:18.76559+08:00 INFO [22060,8fed0b3e10589e6f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8fed0b3e10589e6f, body=] 2023-05-15T14:12:18.7657+08:00 INFO [22060,8fed0b3e10589e6f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8fed0b3e10589e6f, duration=4.018µs, status=200, data=2023-05-15 14:12:18.76567878 +0800 CST m=+6729.970062809] 2023-05-15T14:12:18.91712+08:00 INFO [22060,0034dd520837138b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0034dd520837138b, body={"processName":"ocp_mgragent"}] 2023-05-15T14:12:18.95171+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.644µs" 2023-05-15T14:12:18.98274+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.080213ms 2023-05-15T14:12:18.98285+08:00 INFO [22060,0034dd520837138b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6730951}]" 2023-05-15T14:12:18.98296+08:00 INFO [22060,0034dd520837138b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0034dd520837138b, duration=65.735196ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6730951}]}] 2023-05-15T14:12:19.17977+08:00 INFO [22060,fc4ae06967826b3f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc4ae06967826b3f, body={"processName":"ocp_monagent"}] 2023-05-15T14:12:19.21685+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="68.966µs" 2023-05-15T14:12:19.24212+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.327666ms 2023-05-15T14:12:19.2422+08:00 INFO [22060,fc4ae06967826b3f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6731216}]" 2023-05-15T14:12:19.24228+08:00 INFO [22060,fc4ae06967826b3f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc4ae06967826b3f, duration=62.373405ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6731216}]}] 2023-05-15T14:12:19.31951+08:00 INFO [22060,2d89170ae0939dd4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d89170ae0939dd4, body={"processName":"ocp_agentd"}] 2023-05-15T14:12:19.35621+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.89µs" 2023-05-15T14:12:19.37999+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.836662ms 2023-05-15T14:12:19.38007+08:00 INFO [22060,2d89170ae0939dd4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6731356}]" 2023-05-15T14:12:19.38026+08:00 INFO [22060,2d89170ae0939dd4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d89170ae0939dd4, duration=60.654538ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6731356}]}] 2023-05-15T14:12:19.95659+08:00 INFO [22060,b7a3c69a46ed4587] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b7a3c69a46ed4587, body=] 2023-05-15T14:12:19.95666+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:12:19.95671+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:12:19.95673+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:12:19.96213+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:12:19.96222+08:00 INFO [22060,b7a3c69a46ed4587] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b7a3c69a46ed4587, duration=5.537516ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:13:20.21868+08:00 INFO [22060,ef13110e23c55307] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ef13110e23c55307, body=] 2023-05-15T14:13:20.21878+08:00 INFO [22060,ef13110e23c55307] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ef13110e23c55307, duration=3.73µs, status=200, data=2023-05-15 14:13:20.218766698 +0800 CST m=+6791.423150727] 2023-05-15T14:13:20.35469+08:00 INFO [22060,0b6fe00546023249] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b6fe00546023249, body={"processName":"ocp_mgragent"}] 2023-05-15T14:13:20.38989+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="71.724µs" 2023-05-15T14:13:20.41804+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.221864ms 2023-05-15T14:13:20.41813+08:00 INFO [22060,0b6fe00546023249] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792389}]" 2023-05-15T14:13:20.41821+08:00 INFO [22060,0b6fe00546023249] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b6fe00546023249, duration=63.408279ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792389}]}] 2023-05-15T14:13:20.5185+08:00 INFO [22060,50650601bb3be4c4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=50650601bb3be4c4, body={"processName":"ocp_monagent"}] 2023-05-15T14:13:20.55204+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.279µs" 2023-05-15T14:13:20.57718+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.198936ms 2023-05-15T14:13:20.57728+08:00 INFO [22060,50650601bb3be4c4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792551}]" 2023-05-15T14:13:20.57737+08:00 INFO [22060,50650601bb3be4c4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=50650601bb3be4c4, duration=58.75787ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792551}]}] 2023-05-15T14:13:20.67563+08:00 INFO [22060,5aad6ee52810366c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5aad6ee52810366c, body={"processName":"ocp_agentd"}] 2023-05-15T14:13:20.70947+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.097µs" 2023-05-15T14:13:20.73539+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.988335ms 2023-05-15T14:13:20.7356+08:00 INFO [22060,5aad6ee52810366c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792709}]" 2023-05-15T14:13:20.73568+08:00 INFO [22060,5aad6ee52810366c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5aad6ee52810366c, duration=59.934936ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6792709}]}] 2023-05-15T14:13:21.45327+08:00 INFO [22060,c1428a5ffe90c438] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1428a5ffe90c438, body=] 2023-05-15T14:13:21.45337+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:13:21.45343+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:13:21.45345+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:13:21.45662+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:13:21.4567+08:00 INFO [22060,c1428a5ffe90c438] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1428a5ffe90c438, duration=3.307107ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:13:52.32294+08:00 INFO [22060,cc11e92531bf4100] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc11e92531bf4100, body={"processName":"observer"}] 2023-05-15T14:13:52.36197+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="49.399µs" 2023-05-15T14:13:52.42625+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=64.328699ms 2023-05-15T14:13:52.42641+08:00 INFO [22060,cc11e92531bf4100] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 1259361}]" 2023-05-15T14:13:52.42652+08:00 INFO [22060,cc11e92531bf4100] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc11e92531bf4100, duration=103.4523ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 1259361}]}] 2023-05-15T14:14:21.69283+08:00 INFO [22060,8599c10d3ed6c9e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8599c10d3ed6c9e6, body=] 2023-05-15T14:14:21.69295+08:00 INFO [22060,8599c10d3ed6c9e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8599c10d3ed6c9e6, duration=10.747µs, status=200, data=2023-05-15 14:14:21.692925412 +0800 CST m=+6852.897309444] 2023-05-15T14:14:21.92597+08:00 INFO [22060,927093bdb862dd5d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=927093bdb862dd5d, body={"processName":"ocp_mgragent"}] 2023-05-15T14:14:21.9634+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.307µs" 2023-05-15T14:14:21.98992+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.577004ms 2023-05-15T14:14:21.99005+08:00 INFO [22060,927093bdb862dd5d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6853963}]" 2023-05-15T14:14:21.99016+08:00 INFO [22060,927093bdb862dd5d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=927093bdb862dd5d, duration=64.072744ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6853963}]}] 2023-05-15T14:14:22.18665+08:00 INFO [22060,b72a16e786d62522] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b72a16e786d62522, body={"processName":"ocp_monagent"}] 2023-05-15T14:14:22.22416+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="96.205µs" 2023-05-15T14:14:22.25113+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.062397ms 2023-05-15T14:14:22.25125+08:00 INFO [22060,b72a16e786d62522] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6854223}]" 2023-05-15T14:14:22.25138+08:00 INFO [22060,b72a16e786d62522] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b72a16e786d62522, duration=64.594307ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6854223}]}] 2023-05-15T14:14:22.38221+08:00 INFO [22060,3624abf485951283] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3624abf485951283, body={"processName":"ocp_agentd"}] 2023-05-15T14:14:22.41485+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.191µs" 2023-05-15T14:14:22.43935+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.548842ms 2023-05-15T14:14:22.43943+08:00 INFO [22060,3624abf485951283] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6854414}]" 2023-05-15T14:14:22.4395+08:00 INFO [22060,3624abf485951283] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3624abf485951283, duration=57.197107ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6854414}]}] 2023-05-15T14:14:23.22477+08:00 INFO [22060,0b9ef64a84f875f9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b9ef64a84f875f9, body=] 2023-05-15T14:14:23.22485+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:14:23.22491+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:14:23.22493+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:14:23.22759+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:14:23.22768+08:00 INFO [22060,0b9ef64a84f875f9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b9ef64a84f875f9, duration=2.806677ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:15:23.34704+08:00 INFO [22060,adec7cf08c69d377] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adec7cf08c69d377, body=] 2023-05-15T14:15:23.34714+08:00 INFO [22060,adec7cf08c69d377] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=adec7cf08c69d377, duration=4.569µs, status=200, data=2023-05-15 14:15:23.347124372 +0800 CST m=+6914.551508402] 2023-05-15T14:15:23.55947+08:00 INFO [22060,f33ebd2c68474514] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f33ebd2c68474514, body={"processName":"ocp_mgragent"}] 2023-05-15T14:15:23.59481+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.652µs" 2023-05-15T14:15:23.62974+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.993838ms 2023-05-15T14:15:23.62984+08:00 INFO [22060,f33ebd2c68474514] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6915594}]" 2023-05-15T14:15:23.62993+08:00 INFO [22060,f33ebd2c68474514] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f33ebd2c68474514, duration=70.342384ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6915594}]}] 2023-05-15T14:15:23.78339+08:00 INFO [22060,3b73baaeef444df6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b73baaeef444df6, body={"processName":"ocp_monagent"}] 2023-05-15T14:15:23.81569+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="56.009µs" 2023-05-15T14:15:23.8405+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.885638ms 2023-05-15T14:15:23.8406+08:00 INFO [22060,3b73baaeef444df6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6915815}]" 2023-05-15T14:15:23.84068+08:00 INFO [22060,3b73baaeef444df6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b73baaeef444df6, duration=57.199171ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6915815}]}] 2023-05-15T14:15:24.05635+08:00 INFO [22060,e4ad8f2bd4420228] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e4ad8f2bd4420228, body={"processName":"ocp_agentd"}] 2023-05-15T14:15:24.09191+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="89.495µs" 2023-05-15T14:15:24.11649+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.663472ms 2023-05-15T14:15:24.11658+08:00 INFO [22060,e4ad8f2bd4420228] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6916091}]" 2023-05-15T14:15:24.11666+08:00 INFO [22060,e4ad8f2bd4420228] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e4ad8f2bd4420228, duration=60.207967ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6916091}]}] 2023-05-15T14:15:25.02956+08:00 INFO [22060,f491f6aecf0c9d2b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f491f6aecf0c9d2b, body=] 2023-05-15T14:15:25.02964+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:15:25.02969+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:15:25.02971+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:15:25.03241+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:15:25.03249+08:00 INFO [22060,f491f6aecf0c9d2b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f491f6aecf0c9d2b, duration=2.827231ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:16:25.21561+08:00 INFO [22060,e7e99269ddf255c7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e7e99269ddf255c7, body=] 2023-05-15T14:16:25.21576+08:00 INFO [22060,e7e99269ddf255c7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e7e99269ddf255c7, duration=5.568µs, status=200, data=2023-05-15 14:16:25.215728752 +0800 CST m=+6976.420112795] 2023-05-15T14:16:25.32507+08:00 INFO [22060,4ffff42985afad0c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4ffff42985afad0c, body={"processName":"ocp_mgragent"}] 2023-05-15T14:16:25.36119+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="56.153µs" 2023-05-15T14:16:25.38933+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.20319ms 2023-05-15T14:16:25.38943+08:00 INFO [22060,4ffff42985afad0c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977361}]" 2023-05-15T14:16:25.38952+08:00 INFO [22060,4ffff42985afad0c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4ffff42985afad0c, duration=64.332359ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977361}]}] 2023-05-15T14:16:25.51148+08:00 INFO [22060,2a20ce8c46399c63] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a20ce8c46399c63, body={"processName":"ocp_monagent"}] 2023-05-15T14:16:25.55105+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.083µs" 2023-05-15T14:16:25.58757+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=36.56904ms 2023-05-15T14:16:25.58769+08:00 INFO [22060,2a20ce8c46399c63] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977550}]" 2023-05-15T14:16:25.58791+08:00 INFO [22060,2a20ce8c46399c63] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a20ce8c46399c63, duration=76.292661ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977550}]}] 2023-05-15T14:16:25.76662+08:00 INFO [22060,84803302c9c8cde1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84803302c9c8cde1, body={"processName":"ocp_agentd"}] 2023-05-15T14:16:25.80464+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="58.49µs" 2023-05-15T14:16:25.83076+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.177081ms 2023-05-15T14:16:25.83085+08:00 INFO [22060,84803302c9c8cde1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977804}]" 2023-05-15T14:16:25.83094+08:00 INFO [22060,84803302c9c8cde1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84803302c9c8cde1, duration=64.187661ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 6977804}]}] 2023-05-15T14:16:26.70874+08:00 INFO [22060,ac83af42106b5f9c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac83af42106b5f9c, body=] 2023-05-15T14:16:26.70884+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:16:26.70893+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:16:26.70896+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:16:26.71268+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:16:26.71277+08:00 INFO [22060,ac83af42106b5f9c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac83af42106b5f9c, duration=3.911352ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:17:26.83868+08:00 INFO [22060,5800705e142bb9c1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5800705e142bb9c1, body=] 2023-05-15T14:17:26.83883+08:00 INFO [22060,5800705e142bb9c1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5800705e142bb9c1, duration=5.218µs, status=200, data=2023-05-15 14:17:26.838799909 +0800 CST m=+7038.043183942] 2023-05-15T14:17:26.96451+08:00 INFO [22060,c460dbfc8a47699f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c460dbfc8a47699f, body={"processName":"ocp_mgragent"}] 2023-05-15T14:17:27.00651+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="97.812µs" 2023-05-15T14:17:27.03633+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=29.907783ms 2023-05-15T14:17:27.03648+08:00 INFO [22060,c460dbfc8a47699f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039006}]" 2023-05-15T14:17:27.03658+08:00 INFO [22060,c460dbfc8a47699f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c460dbfc8a47699f, duration=71.943718ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039006}]}] 2023-05-15T14:17:27.10479+08:00 INFO [22060,b28d48156271a4a1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b28d48156271a4a1, body={"processName":"ocp_monagent"}] 2023-05-15T14:17:27.1399+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.03µs" 2023-05-15T14:17:27.16611+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.275847ms 2023-05-15T14:17:27.16621+08:00 INFO [22060,b28d48156271a4a1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039139}]" 2023-05-15T14:17:27.1663+08:00 INFO [22060,b28d48156271a4a1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b28d48156271a4a1, duration=61.380027ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039139}]}] 2023-05-15T14:17:27.26507+08:00 INFO [22060,4f76b053bd56ecae] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f76b053bd56ecae, body={"processName":"ocp_agentd"}] 2023-05-15T14:17:27.30487+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="56.221µs" 2023-05-15T14:17:27.33258+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.763897ms 2023-05-15T14:17:27.33267+08:00 INFO [22060,4f76b053bd56ecae] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039304}]" 2023-05-15T14:17:27.33275+08:00 INFO [22060,4f76b053bd56ecae] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f76b053bd56ecae, duration=67.560169ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7039304}]}] 2023-05-15T14:17:28.10472+08:00 INFO [22060,badc527c9292baef] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=badc527c9292baef, body=] 2023-05-15T14:17:28.10481+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:17:28.10489+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:17:28.10492+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:17:28.10854+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:17:28.10867+08:00 INFO [22060,badc527c9292baef] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=badc527c9292baef, duration=3.823714ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:18:28.26957+08:00 INFO [22060,dd5482ca52359c46] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dd5482ca52359c46, body=] 2023-05-15T14:18:28.26967+08:00 INFO [22060,dd5482ca52359c46] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dd5482ca52359c46, duration=3.69µs, status=200, data=2023-05-15 14:18:28.269654245 +0800 CST m=+7099.474038274] 2023-05-15T14:18:28.46963+08:00 INFO [22060,e942043806bd44d2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e942043806bd44d2, body={"processName":"ocp_mgragent"}] 2023-05-15T14:18:28.50707+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="61.606µs" 2023-05-15T14:18:28.53277+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.754929ms 2023-05-15T14:18:28.53285+08:00 INFO [22060,e942043806bd44d2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100506}]" 2023-05-15T14:18:28.53297+08:00 INFO [22060,e942043806bd44d2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e942043806bd44d2, duration=63.23046ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100506}]}] 2023-05-15T14:18:28.71689+08:00 INFO [22060,721c8f2a993a9b4d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=721c8f2a993a9b4d, body={"processName":"ocp_monagent"}] 2023-05-15T14:18:28.75091+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="79.439µs" 2023-05-15T14:18:28.77703+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.200075ms 2023-05-15T14:18:28.77713+08:00 INFO [22060,721c8f2a993a9b4d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100750}]" 2023-05-15T14:18:28.77721+08:00 INFO [22060,721c8f2a993a9b4d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=721c8f2a993a9b4d, duration=60.219725ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100750}]}] 2023-05-15T14:18:28.92992+08:00 INFO [22060,6f15c0c27bc8da53] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6f15c0c27bc8da53, body={"processName":"ocp_agentd"}] 2023-05-15T14:18:28.96988+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="60.767µs" 2023-05-15T14:18:28.99613+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.307677ms 2023-05-15T14:18:28.99621+08:00 INFO [22060,6f15c0c27bc8da53] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100969}]" 2023-05-15T14:18:28.99629+08:00 INFO [22060,6f15c0c27bc8da53] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6f15c0c27bc8da53, duration=66.263873ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7100969}]}] 2023-05-15T14:18:29.62202+08:00 INFO [22060,d423d2a163049928] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d423d2a163049928, body=] 2023-05-15T14:18:29.62212+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:18:29.62218+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:18:29.62221+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:18:29.62583+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:18:29.62593+08:00 INFO [22060,d423d2a163049928] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d423d2a163049928, duration=3.787986ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:19:29.71642+08:00 INFO [22060,612c082f0637d7eb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=612c082f0637d7eb, body=] 2023-05-15T14:19:29.7166+08:00 INFO [22060,612c082f0637d7eb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=612c082f0637d7eb, duration=5.454µs, status=200, data=2023-05-15 14:19:29.716553649 +0800 CST m=+7160.920937683] 2023-05-15T14:19:29.8276+08:00 INFO [22060,80b85c85bf81e2ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=80b85c85bf81e2ee, body={"processName":"ocp_mgragent"}] 2023-05-15T14:19:29.86249+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.778µs" 2023-05-15T14:19:29.8894+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.956636ms 2023-05-15T14:19:29.8895+08:00 INFO [22060,80b85c85bf81e2ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7161862}]" 2023-05-15T14:19:29.88958+08:00 INFO [22060,80b85c85bf81e2ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=80b85c85bf81e2ee, duration=61.87177ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7161862}]}] 2023-05-15T14:19:30.00622+08:00 INFO [22060,b671d80c0bcff771] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b671d80c0bcff771, body={"processName":"ocp_monagent"}] 2023-05-15T14:19:30.04588+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="95.973µs" 2023-05-15T14:19:30.07197+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.189002ms 2023-05-15T14:19:30.07206+08:00 INFO [22060,b671d80c0bcff771] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7162045}]" 2023-05-15T14:19:30.07215+08:00 INFO [22060,b671d80c0bcff771] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b671d80c0bcff771, duration=65.811071ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7162045}]}] 2023-05-15T14:19:30.19366+08:00 INFO [22060,f0dc70ee992805aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0dc70ee992805aa, body={"processName":"ocp_agentd"}] 2023-05-15T14:19:30.22876+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.548µs" 2023-05-15T14:19:30.25436+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.648859ms 2023-05-15T14:19:30.25445+08:00 INFO [22060,f0dc70ee992805aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7162228}]" 2023-05-15T14:19:30.25456+08:00 INFO [22060,f0dc70ee992805aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0dc70ee992805aa, duration=60.791023ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7162228}]}] 2023-05-15T14:19:31.01774+08:00 INFO [22060,848e02805f99d819] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=848e02805f99d819, body=] 2023-05-15T14:19:31.01785+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:19:31.01794+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:19:31.01797+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:19:31.02095+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:19:31.02106+08:00 INFO [22060,848e02805f99d819] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=848e02805f99d819, duration=3.179291ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:20:31.20833+08:00 INFO [22060,6d41bbe54aa0931d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6d41bbe54aa0931d, body=] 2023-05-15T14:20:31.20844+08:00 INFO [22060,6d41bbe54aa0931d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6d41bbe54aa0931d, duration=4.028µs, status=200, data=2023-05-15 14:20:31.208421649 +0800 CST m=+7222.412805681] 2023-05-15T14:20:31.32276+08:00 INFO [22060,875f0caefbbab850] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=875f0caefbbab850, body={"processName":"ocp_mgragent"}] 2023-05-15T14:20:31.35891+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="73.155µs" 2023-05-15T14:20:31.38617+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.330154ms 2023-05-15T14:20:31.38626+08:00 INFO [22060,875f0caefbbab850] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223358}]" 2023-05-15T14:20:31.38635+08:00 INFO [22060,875f0caefbbab850] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=875f0caefbbab850, duration=63.412735ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223358}]}] 2023-05-15T14:20:31.44914+08:00 INFO [22060,6e2e99dc06f1535b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e2e99dc06f1535b, body={"processName":"ocp_monagent"}] 2023-05-15T14:20:31.48854+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="67.611µs" 2023-05-15T14:20:31.51901+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.538123ms 2023-05-15T14:20:31.51912+08:00 INFO [22060,6e2e99dc06f1535b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223488}]" 2023-05-15T14:20:31.51921+08:00 INFO [22060,6e2e99dc06f1535b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e2e99dc06f1535b, duration=69.96792ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223488}]}] 2023-05-15T14:20:31.65472+08:00 INFO [22060,0675edc3a234cb82] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0675edc3a234cb82, body={"processName":"ocp_agentd"}] 2023-05-15T14:20:31.68902+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45µs" 2023-05-15T14:20:31.71482+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.840371ms 2023-05-15T14:20:31.71491+08:00 INFO [22060,0675edc3a234cb82] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223688}]" 2023-05-15T14:20:31.715+08:00 INFO [22060,0675edc3a234cb82] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0675edc3a234cb82, duration=60.173876ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7223688}]}] 2023-05-15T14:20:32.58227+08:00 INFO [22060,24635592c2146b29] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24635592c2146b29, body=] 2023-05-15T14:20:32.58236+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:20:32.58241+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:20:32.58243+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:20:32.5853+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:20:32.58538+08:00 INFO [22060,24635592c2146b29] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24635592c2146b29, duration=2.997908ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:21:32.86657+08:00 INFO [22060,b5ce3f80966b8100] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b5ce3f80966b8100, body=] 2023-05-15T14:21:32.8667+08:00 INFO [22060,b5ce3f80966b8100] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b5ce3f80966b8100, duration=5.595µs, status=200, data=2023-05-15 14:21:32.866675004 +0800 CST m=+7284.071059035] 2023-05-15T14:21:33.20787+08:00 INFO [22060,fca36b3f7a595f21] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fca36b3f7a595f21, body={"processName":"ocp_mgragent"}] 2023-05-15T14:21:33.24945+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="79.89µs" 2023-05-15T14:21:33.28271+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.338872ms 2023-05-15T14:21:33.28281+08:00 INFO [22060,fca36b3f7a595f21] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285249}]" 2023-05-15T14:21:33.28293+08:00 INFO [22060,fca36b3f7a595f21] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fca36b3f7a595f21, duration=74.939597ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285249}]}] 2023-05-15T14:21:33.38352+08:00 INFO [22060,0fcc1d8449528478] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0fcc1d8449528478, body={"processName":"ocp_monagent"}] 2023-05-15T14:21:33.41866+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.066µs" 2023-05-15T14:21:33.44595+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.33886ms 2023-05-15T14:21:33.44603+08:00 INFO [22060,0fcc1d8449528478] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285418}]" 2023-05-15T14:21:33.44621+08:00 INFO [22060,0fcc1d8449528478] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0fcc1d8449528478, duration=62.474805ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285418}]}] 2023-05-15T14:21:33.57394+08:00 INFO [22060,1bbf482abff5a710] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1bbf482abff5a710, body={"processName":"ocp_agentd"}] 2023-05-15T14:21:33.61142+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.807µs" 2023-05-15T14:21:33.63765+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.284412ms 2023-05-15T14:21:33.63774+08:00 INFO [22060,1bbf482abff5a710] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285611}]" 2023-05-15T14:21:33.63782+08:00 INFO [22060,1bbf482abff5a710] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1bbf482abff5a710, duration=63.753236ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7285611}]}] 2023-05-15T14:21:34.56108+08:00 INFO [22060,53e3b107b600766a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=53e3b107b600766a, body=] 2023-05-15T14:21:34.56119+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:21:34.56126+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:21:34.56129+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:21:34.56456+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:21:34.56465+08:00 INFO [22060,53e3b107b600766a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=53e3b107b600766a, duration=3.43867ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:22:34.80222+08:00 INFO [22060,ad993aac409481a6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad993aac409481a6, body=] 2023-05-15T14:22:34.80237+08:00 INFO [22060,ad993aac409481a6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ad993aac409481a6, duration=4.72µs, status=200, data=2023-05-15 14:22:34.802350614 +0800 CST m=+7346.006734652] 2023-05-15T14:22:35.04127+08:00 INFO [22060,482d64317834cde7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=482d64317834cde7, body={"processName":"ocp_mgragent"}] 2023-05-15T14:22:35.08415+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="412.289µs" 2023-05-15T14:22:35.11255+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.815429ms 2023-05-15T14:22:35.11264+08:00 INFO [22060,482d64317834cde7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347083}]" 2023-05-15T14:22:35.11272+08:00 INFO [22060,482d64317834cde7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=482d64317834cde7, duration=71.322669ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347083}]}] 2023-05-15T14:22:35.31425+08:00 INFO [22060,206a7d3ffd45c08c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=206a7d3ffd45c08c, body={"processName":"ocp_monagent"}] 2023-05-15T14:22:35.34869+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.249µs" 2023-05-15T14:22:35.37575+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.114281ms 2023-05-15T14:22:35.37584+08:00 INFO [22060,206a7d3ffd45c08c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347348}]" 2023-05-15T14:22:35.37594+08:00 INFO [22060,206a7d3ffd45c08c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=206a7d3ffd45c08c, duration=61.577874ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347348}]}] 2023-05-15T14:22:35.51495+08:00 INFO [22060,40220d47a00f54fc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40220d47a00f54fc, body={"processName":"ocp_agentd"}] 2023-05-15T14:22:35.55094+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.374µs" 2023-05-15T14:22:35.581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.113452ms 2023-05-15T14:22:35.58111+08:00 INFO [22060,40220d47a00f54fc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347550}]" 2023-05-15T14:22:35.58121+08:00 INFO [22060,40220d47a00f54fc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=40220d47a00f54fc, duration=66.135748ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7347550}]}] 2023-05-15T14:22:36.46556+08:00 INFO [22060,d4eb0447c46658cc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4eb0447c46658cc, body=] 2023-05-15T14:22:36.46568+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:22:36.46576+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:22:36.46581+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:22:36.46874+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:22:36.46885+08:00 INFO [22060,d4eb0447c46658cc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d4eb0447c46658cc, duration=3.140885ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:23:36.71833+08:00 INFO [22060,4038f9b50301fd8d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4038f9b50301fd8d, body=] 2023-05-15T14:23:36.71843+08:00 INFO [22060,4038f9b50301fd8d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4038f9b50301fd8d, duration=3.815µs, status=200, data=2023-05-15 14:23:36.718412053 +0800 CST m=+7407.922796082] 2023-05-15T14:23:36.92703+08:00 INFO [22060,b9800747a2970889] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9800747a2970889, body={"processName":"ocp_mgragent"}] 2023-05-15T14:23:36.96784+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.246µs" 2023-05-15T14:23:37+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.216195ms 2023-05-15T14:23:37.00013+08:00 INFO [22060,b9800747a2970889] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7408967}]" 2023-05-15T14:23:37.00023+08:00 INFO [22060,b9800747a2970889] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9800747a2970889, duration=73.083831ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7408967}]}] 2023-05-15T14:23:37.08565+08:00 INFO [22060,e59d9f36edd523b9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e59d9f36edd523b9, body={"processName":"ocp_monagent"}] 2023-05-15T14:23:37.12969+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="86.942µs" 2023-05-15T14:23:37.15769+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.086909ms 2023-05-15T14:23:37.15779+08:00 INFO [22060,e59d9f36edd523b9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7409129}]" 2023-05-15T14:23:37.15789+08:00 INFO [22060,e59d9f36edd523b9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e59d9f36edd523b9, duration=72.117618ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7409129}]}] 2023-05-15T14:23:37.32567+08:00 INFO [22060,5132dff47430c394] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5132dff47430c394, body={"processName":"ocp_agentd"}] 2023-05-15T14:23:37.3592+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.594µs" 2023-05-15T14:23:37.3849+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.75413ms 2023-05-15T14:23:37.38498+08:00 INFO [22060,5132dff47430c394] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7409359}]" 2023-05-15T14:23:37.38506+08:00 INFO [22060,5132dff47430c394] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5132dff47430c394, duration=59.297487ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7409359}]}] 2023-05-15T14:23:38.50515+08:00 INFO [22060,1e0c9b9b416821a5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1e0c9b9b416821a5, body=] 2023-05-15T14:23:38.50523+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:23:38.50528+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:23:38.5053+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:23:38.50789+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:23:38.50798+08:00 INFO [22060,1e0c9b9b416821a5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1e0c9b9b416821a5, duration=2.72535ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:24:38.83551+08:00 INFO [22060,593499d41e3d36a8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=593499d41e3d36a8, body=] 2023-05-15T14:24:38.83561+08:00 INFO [22060,593499d41e3d36a8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=593499d41e3d36a8, duration=7.263µs, status=200, data=2023-05-15 14:24:38.835586755 +0800 CST m=+7470.039970787] 2023-05-15T14:24:38.95211+08:00 INFO [22060,cf192182eb3e995e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf192182eb3e995e, body={"processName":"ocp_mgragent"}] 2023-05-15T14:24:38.99503+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="68.485µs" 2023-05-15T14:24:39.02782+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.863042ms 2023-05-15T14:24:39.02792+08:00 INFO [22060,cf192182eb3e995e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7470994}]" 2023-05-15T14:24:39.028+08:00 INFO [22060,cf192182eb3e995e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cf192182eb3e995e, duration=75.792148ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7470994}]}] 2023-05-15T14:24:39.19201+08:00 INFO [22060,7a11660d9bea75bf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a11660d9bea75bf, body={"processName":"ocp_monagent"}] 2023-05-15T14:24:39.22606+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.919µs" 2023-05-15T14:24:39.25135+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.344025ms 2023-05-15T14:24:39.25144+08:00 INFO [22060,7a11660d9bea75bf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7471225}]" 2023-05-15T14:24:39.25152+08:00 INFO [22060,7a11660d9bea75bf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a11660d9bea75bf, duration=59.412611ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7471225}]}] 2023-05-15T14:24:39.33813+08:00 INFO [22060,8f5c3b7eb4d732bc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f5c3b7eb4d732bc, body={"processName":"ocp_agentd"}] 2023-05-15T14:24:39.37208+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="153.219µs" 2023-05-15T14:24:39.39579+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.861492ms 2023-05-15T14:24:39.39588+08:00 INFO [22060,8f5c3b7eb4d732bc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7471371}]" 2023-05-15T14:24:39.39597+08:00 INFO [22060,8f5c3b7eb4d732bc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8f5c3b7eb4d732bc, duration=57.726229ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7471371}]}] 2023-05-15T14:24:40.18046+08:00 INFO [22060,035a2b248d1be94b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=035a2b248d1be94b, body=] 2023-05-15T14:24:40.18053+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:24:40.18058+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:24:40.1806+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:24:40.1833+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:24:40.18338+08:00 INFO [22060,035a2b248d1be94b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=035a2b248d1be94b, duration=2.829275ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:25:40.36392+08:00 INFO [22060,70a6bffc8d0eb91b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70a6bffc8d0eb91b, body=] 2023-05-15T14:25:40.36402+08:00 INFO [22060,70a6bffc8d0eb91b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70a6bffc8d0eb91b, duration=4.525µs, status=200, data=2023-05-15 14:25:40.364000022 +0800 CST m=+7531.568384052] 2023-05-15T14:25:40.52233+08:00 INFO [22060,6371fb2c5f9037aa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6371fb2c5f9037aa, body={"processName":"ocp_mgragent"}] 2023-05-15T14:25:40.55923+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.006µs" 2023-05-15T14:25:40.58548+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.299086ms 2023-05-15T14:25:40.58557+08:00 INFO [22060,6371fb2c5f9037aa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532559}]" 2023-05-15T14:25:40.58565+08:00 INFO [22060,6371fb2c5f9037aa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6371fb2c5f9037aa, duration=63.212106ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532559}]}] 2023-05-15T14:25:40.66854+08:00 INFO [22060,6548b7c9dcbfcf43] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6548b7c9dcbfcf43, body={"processName":"ocp_monagent"}] 2023-05-15T14:25:40.70674+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="53.019µs" 2023-05-15T14:25:40.73949+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.800734ms 2023-05-15T14:25:40.73959+08:00 INFO [22060,6548b7c9dcbfcf43] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532706}]" 2023-05-15T14:25:40.73968+08:00 INFO [22060,6548b7c9dcbfcf43] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6548b7c9dcbfcf43, duration=71.043047ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532706}]}] 2023-05-15T14:25:40.86362+08:00 INFO [22060,87fa730c99337d7e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87fa730c99337d7e, body={"processName":"ocp_agentd"}] 2023-05-15T14:25:40.90435+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="66.229µs" 2023-05-15T14:25:40.92964+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.350894ms 2023-05-15T14:25:40.92973+08:00 INFO [22060,87fa730c99337d7e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532904}]" 2023-05-15T14:25:40.9298+08:00 INFO [22060,87fa730c99337d7e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87fa730c99337d7e, duration=66.090433ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7532904}]}] 2023-05-15T14:25:41.59755+08:00 INFO [22060,b259038061fba057] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b259038061fba057, body=] 2023-05-15T14:25:41.59763+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:25:41.59768+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:25:41.5977+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:25:41.60076+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:25:41.60085+08:00 INFO [22060,b259038061fba057] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b259038061fba057, duration=3.20318ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:26:41.77742+08:00 INFO [22060,9a7933ebb3aad09b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a7933ebb3aad09b, body=] 2023-05-15T14:26:41.77751+08:00 INFO [22060,9a7933ebb3aad09b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a7933ebb3aad09b, duration=4.287µs, status=200, data=2023-05-15 14:26:41.777488509 +0800 CST m=+7592.981872542] 2023-05-15T14:26:41.94188+08:00 INFO [22060,f50e5f74b3045142] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f50e5f74b3045142, body={"processName":"ocp_mgragent"}] 2023-05-15T14:26:41.97997+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="90.105µs" 2023-05-15T14:26:42.00693+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.046447ms 2023-05-15T14:26:42.00703+08:00 INFO [22060,f50e5f74b3045142] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7593979}]" 2023-05-15T14:26:42.00711+08:00 INFO [22060,f50e5f74b3045142] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f50e5f74b3045142, duration=65.138686ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7593979}]}] 2023-05-15T14:26:42.11946+08:00 INFO [22060,b01c434fdd2940c0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b01c434fdd2940c0, body={"processName":"ocp_monagent"}] 2023-05-15T14:26:42.16029+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="181.752µs" 2023-05-15T14:26:42.18628+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.17413ms 2023-05-15T14:26:42.1864+08:00 INFO [22060,b01c434fdd2940c0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7594159}]" 2023-05-15T14:26:42.18653+08:00 INFO [22060,b01c434fdd2940c0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b01c434fdd2940c0, duration=66.919053ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7594159}]}] 2023-05-15T14:26:42.30411+08:00 INFO [22060,d999d94dba94cacf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d999d94dba94cacf, body={"processName":"ocp_agentd"}] 2023-05-15T14:26:42.34189+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="88.688µs" 2023-05-15T14:26:42.36784+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.03928ms 2023-05-15T14:26:42.36793+08:00 INFO [22060,d999d94dba94cacf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7594341}]" 2023-05-15T14:26:42.36802+08:00 INFO [22060,d999d94dba94cacf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d999d94dba94cacf, duration=63.80019ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7594341}]}] 2023-05-15T14:26:42.96301+08:00 INFO [22060,09eba6655950eccd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=09eba6655950eccd, body=] 2023-05-15T14:26:42.96308+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:26:42.96313+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:26:42.96316+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:26:42.96612+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:26:42.96624+08:00 INFO [22060,09eba6655950eccd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=09eba6655950eccd, duration=3.114257ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:27:43.09723+08:00 INFO [22060,9cc1cf2c2c27018d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9cc1cf2c2c27018d, body=] 2023-05-15T14:27:43.09735+08:00 INFO [22060,9cc1cf2c2c27018d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9cc1cf2c2c27018d, duration=3.729µs, status=200, data=2023-05-15 14:27:43.097333605 +0800 CST m=+7654.301717635] 2023-05-15T14:27:43.30837+08:00 INFO [22060,9443c112875ade67] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9443c112875ade67, body={"processName":"ocp_mgragent"}] 2023-05-15T14:27:43.35405+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="173.624µs" 2023-05-15T14:27:43.3858+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.918741ms 2023-05-15T14:27:43.38593+08:00 INFO [22060,9443c112875ade67] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655353}]" 2023-05-15T14:27:43.38604+08:00 INFO [22060,9443c112875ade67] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9443c112875ade67, duration=77.545401ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655353}]}] 2023-05-15T14:27:43.51494+08:00 INFO [22060,f8d637c01c88f3c1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8d637c01c88f3c1, body={"processName":"ocp_monagent"}] 2023-05-15T14:27:43.55426+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="59.885µs" 2023-05-15T14:27:43.58067+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.474195ms 2023-05-15T14:27:43.58079+08:00 INFO [22060,f8d637c01c88f3c1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655554}]" 2023-05-15T14:27:43.58091+08:00 INFO [22060,f8d637c01c88f3c1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8d637c01c88f3c1, duration=65.846554ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655554}]}] 2023-05-15T14:27:43.69196+08:00 INFO [22060,7c24a4679d3c9526] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c24a4679d3c9526, body={"processName":"ocp_agentd"}] 2023-05-15T14:27:43.73381+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="65.59µs" 2023-05-15T14:27:43.7665+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=32.757834ms 2023-05-15T14:27:43.76659+08:00 INFO [22060,7c24a4679d3c9526] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655733}]" 2023-05-15T14:27:43.76667+08:00 INFO [22060,7c24a4679d3c9526] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c24a4679d3c9526, duration=74.583245ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7655733}]}] 2023-05-15T14:27:44.32215+08:00 INFO [22060,b87357ee8881e809] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b87357ee8881e809, body=] 2023-05-15T14:27:44.32226+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:27:44.32234+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:27:44.32236+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:27:44.32529+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:27:44.32543+08:00 INFO [22060,b87357ee8881e809] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b87357ee8881e809, duration=3.130793ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:28:44.42431+08:00 INFO [22060,670825b37a3bce15] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670825b37a3bce15, body=] 2023-05-15T14:28:44.42446+08:00 INFO [22060,670825b37a3bce15] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670825b37a3bce15, duration=4.604µs, status=200, data=2023-05-15 14:28:44.424421685 +0800 CST m=+7715.628805716] 2023-05-15T14:28:44.58209+08:00 INFO [22060,a79b61387a70052c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a79b61387a70052c, body={"processName":"ocp_mgragent"}] 2023-05-15T14:28:44.61704+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.105µs" 2023-05-15T14:28:44.64796+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.974021ms 2023-05-15T14:28:44.64808+08:00 INFO [22060,a79b61387a70052c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716616}]" 2023-05-15T14:28:44.64819+08:00 INFO [22060,a79b61387a70052c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a79b61387a70052c, duration=65.984271ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716616}]}] 2023-05-15T14:28:44.73686+08:00 INFO [22060,ebffc38e71422edd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebffc38e71422edd, body={"processName":"ocp_monagent"}] 2023-05-15T14:28:44.77457+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.331µs" 2023-05-15T14:28:44.79981+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.305329ms 2023-05-15T14:28:44.7999+08:00 INFO [22060,ebffc38e71422edd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716774}]" 2023-05-15T14:28:44.79998+08:00 INFO [22060,ebffc38e71422edd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ebffc38e71422edd, duration=63.004954ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716774}]}] 2023-05-15T14:28:44.89601+08:00 INFO [22060,997542e2b4616cb5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=997542e2b4616cb5, body={"processName":"ocp_agentd"}] 2023-05-15T14:28:44.93703+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.773µs" 2023-05-15T14:28:44.96226+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.281983ms 2023-05-15T14:28:44.96235+08:00 INFO [22060,997542e2b4616cb5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716936}]" 2023-05-15T14:28:44.96243+08:00 INFO [22060,997542e2b4616cb5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=997542e2b4616cb5, duration=66.298379ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7716936}]}] 2023-05-15T14:28:45.61879+08:00 INFO [22060,642e89839b8b29f0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=642e89839b8b29f0, body=] 2023-05-15T14:28:45.61893+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:28:45.61901+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:28:45.61904+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:28:45.62324+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:28:45.62332+08:00 INFO [22060,642e89839b8b29f0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=642e89839b8b29f0, duration=4.375334ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:29:45.74371+08:00 INFO [22060,610f556099849e9d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=610f556099849e9d, body=] 2023-05-15T14:29:45.74383+08:00 INFO [22060,610f556099849e9d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=610f556099849e9d, duration=5.103µs, status=200, data=2023-05-15 14:29:45.743806233 +0800 CST m=+7776.948190272] 2023-05-15T14:29:45.8707+08:00 INFO [22060,af9aabe81faba388] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af9aabe81faba388, body={"processName":"ocp_mgragent"}] 2023-05-15T14:29:45.90731+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="252.829µs" 2023-05-15T14:29:45.93416+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.101444ms 2023-05-15T14:29:45.9343+08:00 INFO [22060,af9aabe81faba388] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7777906}]" 2023-05-15T14:29:45.93441+08:00 INFO [22060,af9aabe81faba388] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af9aabe81faba388, duration=63.591101ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7777906}]}] 2023-05-15T14:29:46.03844+08:00 INFO [22060,af5515ccc9caa1dd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af5515ccc9caa1dd, body={"processName":"ocp_monagent"}] 2023-05-15T14:29:46.07179+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.122µs" 2023-05-15T14:29:46.09782+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.084092ms 2023-05-15T14:29:46.09794+08:00 INFO [22060,af5515ccc9caa1dd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7778071}]" 2023-05-15T14:29:46.09804+08:00 INFO [22060,af5515ccc9caa1dd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=af5515ccc9caa1dd, duration=59.491483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7778071}]}] 2023-05-15T14:29:46.22168+08:00 INFO [22060,61fdf01101ac2129] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=61fdf01101ac2129, body={"processName":"ocp_agentd"}] 2023-05-15T14:29:46.25779+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="94.802µs" 2023-05-15T14:29:46.28441+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.720718ms 2023-05-15T14:29:46.2845+08:00 INFO [22060,61fdf01101ac2129] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7778257}]" 2023-05-15T14:29:46.28459+08:00 INFO [22060,61fdf01101ac2129] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=61fdf01101ac2129, duration=62.810061ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7778257}]}] 2023-05-15T14:29:46.95026+08:00 INFO [22060,051bc1a67f8e7586] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=051bc1a67f8e7586, body=] 2023-05-15T14:29:46.95035+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:29:46.95041+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:29:46.95045+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:29:46.95363+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:29:46.95371+08:00 INFO [22060,051bc1a67f8e7586] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=051bc1a67f8e7586, duration=3.330624ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:30:47.18904+08:00 INFO [22060,77b8ae03c5fa6591] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=77b8ae03c5fa6591, body=] 2023-05-15T14:30:47.18922+08:00 INFO [22060,77b8ae03c5fa6591] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=77b8ae03c5fa6591, duration=6.926µs, status=200, data=2023-05-15 14:30:47.189149032 +0800 CST m=+7838.393533068] 2023-05-15T14:30:47.3904+08:00 INFO [22060,9465e6ee4185307a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9465e6ee4185307a, body={"processName":"ocp_mgragent"}] 2023-05-15T14:30:47.42514+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.633µs" 2023-05-15T14:30:47.44952+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.436676ms 2023-05-15T14:30:47.44962+08:00 INFO [22060,9465e6ee4185307a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839424}]" 2023-05-15T14:30:47.44971+08:00 INFO [22060,9465e6ee4185307a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9465e6ee4185307a, duration=59.202055ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839424}]}] 2023-05-15T14:30:47.64379+08:00 INFO [22060,aa21cdb7f9e23e75] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa21cdb7f9e23e75, body={"processName":"ocp_monagent"}] 2023-05-15T14:30:47.67723+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="175.807µs" 2023-05-15T14:30:47.70419+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.126098ms 2023-05-15T14:30:47.70428+08:00 INFO [22060,aa21cdb7f9e23e75] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839676}]" 2023-05-15T14:30:47.70437+08:00 INFO [22060,aa21cdb7f9e23e75] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa21cdb7f9e23e75, duration=60.470418ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839676}]}] 2023-05-15T14:30:47.91728+08:00 INFO [22060,ec25a0c202fced77] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec25a0c202fced77, body={"processName":"ocp_agentd"}] 2023-05-15T14:30:47.9599+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="77.291µs" 2023-05-15T14:30:47.99314+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=33.319029ms 2023-05-15T14:30:47.99322+08:00 INFO [22060,ec25a0c202fced77] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839959}]" 2023-05-15T14:30:47.9933+08:00 INFO [22060,ec25a0c202fced77] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ec25a0c202fced77, duration=75.92718ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7839959}]}] 2023-05-15T14:30:48.90007+08:00 INFO [22060,b90dd43e133db95c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b90dd43e133db95c, body=] 2023-05-15T14:30:48.90016+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:30:48.90021+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:30:48.90023+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:30:48.9033+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:30:48.90337+08:00 INFO [22060,b90dd43e133db95c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b90dd43e133db95c, duration=3.195148ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:31:49.03831+08:00 INFO [22060,82efef15c76582b6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82efef15c76582b6, body=] 2023-05-15T14:31:49.03846+08:00 INFO [22060,82efef15c76582b6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82efef15c76582b6, duration=5.657µs, status=200, data=2023-05-15 14:31:49.038420444 +0800 CST m=+7900.242804481] 2023-05-15T14:31:49.21031+08:00 INFO [22060,84c76e8eea11003a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84c76e8eea11003a, body={"processName":"ocp_mgragent"}] 2023-05-15T14:31:49.24372+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="60.553µs" 2023-05-15T14:31:49.26835+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.692135ms 2023-05-15T14:31:49.26845+08:00 INFO [22060,84c76e8eea11003a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901243}]" 2023-05-15T14:31:49.26853+08:00 INFO [22060,84c76e8eea11003a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84c76e8eea11003a, duration=58.118578ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901243}]}] 2023-05-15T14:31:49.39422+08:00 INFO [22060,3a985c9c2c7005a7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a985c9c2c7005a7, body={"processName":"ocp_monagent"}] 2023-05-15T14:31:49.42682+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.575µs" 2023-05-15T14:31:49.45266+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.886762ms 2023-05-15T14:31:49.45274+08:00 INFO [22060,3a985c9c2c7005a7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901426}]" 2023-05-15T14:31:49.45282+08:00 INFO [22060,3a985c9c2c7005a7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a985c9c2c7005a7, duration=58.473688ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901426}]}] 2023-05-15T14:31:49.55407+08:00 INFO [22060,f1e472e5a5b0d0b5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1e472e5a5b0d0b5, body={"processName":"ocp_agentd"}] 2023-05-15T14:31:49.5864+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.595µs" 2023-05-15T14:31:49.61111+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.756799ms 2023-05-15T14:31:49.61119+08:00 INFO [22060,f1e472e5a5b0d0b5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901586}]" 2023-05-15T14:31:49.61126+08:00 INFO [22060,f1e472e5a5b0d0b5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1e472e5a5b0d0b5, duration=57.092943ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7901586}]}] 2023-05-15T14:31:50.35348+08:00 INFO [22060,46216f28679e9edf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=46216f28679e9edf, body=] 2023-05-15T14:31:50.35355+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:31:50.35361+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:31:50.35364+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:31:50.35623+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:31:50.35632+08:00 INFO [22060,46216f28679e9edf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=46216f28679e9edf, duration=2.734279ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:32:50.49719+08:00 INFO [22060,9139795bd1b031e9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9139795bd1b031e9, body=] 2023-05-15T14:32:50.49729+08:00 INFO [22060,9139795bd1b031e9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9139795bd1b031e9, duration=3.796µs, status=200, data=2023-05-15 14:32:50.497269025 +0800 CST m=+7961.701653057] 2023-05-15T14:32:50.66894+08:00 INFO [22060,531602718ef0b478] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=531602718ef0b478, body={"processName":"ocp_mgragent"}] 2023-05-15T14:32:50.70658+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="71.76µs" 2023-05-15T14:32:50.73182+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.311071ms 2023-05-15T14:32:50.73191+08:00 INFO [22060,531602718ef0b478] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7962706}]" 2023-05-15T14:32:50.73198+08:00 INFO [22060,531602718ef0b478] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=531602718ef0b478, duration=62.933231ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7962706}]}] 2023-05-15T14:32:50.89221+08:00 INFO [22060,853a4bc5a8af2655] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=853a4bc5a8af2655, body={"processName":"ocp_monagent"}] 2023-05-15T14:32:50.9277+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.894µs" 2023-05-15T14:32:50.95678+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.153761ms 2023-05-15T14:32:50.95689+08:00 INFO [22060,853a4bc5a8af2655] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7962927}]" 2023-05-15T14:32:50.95697+08:00 INFO [22060,853a4bc5a8af2655] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=853a4bc5a8af2655, duration=64.668873ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7962927}]}] 2023-05-15T14:32:51.08197+08:00 INFO [22060,f2f40ab4b26b1f62] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2f40ab4b26b1f62, body={"processName":"ocp_agentd"}] 2023-05-15T14:32:51.11616+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.919µs" 2023-05-15T14:32:51.1407+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.600635ms 2023-05-15T14:32:51.14077+08:00 INFO [22060,f2f40ab4b26b1f62] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7963115}]" 2023-05-15T14:32:51.14085+08:00 INFO [22060,f2f40ab4b26b1f62] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2f40ab4b26b1f62, duration=58.789667ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 7963115}]}] 2023-05-15T14:32:51.98388+08:00 INFO [22060,0eb2425842cf16db] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0eb2425842cf16db, body=] 2023-05-15T14:32:51.98395+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:32:51.984+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:32:51.98403+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:32:51.98674+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:32:51.98682+08:00 INFO [22060,0eb2425842cf16db] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0eb2425842cf16db, duration=2.850599ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:33:52.25063+08:00 INFO [22060,05e5c58bc2d2533e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05e5c58bc2d2533e, body=] 2023-05-15T14:33:52.25073+08:00 INFO [22060,05e5c58bc2d2533e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05e5c58bc2d2533e, duration=4.052µs, status=200, data=2023-05-15 14:33:52.250715914 +0800 CST m=+8023.455099942] 2023-05-15T14:33:52.4846+08:00 INFO [22060,4668ccdc4d365f06] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4668ccdc4d365f06, body={"processName":"ocp_mgragent"}] 2023-05-15T14:33:52.51997+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.698µs" 2023-05-15T14:33:52.55351+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.601435ms 2023-05-15T14:33:52.55361+08:00 INFO [22060,4668ccdc4d365f06] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8024519}]" 2023-05-15T14:33:52.55371+08:00 INFO [22060,4668ccdc4d365f06] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4668ccdc4d365f06, duration=68.985952ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8024519}]}] 2023-05-15T14:33:52.84083+08:00 INFO [22060,30d314f2214ca77f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=30d314f2214ca77f, body={"processName":"ocp_monagent"}] 2023-05-15T14:33:52.88915+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="347.227µs" 2023-05-15T14:33:52.92598+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=37.164109ms 2023-05-15T14:33:52.92607+08:00 INFO [22060,30d314f2214ca77f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8024888}]" 2023-05-15T14:33:52.92616+08:00 INFO [22060,30d314f2214ca77f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=30d314f2214ca77f, duration=85.214179ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8024888}]}] 2023-05-15T14:33:53.0866+08:00 INFO [22060,1da463807cc4b4fc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1da463807cc4b4fc, body={"processName":"ocp_agentd"}] 2023-05-15T14:33:53.1208+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.954µs" 2023-05-15T14:33:53.14597+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.225019ms 2023-05-15T14:33:53.14606+08:00 INFO [22060,1da463807cc4b4fc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8025120}]" 2023-05-15T14:33:53.14615+08:00 INFO [22060,1da463807cc4b4fc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1da463807cc4b4fc, duration=59.421986ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8025120}]}] 2023-05-15T14:33:53.80381+08:00 INFO [22060,c8e27566f2316c7e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8e27566f2316c7e, body=] 2023-05-15T14:33:53.80391+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:33:53.80397+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:33:53.80399+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:33:53.80756+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:33:53.80766+08:00 INFO [22060,c8e27566f2316c7e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c8e27566f2316c7e, duration=3.713051ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:34:54.00214+08:00 INFO [22060,86206b938b2ab516] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86206b938b2ab516, body=] 2023-05-15T14:34:54.00227+08:00 INFO [22060,86206b938b2ab516] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=86206b938b2ab516, duration=3.985µs, status=200, data=2023-05-15 14:34:54.00223725 +0800 CST m=+8085.206621283] 2023-05-15T14:34:54.25942+08:00 INFO [22060,64a125fd02c59634] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=64a125fd02c59634, body={"processName":"ocp_mgragent"}] 2023-05-15T14:34:54.29317+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.014µs" 2023-05-15T14:34:54.31792+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.797113ms 2023-05-15T14:34:54.31801+08:00 INFO [22060,64a125fd02c59634] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086293}]" 2023-05-15T14:34:54.31812+08:00 INFO [22060,64a125fd02c59634] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=64a125fd02c59634, duration=58.584979ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086293}]}] 2023-05-15T14:34:54.40089+08:00 INFO [22060,f2f13f131ebe496e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2f13f131ebe496e, body={"processName":"ocp_monagent"}] 2023-05-15T14:34:54.43477+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.532µs" 2023-05-15T14:34:54.46069+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.96264ms 2023-05-15T14:34:54.46078+08:00 INFO [22060,f2f13f131ebe496e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086434}]" 2023-05-15T14:34:54.46088+08:00 INFO [22060,f2f13f131ebe496e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f2f13f131ebe496e, duration=59.862271ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086434}]}] 2023-05-15T14:34:54.5199+08:00 INFO [22060,f47d47a9646e93b8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f47d47a9646e93b8, body={"processName":"ocp_agentd"}] 2023-05-15T14:34:54.55352+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.332µs" 2023-05-15T14:34:54.5804+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.93578ms 2023-05-15T14:34:54.5805+08:00 INFO [22060,f47d47a9646e93b8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086553}]" 2023-05-15T14:34:54.5806+08:00 INFO [22060,f47d47a9646e93b8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f47d47a9646e93b8, duration=60.60622ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8086553}]}] 2023-05-15T14:34:55.33572+08:00 INFO [22060,2c3e82e8761e029a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c3e82e8761e029a, body=] 2023-05-15T14:34:55.3358+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:34:55.33585+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:34:55.33589+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:34:55.33892+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:34:55.33901+08:00 INFO [22060,2c3e82e8761e029a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c3e82e8761e029a, duration=3.189103ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:35:55.53716+08:00 INFO [22060,865817ece4819d02] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=865817ece4819d02, body=] 2023-05-15T14:35:55.53731+08:00 INFO [22060,865817ece4819d02] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=865817ece4819d02, duration=5.357µs, status=200, data=2023-05-15 14:35:55.537270564 +0800 CST m=+8146.741654598] 2023-05-15T14:35:55.70608+08:00 INFO [22060,0ea7ec8d183d3b3e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0ea7ec8d183d3b3e, body={"processName":"ocp_mgragent"}] 2023-05-15T14:35:55.74015+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.711µs" 2023-05-15T14:35:55.77364+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.541355ms 2023-05-15T14:35:55.77373+08:00 INFO [22060,0ea7ec8d183d3b3e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8147739}]" 2023-05-15T14:35:55.77382+08:00 INFO [22060,0ea7ec8d183d3b3e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0ea7ec8d183d3b3e, duration=67.643436ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8147739}]}] 2023-05-15T14:35:55.9217+08:00 INFO [22060,f443ac9f4bebe096] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f443ac9f4bebe096, body={"processName":"ocp_monagent"}] 2023-05-15T14:35:55.95726+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.958µs" 2023-05-15T14:35:55.9866+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.384374ms 2023-05-15T14:35:55.98668+08:00 INFO [22060,f443ac9f4bebe096] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8147957}]" 2023-05-15T14:35:55.9868+08:00 INFO [22060,f443ac9f4bebe096] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f443ac9f4bebe096, duration=64.995076ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8147957}]}] 2023-05-15T14:35:56.13097+08:00 INFO [22060,4d00ce9f9cbf9097] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d00ce9f9cbf9097, body={"processName":"ocp_agentd"}] 2023-05-15T14:35:56.16428+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="69.157µs" 2023-05-15T14:35:56.19706+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=32.847161ms 2023-05-15T14:35:56.19718+08:00 INFO [22060,4d00ce9f9cbf9097] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8148164}]" 2023-05-15T14:35:56.19728+08:00 INFO [22060,4d00ce9f9cbf9097] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d00ce9f9cbf9097, duration=66.181539ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8148164}]}] 2023-05-15T14:35:56.71788+08:00 INFO [22060,e768f926f114d391] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e768f926f114d391, body=] 2023-05-15T14:35:56.71797+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:35:56.71803+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:35:56.71805+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:35:56.72057+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:35:56.72065+08:00 INFO [22060,e768f926f114d391] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e768f926f114d391, duration=2.659558ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:36:56.80133+08:00 INFO [22060,f13e195d030fa4a6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f13e195d030fa4a6, body=] 2023-05-15T14:36:56.80143+08:00 INFO [22060,f13e195d030fa4a6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f13e195d030fa4a6, duration=3.477µs, status=200, data=2023-05-15 14:36:56.801415179 +0800 CST m=+8208.005799207] 2023-05-15T14:36:56.93276+08:00 INFO [22060,1fc92b38cb9ecd0b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1fc92b38cb9ecd0b, body={"processName":"ocp_mgragent"}] 2023-05-15T14:36:56.9701+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.501µs" 2023-05-15T14:36:56.99589+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.839072ms 2023-05-15T14:36:56.99599+08:00 INFO [22060,1fc92b38cb9ecd0b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8208969}]" 2023-05-15T14:36:56.99607+08:00 INFO [22060,1fc92b38cb9ecd0b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1fc92b38cb9ecd0b, duration=63.190863ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8208969}]}] 2023-05-15T14:36:57.09799+08:00 INFO [22060,b0e2bf8b691a5705] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0e2bf8b691a5705, body={"processName":"ocp_monagent"}] 2023-05-15T14:36:57.13719+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.752µs" 2023-05-15T14:36:57.16664+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.518488ms 2023-05-15T14:36:57.16675+08:00 INFO [22060,b0e2bf8b691a5705] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8209137}]" 2023-05-15T14:36:57.16687+08:00 INFO [22060,b0e2bf8b691a5705] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0e2bf8b691a5705, duration=68.735948ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8209137}]}] 2023-05-15T14:36:57.29218+08:00 INFO [22060,095b6a2c0005c369] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=095b6a2c0005c369, body={"processName":"ocp_agentd"}] 2023-05-15T14:36:57.32484+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="75.516µs" 2023-05-15T14:36:57.35178+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.01911ms 2023-05-15T14:36:57.35192+08:00 INFO [22060,095b6a2c0005c369] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8209324}]" 2023-05-15T14:36:57.35205+08:00 INFO [22060,095b6a2c0005c369] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=095b6a2c0005c369, duration=59.742625ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8209324}]}] 2023-05-15T14:36:58.0002+08:00 INFO [22060,ff085885da6d396d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff085885da6d396d, body=] 2023-05-15T14:36:58.0003+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:36:58.00034+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:36:58.00037+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:36:58.00296+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:36:58.00304+08:00 INFO [22060,ff085885da6d396d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff085885da6d396d, duration=2.724337ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:37:58.23609+08:00 INFO [22060,2d561cf71b2d08f8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d561cf71b2d08f8, body=] 2023-05-15T14:37:58.2362+08:00 INFO [22060,2d561cf71b2d08f8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d561cf71b2d08f8, duration=3.576µs, status=200, data=2023-05-15 14:37:58.236177735 +0800 CST m=+8269.440561764] 2023-05-15T14:37:58.37725+08:00 INFO [22060,68434072e247e251] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=68434072e247e251, body={"processName":"ocp_mgragent"}] 2023-05-15T14:37:58.41048+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.501µs" 2023-05-15T14:37:58.43807+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.640117ms 2023-05-15T14:37:58.43818+08:00 INFO [22060,68434072e247e251] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270410}]" 2023-05-15T14:37:58.43829+08:00 INFO [22060,68434072e247e251] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=68434072e247e251, duration=60.917457ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270410}]}] 2023-05-15T14:37:58.5545+08:00 INFO [22060,bdb5bc0f963828e7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdb5bc0f963828e7, body={"processName":"ocp_monagent"}] 2023-05-15T14:37:58.58801+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.726µs" 2023-05-15T14:37:58.61523+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.270035ms 2023-05-15T14:37:58.61534+08:00 INFO [22060,bdb5bc0f963828e7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270587}]" 2023-05-15T14:37:58.61544+08:00 INFO [22060,bdb5bc0f963828e7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdb5bc0f963828e7, duration=60.810015ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270587}]}] 2023-05-15T14:37:58.70515+08:00 INFO [22060,a802e08dadab9afe] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a802e08dadab9afe, body={"processName":"ocp_agentd"}] 2023-05-15T14:37:58.74467+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.066µs" 2023-05-15T14:37:58.77253+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.91847ms 2023-05-15T14:37:58.77263+08:00 INFO [22060,a802e08dadab9afe] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270744}]" 2023-05-15T14:37:58.77271+08:00 INFO [22060,a802e08dadab9afe] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a802e08dadab9afe, duration=67.442107ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8270744}]}] 2023-05-15T14:37:59.48815+08:00 INFO [22060,62267b9fe2e4c88a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62267b9fe2e4c88a, body=] 2023-05-15T14:37:59.48822+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:37:59.48828+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:37:59.4883+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:37:59.4913+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:37:59.49137+08:00 INFO [22060,62267b9fe2e4c88a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62267b9fe2e4c88a, duration=3.130471ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:38:59.64938+08:00 INFO [22060,c36a168ec040e2ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c36a168ec040e2ee, body=] 2023-05-15T14:38:59.64951+08:00 INFO [22060,c36a168ec040e2ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c36a168ec040e2ee, duration=4.255µs, status=200, data=2023-05-15 14:38:59.649482687 +0800 CST m=+8330.853866717] 2023-05-15T14:38:59.77844+08:00 INFO [22060,eeeb3a6209e5685c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eeeb3a6209e5685c, body={"processName":"ocp_mgragent"}] 2023-05-15T14:38:59.81758+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.798µs" 2023-05-15T14:38:59.85019+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.672001ms 2023-05-15T14:38:59.85029+08:00 INFO [22060,eeeb3a6209e5685c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8331817}]" 2023-05-15T14:38:59.85039+08:00 INFO [22060,eeeb3a6209e5685c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eeeb3a6209e5685c, duration=71.825493ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8331817}]}] 2023-05-15T14:38:59.94455+08:00 INFO [22060,38d6162447c04013] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38d6162447c04013, body={"processName":"ocp_monagent"}] 2023-05-15T14:38:59.98163+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.151µs" 2023-05-15T14:39:00.01112+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.553376ms 2023-05-15T14:39:00.01122+08:00 INFO [22060,38d6162447c04013] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8331981}]" 2023-05-15T14:39:00.0113+08:00 INFO [22060,38d6162447c04013] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38d6162447c04013, duration=66.646751ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8331981}]}] 2023-05-15T14:39:00.17694+08:00 INFO [22060,a4b36418dbaa8346] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4b36418dbaa8346, body={"processName":"ocp_agentd"}] 2023-05-15T14:39:00.21856+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="58.419µs" 2023-05-15T14:39:00.24975+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.250684ms 2023-05-15T14:39:00.24984+08:00 INFO [22060,a4b36418dbaa8346] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8332218}]" 2023-05-15T14:39:00.24995+08:00 INFO [22060,a4b36418dbaa8346] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4b36418dbaa8346, duration=72.90764ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8332218}]}] 2023-05-15T14:39:01.16815+08:00 INFO [22060,2d8f295ee83b73b8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d8f295ee83b73b8, body=] 2023-05-15T14:39:01.16822+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:39:01.16828+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:39:01.16831+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:39:01.17181+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:39:01.17196+08:00 INFO [22060,2d8f295ee83b73b8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d8f295ee83b73b8, duration=3.697162ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:40:01.39263+08:00 INFO [22060,3d8777ac9638f51f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d8777ac9638f51f, body=] 2023-05-15T14:40:01.39279+08:00 INFO [22060,3d8777ac9638f51f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d8777ac9638f51f, duration=6.444µs, status=200, data=2023-05-15 14:40:01.392753466 +0800 CST m=+8392.597137503] 2023-05-15T14:40:01.5416+08:00 INFO [22060,b076373ce59c8ce5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b076373ce59c8ce5, body={"processName":"ocp_mgragent"}] 2023-05-15T14:40:01.57516+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="65.465µs" 2023-05-15T14:40:01.60054+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.456162ms 2023-05-15T14:40:01.60065+08:00 INFO [22060,b076373ce59c8ce5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8393574}]" 2023-05-15T14:40:01.60077+08:00 INFO [22060,b076373ce59c8ce5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b076373ce59c8ce5, duration=59.058923ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8393574}]}] 2023-05-15T14:40:01.78084+08:00 INFO [22060,d3a09a4899e29db6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d3a09a4899e29db6, body={"processName":"ocp_monagent"}] 2023-05-15T14:40:01.81744+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="73.949µs" 2023-05-15T14:40:01.85644+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=39.080206ms 2023-05-15T14:40:01.85656+08:00 INFO [22060,d3a09a4899e29db6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8393817}]" 2023-05-15T14:40:01.85665+08:00 INFO [22060,d3a09a4899e29db6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d3a09a4899e29db6, duration=75.714103ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8393817}]}] 2023-05-15T14:40:02.11577+08:00 INFO [22060,4262ce0c87f5c05e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4262ce0c87f5c05e, body={"processName":"ocp_agentd"}] 2023-05-15T14:40:02.1519+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.153µs" 2023-05-15T14:40:02.17691+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.077882ms 2023-05-15T14:40:02.177+08:00 INFO [22060,4262ce0c87f5c05e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8394151}]" 2023-05-15T14:40:02.17708+08:00 INFO [22060,4262ce0c87f5c05e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4262ce0c87f5c05e, duration=61.209631ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8394151}]}] 2023-05-15T14:40:03.07445+08:00 INFO [22060,73205a217a8a7565] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=73205a217a8a7565, body=] 2023-05-15T14:40:03.07455+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:40:03.0746+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:40:03.07462+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:40:03.07805+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:40:03.07814+08:00 INFO [22060,73205a217a8a7565] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=73205a217a8a7565, duration=3.56605ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:41:03.24052+08:00 INFO [22060,7c8801692be45979] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c8801692be45979, body=] 2023-05-15T14:41:03.24068+08:00 INFO [22060,7c8801692be45979] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c8801692be45979, duration=5.043µs, status=200, data=2023-05-15 14:41:03.240632616 +0800 CST m=+8454.445016646] 2023-05-15T14:41:03.39182+08:00 INFO [22060,9047bcaa6abfcc84] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9047bcaa6abfcc84, body={"processName":"ocp_mgragent"}] 2023-05-15T14:41:03.42602+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.242µs" 2023-05-15T14:41:03.45326+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.309575ms 2023-05-15T14:41:03.45336+08:00 INFO [22060,9047bcaa6abfcc84] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455425}]" 2023-05-15T14:41:03.45345+08:00 INFO [22060,9047bcaa6abfcc84] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9047bcaa6abfcc84, duration=61.517392ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455425}]}] 2023-05-15T14:41:03.66559+08:00 INFO [22060,b380715c157fc4bc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b380715c157fc4bc, body={"processName":"ocp_monagent"}] 2023-05-15T14:41:03.70042+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="45.378µs" 2023-05-15T14:41:03.72506+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.685219ms 2023-05-15T14:41:03.72514+08:00 INFO [22060,b380715c157fc4bc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455700}]" 2023-05-15T14:41:03.72522+08:00 INFO [22060,b380715c157fc4bc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b380715c157fc4bc, duration=59.527115ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455700}]}] 2023-05-15T14:41:03.81806+08:00 INFO [22060,93739808a9a4a044] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93739808a9a4a044, body={"processName":"ocp_agentd"}] 2023-05-15T14:41:03.85304+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.287µs" 2023-05-15T14:41:03.87863+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.656801ms 2023-05-15T14:41:03.8787+08:00 INFO [22060,93739808a9a4a044] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455852}]" 2023-05-15T14:41:03.87881+08:00 INFO [22060,93739808a9a4a044] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93739808a9a4a044, duration=60.651107ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8455852}]}] 2023-05-15T14:41:04.6909+08:00 INFO [22060,9a4de2d7216da73b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a4de2d7216da73b, body=] 2023-05-15T14:41:04.691+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:41:04.69106+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:41:04.69109+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:41:04.69399+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:41:04.69409+08:00 INFO [22060,9a4de2d7216da73b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9a4de2d7216da73b, duration=3.063553ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:42:04.84393+08:00 INFO [22060,db857dbf847bab91] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db857dbf847bab91, body=] 2023-05-15T14:42:04.84402+08:00 INFO [22060,db857dbf847bab91] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=db857dbf847bab91, duration=3.607µs, status=200, data=2023-05-15 14:42:04.843999557 +0800 CST m=+8516.048383587] 2023-05-15T14:42:04.99221+08:00 INFO [22060,0a019e89c1f5ddf3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a019e89c1f5ddf3, body={"processName":"ocp_mgragent"}] 2023-05-15T14:42:05.02793+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="59.388µs" 2023-05-15T14:42:05.05407+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.192911ms 2023-05-15T14:42:05.05416+08:00 INFO [22060,0a019e89c1f5ddf3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517027}]" 2023-05-15T14:42:05.05424+08:00 INFO [22060,0a019e89c1f5ddf3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a019e89c1f5ddf3, duration=61.938031ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517027}]}] 2023-05-15T14:42:05.15732+08:00 INFO [22060,92f095452199ff35] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92f095452199ff35, body={"processName":"ocp_monagent"}] 2023-05-15T14:42:05.18971+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="44.394µs" 2023-05-15T14:42:05.2144+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.733999ms 2023-05-15T14:42:05.2145+08:00 INFO [22060,92f095452199ff35] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517189}]" 2023-05-15T14:42:05.21459+08:00 INFO [22060,92f095452199ff35] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92f095452199ff35, duration=57.167208ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517189}]}] 2023-05-15T14:42:05.29866+08:00 INFO [22060,45574e17b93f02e1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45574e17b93f02e1, body={"processName":"ocp_agentd"}] 2023-05-15T14:42:05.34229+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="191.79µs" 2023-05-15T14:42:05.36862+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.521961ms 2023-05-15T14:42:05.36871+08:00 INFO [22060,45574e17b93f02e1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517341}]" 2023-05-15T14:42:05.3688+08:00 INFO [22060,45574e17b93f02e1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45574e17b93f02e1, duration=70.041447ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8517341}]}] 2023-05-15T14:42:06.06537+08:00 INFO [22060,863c9e5dfbdd4ba9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=863c9e5dfbdd4ba9, body=] 2023-05-15T14:42:06.06546+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:42:06.06551+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:42:06.06553+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:42:06.06805+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:42:06.06814+08:00 INFO [22060,863c9e5dfbdd4ba9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=863c9e5dfbdd4ba9, duration=2.65581ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:43:06.26188+08:00 INFO [22060,8d4fc34895538377] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d4fc34895538377, body=] 2023-05-15T14:43:06.26204+08:00 INFO [22060,8d4fc34895538377] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d4fc34895538377, duration=9.253µs, status=200, data=2023-05-15 14:43:06.26199353 +0800 CST m=+8577.466377567] 2023-05-15T14:43:06.44562+08:00 INFO [22060,89dff6dc9e17181b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89dff6dc9e17181b, body={"processName":"ocp_mgragent"}] 2023-05-15T14:43:06.48223+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.698µs" 2023-05-15T14:43:06.50923+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.059115ms 2023-05-15T14:43:06.50933+08:00 INFO [22060,89dff6dc9e17181b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578482}]" 2023-05-15T14:43:06.50941+08:00 INFO [22060,89dff6dc9e17181b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89dff6dc9e17181b, duration=63.685109ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578482}]}] 2023-05-15T14:43:06.61669+08:00 INFO [22060,581f1d5b0ac3d5df] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=581f1d5b0ac3d5df, body={"processName":"ocp_monagent"}] 2023-05-15T14:43:06.64989+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="66.836µs" 2023-05-15T14:43:06.67558+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.754029ms 2023-05-15T14:43:06.67569+08:00 INFO [22060,581f1d5b0ac3d5df] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578649}]" 2023-05-15T14:43:06.6758+08:00 INFO [22060,581f1d5b0ac3d5df] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=581f1d5b0ac3d5df, duration=59.003258ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578649}]}] 2023-05-15T14:43:06.76518+08:00 INFO [22060,5b589e04bdb44516] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5b589e04bdb44516, body={"processName":"ocp_agentd"}] 2023-05-15T14:43:06.79814+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.558µs" 2023-05-15T14:43:06.82404+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.952424ms 2023-05-15T14:43:06.82412+08:00 INFO [22060,5b589e04bdb44516] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578797}]" 2023-05-15T14:43:06.82419+08:00 INFO [22060,5b589e04bdb44516] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5b589e04bdb44516, duration=58.902928ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8578797}]}] 2023-05-15T14:43:07.60637+08:00 INFO [22060,21f1e358aaa68f56] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21f1e358aaa68f56, body=] 2023-05-15T14:43:07.60647+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:43:07.60653+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:43:07.60657+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:43:07.60975+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:43:07.60984+08:00 INFO [22060,21f1e358aaa68f56] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21f1e358aaa68f56, duration=3.353905ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:44:07.71977+08:00 INFO [22060,87cc215728657e96] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87cc215728657e96, body=] 2023-05-15T14:44:07.71989+08:00 INFO [22060,87cc215728657e96] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87cc215728657e96, duration=16.393µs, status=200, data=2023-05-15 14:44:07.719858151 +0800 CST m=+8638.924242183] 2023-05-15T14:44:07.83027+08:00 INFO [22060,3a1f0492d436e137] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a1f0492d436e137, body={"processName":"ocp_mgragent"}] 2023-05-15T14:44:07.86667+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="113.872µs" 2023-05-15T14:44:07.8945+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.939624ms 2023-05-15T14:44:07.89459+08:00 INFO [22060,3a1f0492d436e137] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8639866}]" 2023-05-15T14:44:07.89468+08:00 INFO [22060,3a1f0492d436e137] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a1f0492d436e137, duration=64.301913ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8639866}]}] 2023-05-15T14:44:07.95857+08:00 INFO [22060,cef1916e77005dfa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cef1916e77005dfa, body={"processName":"ocp_monagent"}] 2023-05-15T14:44:07.99373+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.859µs" 2023-05-15T14:44:08.02182+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.140992ms 2023-05-15T14:44:08.02191+08:00 INFO [22060,cef1916e77005dfa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8639993}]" 2023-05-15T14:44:08.02199+08:00 INFO [22060,cef1916e77005dfa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cef1916e77005dfa, duration=63.153385ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8639993}]}] 2023-05-15T14:44:08.11679+08:00 INFO [22060,961f845f8b24b8f6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=961f845f8b24b8f6, body={"processName":"ocp_agentd"}] 2023-05-15T14:44:08.15286+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.588µs" 2023-05-15T14:44:08.17733+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.532192ms 2023-05-15T14:44:08.17742+08:00 INFO [22060,961f845f8b24b8f6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8640152}]" 2023-05-15T14:44:08.1775+08:00 INFO [22060,961f845f8b24b8f6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=961f845f8b24b8f6, duration=60.591662ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8640152}]}] 2023-05-15T14:44:08.99161+08:00 INFO [22060,0b9ef6cef739b011] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b9ef6cef739b011, body=] 2023-05-15T14:44:08.9917+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:44:08.99176+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:44:08.99179+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:44:09.00873+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:44:09.00888+08:00 INFO [22060,0b9ef6cef739b011] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b9ef6cef739b011, duration=17.125092ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:45:09.12976+08:00 INFO [22060,945df7e2922cfd34] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=945df7e2922cfd34, body=] 2023-05-15T14:45:09.1299+08:00 INFO [22060,945df7e2922cfd34] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=945df7e2922cfd34, duration=3.649µs, status=200, data=2023-05-15 14:45:09.129832679 +0800 CST m=+8700.334216708] 2023-05-15T14:45:09.28428+08:00 INFO [22060,71ce7ff49797c2be] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71ce7ff49797c2be, body={"processName":"ocp_mgragent"}] 2023-05-15T14:45:09.31717+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="56.707µs" 2023-05-15T14:45:09.34217+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.055552ms 2023-05-15T14:45:09.34226+08:00 INFO [22060,71ce7ff49797c2be] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701317}]" 2023-05-15T14:45:09.34234+08:00 INFO [22060,71ce7ff49797c2be] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71ce7ff49797c2be, duration=57.961271ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701317}]}] 2023-05-15T14:45:09.40751+08:00 INFO [22060,ea971531eb6f2246] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ea971531eb6f2246, body={"processName":"ocp_monagent"}] 2023-05-15T14:45:09.44639+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.969µs" 2023-05-15T14:45:09.4706+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.271524ms 2023-05-15T14:45:09.47071+08:00 INFO [22060,ea971531eb6f2246] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701446}]" 2023-05-15T14:45:09.47081+08:00 INFO [22060,ea971531eb6f2246] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ea971531eb6f2246, duration=63.196292ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701446}]}] 2023-05-15T14:45:09.58449+08:00 INFO [22060,13b466d21f9cdfa8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=13b466d21f9cdfa8, body={"processName":"ocp_agentd"}] 2023-05-15T14:45:09.61796+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.743µs" 2023-05-15T14:45:09.64167+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.76078ms 2023-05-15T14:45:09.64176+08:00 INFO [22060,13b466d21f9cdfa8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701617}]" 2023-05-15T14:45:09.64184+08:00 INFO [22060,13b466d21f9cdfa8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=13b466d21f9cdfa8, duration=57.254575ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8701617}]}] 2023-05-15T14:45:10.34988+08:00 INFO [22060,c012b2a9fcac44f4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c012b2a9fcac44f4, body=] 2023-05-15T14:45:10.34996+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:45:10.35001+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:45:10.35004+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:45:10.35299+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:45:10.35308+08:00 INFO [22060,c012b2a9fcac44f4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c012b2a9fcac44f4, duration=3.093157ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:46:10.46327+08:00 INFO [22060,e104e8772bc40c77] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e104e8772bc40c77, body=] 2023-05-15T14:46:10.46337+08:00 INFO [22060,e104e8772bc40c77] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e104e8772bc40c77, duration=4.358µs, status=200, data=2023-05-15 14:46:10.463350188 +0800 CST m=+8761.667734220] 2023-05-15T14:46:10.57793+08:00 INFO [22060,485bd702ef88a8f8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=485bd702ef88a8f8, body={"processName":"ocp_mgragent"}] 2023-05-15T14:46:10.61628+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.034µs" 2023-05-15T14:46:10.64146+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.249047ms 2023-05-15T14:46:10.64155+08:00 INFO [22060,485bd702ef88a8f8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762616}]" 2023-05-15T14:46:10.64164+08:00 INFO [22060,485bd702ef88a8f8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=485bd702ef88a8f8, duration=63.612955ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762616}]}] 2023-05-15T14:46:10.73937+08:00 INFO [22060,e98af052b32d6fef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e98af052b32d6fef, body={"processName":"ocp_monagent"}] 2023-05-15T14:46:10.77945+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.784µs" 2023-05-15T14:46:10.8056+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.206947ms 2023-05-15T14:46:10.80571+08:00 INFO [22060,e98af052b32d6fef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762779}]" 2023-05-15T14:46:10.80582+08:00 INFO [22060,e98af052b32d6fef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e98af052b32d6fef, duration=66.353241ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762779}]}] 2023-05-15T14:46:10.90941+08:00 INFO [22060,188f450101e309cb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=188f450101e309cb, body={"processName":"ocp_agentd"}] 2023-05-15T14:46:10.94349+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.87µs" 2023-05-15T14:46:10.96853+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.093588ms 2023-05-15T14:46:10.96861+08:00 INFO [22060,188f450101e309cb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762943}]" 2023-05-15T14:46:10.96869+08:00 INFO [22060,188f450101e309cb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=188f450101e309cb, duration=59.158353ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8762943}]}] 2023-05-15T14:46:11.90606+08:00 INFO [22060,89095d9ae3c2fb6d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89095d9ae3c2fb6d, body=] 2023-05-15T14:46:11.90613+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:46:11.90619+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:46:11.90621+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:46:11.91247+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:46:11.91256+08:00 INFO [22060,89095d9ae3c2fb6d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=89095d9ae3c2fb6d, duration=6.404048ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:47:12.22344+08:00 INFO [22060,94646b3cad1ac6c7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=94646b3cad1ac6c7, body=] 2023-05-15T14:47:12.22357+08:00 INFO [22060,94646b3cad1ac6c7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=94646b3cad1ac6c7, duration=4.161µs, status=200, data=2023-05-15 14:47:12.223535233 +0800 CST m=+8823.427919261] 2023-05-15T14:47:12.45813+08:00 INFO [22060,2d339098e5389540] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d339098e5389540, body={"processName":"ocp_mgragent"}] 2023-05-15T14:47:12.49282+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.977µs" 2023-05-15T14:47:12.51778+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.01335ms 2023-05-15T14:47:12.51787+08:00 INFO [22060,2d339098e5389540] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824492}]" 2023-05-15T14:47:12.51817+08:00 INFO [22060,2d339098e5389540] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d339098e5389540, duration=59.957334ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824492}]}] 2023-05-15T14:47:12.61876+08:00 INFO [22060,69546f5778a59f2c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69546f5778a59f2c, body={"processName":"ocp_monagent"}] 2023-05-15T14:47:12.66565+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="63.202µs" 2023-05-15T14:47:12.6905+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.911182ms 2023-05-15T14:47:12.6906+08:00 INFO [22060,69546f5778a59f2c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824665}]" 2023-05-15T14:47:12.6907+08:00 INFO [22060,69546f5778a59f2c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=69546f5778a59f2c, duration=71.793046ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824665}]}] 2023-05-15T14:47:12.84232+08:00 INFO [22060,08fd5e08a5d6c50d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08fd5e08a5d6c50d, body={"processName":"ocp_agentd"}] 2023-05-15T14:47:12.87541+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="186.488µs" 2023-05-15T14:47:12.90171+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.484722ms 2023-05-15T14:47:12.90178+08:00 INFO [22060,08fd5e08a5d6c50d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824875}]" 2023-05-15T14:47:12.90187+08:00 INFO [22060,08fd5e08a5d6c50d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08fd5e08a5d6c50d, duration=59.4457ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8824875}]}] 2023-05-15T14:47:13.71093+08:00 INFO [22060,8837f1cc838586b5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8837f1cc838586b5, body=] 2023-05-15T14:47:13.71101+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:47:13.71107+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:47:13.71109+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:47:13.71361+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:47:13.71368+08:00 INFO [22060,8837f1cc838586b5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8837f1cc838586b5, duration=2.657557ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:48:13.81345+08:00 INFO [22060,edd355fce7ffb41b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=edd355fce7ffb41b, body=] 2023-05-15T14:48:13.81355+08:00 INFO [22060,edd355fce7ffb41b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=edd355fce7ffb41b, duration=4.267µs, status=200, data=2023-05-15 14:48:13.813531732 +0800 CST m=+8885.017915765] 2023-05-15T14:48:13.95855+08:00 INFO [22060,e04570dd421bac16] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e04570dd421bac16, body={"processName":"ocp_mgragent"}] 2023-05-15T14:48:13.99556+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="127.447µs" 2023-05-15T14:48:14.02013+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.698022ms 2023-05-15T14:48:14.02024+08:00 INFO [22060,e04570dd421bac16] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8885995}]" 2023-05-15T14:48:14.02032+08:00 INFO [22060,e04570dd421bac16] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e04570dd421bac16, duration=61.669117ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8885995}]}] 2023-05-15T14:48:14.19753+08:00 INFO [22060,2c181d973aa43abc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c181d973aa43abc, body={"processName":"ocp_monagent"}] 2023-05-15T14:48:14.23191+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="56.217µs" 2023-05-15T14:48:14.26434+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.494628ms 2023-05-15T14:48:14.26445+08:00 INFO [22060,2c181d973aa43abc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8886231}]" 2023-05-15T14:48:14.26456+08:00 INFO [22060,2c181d973aa43abc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c181d973aa43abc, duration=66.923285ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8886231}]}] 2023-05-15T14:48:14.38839+08:00 INFO [22060,70fa48cd7721605f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70fa48cd7721605f, body={"processName":"ocp_agentd"}] 2023-05-15T14:48:14.42589+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="256.259µs" 2023-05-15T14:48:14.45572+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.088226ms 2023-05-15T14:48:14.45582+08:00 INFO [22060,70fa48cd7721605f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8886425}]" 2023-05-15T14:48:14.45592+08:00 INFO [22060,70fa48cd7721605f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70fa48cd7721605f, duration=67.408666ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8886425}]}] 2023-05-15T14:48:15.19893+08:00 INFO [22060,7e406effca3d12db] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7e406effca3d12db, body=] 2023-05-15T14:48:15.199+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:48:15.19905+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:48:15.19907+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:48:15.20291+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:48:15.20303+08:00 INFO [22060,7e406effca3d12db] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7e406effca3d12db, duration=3.990471ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:49:15.32556+08:00 INFO [22060,1664bc6f1a65a60a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1664bc6f1a65a60a, body=] 2023-05-15T14:49:15.32571+08:00 INFO [22060,1664bc6f1a65a60a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1664bc6f1a65a60a, duration=6.371µs, status=200, data=2023-05-15 14:49:15.325676492 +0800 CST m=+8946.530060522] 2023-05-15T14:49:15.49493+08:00 INFO [22060,aab73214e563122c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aab73214e563122c, body={"processName":"ocp_mgragent"}] 2023-05-15T14:49:15.53575+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="93.262µs" 2023-05-15T14:49:15.56162+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.96934ms 2023-05-15T14:49:15.56171+08:00 INFO [22060,aab73214e563122c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947535}]" 2023-05-15T14:49:15.56178+08:00 INFO [22060,aab73214e563122c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aab73214e563122c, duration=66.753732ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947535}]}] 2023-05-15T14:49:15.71975+08:00 INFO [22060,b1c63f8111f4f5f9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1c63f8111f4f5f9, body={"processName":"ocp_monagent"}] 2023-05-15T14:49:15.75737+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.242µs" 2023-05-15T14:49:15.78251+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.190959ms 2023-05-15T14:49:15.7826+08:00 INFO [22060,b1c63f8111f4f5f9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947757}]" 2023-05-15T14:49:15.78268+08:00 INFO [22060,b1c63f8111f4f5f9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1c63f8111f4f5f9, duration=62.827847ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947757}]}] 2023-05-15T14:49:15.88507+08:00 INFO [22060,0adee5659b79d506] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0adee5659b79d506, body={"processName":"ocp_agentd"}] 2023-05-15T14:49:15.92194+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="103.33µs" 2023-05-15T14:49:15.947+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.171888ms 2023-05-15T14:49:15.94711+08:00 INFO [22060,0adee5659b79d506] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947921}]" 2023-05-15T14:49:15.9472+08:00 INFO [22060,0adee5659b79d506] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0adee5659b79d506, duration=62.017981ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 8947921}]}] 2023-05-15T14:49:16.71606+08:00 INFO [22060,838e1c66233fdca2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=838e1c66233fdca2, body=] 2023-05-15T14:49:16.71616+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:49:16.71623+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:49:16.71628+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:49:16.71918+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:49:16.71928+08:00 INFO [22060,838e1c66233fdca2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=838e1c66233fdca2, duration=3.097034ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:50:16.9411+08:00 INFO [22060,8c1340d7bdd38a6a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c1340d7bdd38a6a, body=] 2023-05-15T14:50:16.94121+08:00 INFO [22060,8c1340d7bdd38a6a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c1340d7bdd38a6a, duration=5.34µs, status=200, data=2023-05-15 14:50:16.941189833 +0800 CST m=+9008.145573873] 2023-05-15T14:50:17.20718+08:00 INFO [22060,e5278bc3100b2b92] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5278bc3100b2b92, body={"processName":"ocp_mgragent"}] 2023-05-15T14:50:17.24311+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.219µs" 2023-05-15T14:50:17.27166+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.600933ms 2023-05-15T14:50:17.27176+08:00 INFO [22060,e5278bc3100b2b92] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009242}]" 2023-05-15T14:50:17.27184+08:00 INFO [22060,e5278bc3100b2b92] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e5278bc3100b2b92, duration=64.549452ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009242}]}] 2023-05-15T14:50:17.35124+08:00 INFO [22060,113614b23930c69a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=113614b23930c69a, body={"processName":"ocp_monagent"}] 2023-05-15T14:50:17.39462+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.73µs" 2023-05-15T14:50:17.41922+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.651252ms 2023-05-15T14:50:17.41931+08:00 INFO [22060,113614b23930c69a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009394}]" 2023-05-15T14:50:17.41939+08:00 INFO [22060,113614b23930c69a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=113614b23930c69a, duration=68.035296ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009394}]}] 2023-05-15T14:50:17.58285+08:00 INFO [22060,1df25d2bc26fed12] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1df25d2bc26fed12, body={"processName":"ocp_agentd"}] 2023-05-15T14:50:17.62059+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.495µs" 2023-05-15T14:50:17.6449+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.36284ms 2023-05-15T14:50:17.64498+08:00 INFO [22060,1df25d2bc26fed12] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009620}]" 2023-05-15T14:50:17.64507+08:00 INFO [22060,1df25d2bc26fed12] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1df25d2bc26fed12, duration=62.087152ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9009620}]}] 2023-05-15T14:50:18.48438+08:00 INFO [22060,4dbed735afe92ac1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4dbed735afe92ac1, body=] 2023-05-15T14:50:18.48447+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:50:18.48453+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:50:18.48457+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:50:18.48836+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:50:18.48845+08:00 INFO [22060,4dbed735afe92ac1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4dbed735afe92ac1, duration=3.954122ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:51:18.66693+08:00 INFO [22060,51121c642ce2ccae] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51121c642ce2ccae, body=] 2023-05-15T14:51:18.66708+08:00 INFO [22060,51121c642ce2ccae] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51121c642ce2ccae, duration=6.739µs, status=200, data=2023-05-15 14:51:18.66705044 +0800 CST m=+9069.871434480] 2023-05-15T14:51:18.86513+08:00 INFO [22060,7cce090156728323] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cce090156728323, body={"processName":"ocp_mgragent"}] 2023-05-15T14:51:18.90598+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="72.261µs" 2023-05-15T14:51:18.93351+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.607769ms 2023-05-15T14:51:18.93362+08:00 INFO [22060,7cce090156728323] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9070905}]" 2023-05-15T14:51:18.93377+08:00 INFO [22060,7cce090156728323] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cce090156728323, duration=68.508574ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9070905}]}] 2023-05-15T14:51:19.04324+08:00 INFO [22060,9944b655bec2ea64] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9944b655bec2ea64, body={"processName":"ocp_monagent"}] 2023-05-15T14:51:19.07816+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.02µs" 2023-05-15T14:51:19.10558+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.47123ms 2023-05-15T14:51:19.10572+08:00 INFO [22060,9944b655bec2ea64] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9071078}]" 2023-05-15T14:51:19.10583+08:00 INFO [22060,9944b655bec2ea64] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9944b655bec2ea64, duration=62.481573ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9071078}]}] 2023-05-15T14:51:19.27162+08:00 INFO [22060,fe3cd6909346de39] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe3cd6909346de39, body={"processName":"ocp_agentd"}] 2023-05-15T14:51:19.31277+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.925µs" 2023-05-15T14:51:19.33643+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.704592ms 2023-05-15T14:51:19.33651+08:00 INFO [22060,fe3cd6909346de39] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9071312}]" 2023-05-15T14:51:19.33659+08:00 INFO [22060,fe3cd6909346de39] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe3cd6909346de39, duration=64.884021ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9071312}]}] 2023-05-15T14:51:20.27359+08:00 INFO [22060,9563cb9a0eb8fce2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9563cb9a0eb8fce2, body=] 2023-05-15T14:51:20.27368+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:51:20.27373+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:51:20.27375+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:51:20.27646+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:51:20.27655+08:00 INFO [22060,9563cb9a0eb8fce2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9563cb9a0eb8fce2, duration=2.849138ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:52:20.40169+08:00 INFO [22060,65c355b62f91fa99] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65c355b62f91fa99, body=] 2023-05-15T14:52:20.4018+08:00 INFO [22060,65c355b62f91fa99] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65c355b62f91fa99, duration=8.753µs, status=200, data=2023-05-15 14:52:20.401774245 +0800 CST m=+9131.606158275] 2023-05-15T14:52:20.59888+08:00 INFO [22060,3bd959d8261553ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3bd959d8261553ee, body={"processName":"ocp_mgragent"}] 2023-05-15T14:52:20.63378+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="59.5µs" 2023-05-15T14:52:20.66151+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.794802ms 2023-05-15T14:52:20.66162+08:00 INFO [22060,3bd959d8261553ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9132633}]" 2023-05-15T14:52:20.66172+08:00 INFO [22060,3bd959d8261553ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3bd959d8261553ee, duration=62.73933ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9132633}]}] 2023-05-15T14:52:20.79184+08:00 INFO [22060,6625568c43ae7b8e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6625568c43ae7b8e, body={"processName":"ocp_monagent"}] 2023-05-15T14:52:20.82666+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.148µs" 2023-05-15T14:52:20.85267+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.060306ms 2023-05-15T14:52:20.85276+08:00 INFO [22060,6625568c43ae7b8e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9132826}]" 2023-05-15T14:52:20.85284+08:00 INFO [22060,6625568c43ae7b8e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6625568c43ae7b8e, duration=60.896601ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9132826}]}] 2023-05-15T14:52:21.03486+08:00 INFO [22060,f25a43d03c1b3e9f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f25a43d03c1b3e9f, body={"processName":"ocp_agentd"}] 2023-05-15T14:52:21.07236+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="72.099µs" 2023-05-15T14:52:21.09941+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.122064ms 2023-05-15T14:52:21.09953+08:00 INFO [22060,f25a43d03c1b3e9f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9133072}]" 2023-05-15T14:52:21.09961+08:00 INFO [22060,f25a43d03c1b3e9f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f25a43d03c1b3e9f, duration=64.653264ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9133072}]}] 2023-05-15T14:52:22.46303+08:00 INFO [22060,aac9a87c5260e2f9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aac9a87c5260e2f9, body=] 2023-05-15T14:52:22.46311+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:52:22.46316+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:52:22.46319+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:52:22.46621+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:52:22.46632+08:00 INFO [22060,aac9a87c5260e2f9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aac9a87c5260e2f9, duration=3.172457ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:53:22.61345+08:00 INFO [22060,2ccd1474b5089727] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2ccd1474b5089727, body=] 2023-05-15T14:53:22.61356+08:00 INFO [22060,2ccd1474b5089727] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2ccd1474b5089727, duration=7.254µs, status=200, data=2023-05-15 14:53:22.613528091 +0800 CST m=+9193.817912119] 2023-05-15T14:53:22.85958+08:00 INFO [22060,59491fa8a19864ab] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=59491fa8a19864ab, body={"processName":"ocp_mgragent"}] 2023-05-15T14:53:22.893+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.454µs" 2023-05-15T14:53:22.91811+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.160796ms 2023-05-15T14:53:22.91819+08:00 INFO [22060,59491fa8a19864ab] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9194892}]" 2023-05-15T14:53:22.91828+08:00 INFO [22060,59491fa8a19864ab] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=59491fa8a19864ab, duration=58.586512ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9194892}]}] 2023-05-15T14:53:23.09396+08:00 INFO [22060,c26ecdd23a726168] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c26ecdd23a726168, body={"processName":"ocp_monagent"}] 2023-05-15T14:53:23.12883+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.623µs" 2023-05-15T14:53:23.15291+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.138149ms 2023-05-15T14:53:23.153+08:00 INFO [22060,c26ecdd23a726168] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9195128}]" 2023-05-15T14:53:23.15308+08:00 INFO [22060,c26ecdd23a726168] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c26ecdd23a726168, duration=59.023842ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9195128}]}] 2023-05-15T14:53:23.33291+08:00 INFO [22060,1d2338f752013d67] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d2338f752013d67, body={"processName":"ocp_agentd"}] 2023-05-15T14:53:23.36711+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.384µs" 2023-05-15T14:53:23.39188+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.820263ms 2023-05-15T14:53:23.39196+08:00 INFO [22060,1d2338f752013d67] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9195366}]" 2023-05-15T14:53:23.39204+08:00 INFO [22060,1d2338f752013d67] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d2338f752013d67, duration=59.031881ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9195366}]}] 2023-05-15T14:53:23.97991+08:00 INFO [22060,051e238d15e15eeb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=051e238d15e15eeb, body=] 2023-05-15T14:53:23.98002+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:53:23.98007+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:53:23.98011+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:53:23.99542+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:53:23.99552+08:00 INFO [22060,051e238d15e15eeb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=051e238d15e15eeb, duration=15.474287ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:54:24.11439+08:00 INFO [22060,b9d39d49ef465dda] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9d39d49ef465dda, body=] 2023-05-15T14:54:24.11452+08:00 INFO [22060,b9d39d49ef465dda] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9d39d49ef465dda, duration=5.277µs, status=200, data=2023-05-15 14:54:24.114492813 +0800 CST m=+9255.318876846] 2023-05-15T14:54:24.32742+08:00 INFO [22060,2048b8c97a6e418c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2048b8c97a6e418c, body={"processName":"ocp_mgragent"}] 2023-05-15T14:54:24.36333+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.366µs" 2023-05-15T14:54:24.39589+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.610447ms 2023-05-15T14:54:24.39598+08:00 INFO [22060,2048b8c97a6e418c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256363}]" 2023-05-15T14:54:24.39606+08:00 INFO [22060,2048b8c97a6e418c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2048b8c97a6e418c, duration=68.531736ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256363}]}] 2023-05-15T14:54:24.55689+08:00 INFO [22060,b9b158cbedbea74c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9b158cbedbea74c, body={"processName":"ocp_monagent"}] 2023-05-15T14:54:24.60092+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="88.1µs" 2023-05-15T14:54:24.63018+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.348411ms 2023-05-15T14:54:24.63028+08:00 INFO [22060,b9b158cbedbea74c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256600}]" 2023-05-15T14:54:24.63038+08:00 INFO [22060,b9b158cbedbea74c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9b158cbedbea74c, duration=73.38357ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256600}]}] 2023-05-15T14:54:24.74071+08:00 INFO [22060,c2d711175c641bfc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c2d711175c641bfc, body={"processName":"ocp_agentd"}] 2023-05-15T14:54:24.77545+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="144.468µs" 2023-05-15T14:54:24.80301+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.704398ms 2023-05-15T14:54:24.8031+08:00 INFO [22060,c2d711175c641bfc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256775}]" 2023-05-15T14:54:24.80318+08:00 INFO [22060,c2d711175c641bfc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c2d711175c641bfc, duration=62.370481ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9256775}]}] 2023-05-15T14:54:25.6922+08:00 INFO [22060,5ca81b63137c0a13] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ca81b63137c0a13, body=] 2023-05-15T14:54:25.69228+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:54:25.69234+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:54:25.69237+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:54:25.69539+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:54:25.69549+08:00 INFO [22060,5ca81b63137c0a13] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5ca81b63137c0a13, duration=3.182097ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:55:25.81982+08:00 INFO [22060,b92f7d7d6240fd87] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b92f7d7d6240fd87, body=] 2023-05-15T14:55:25.81995+08:00 INFO [22060,b92f7d7d6240fd87] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b92f7d7d6240fd87, duration=5.481µs, status=200, data=2023-05-15 14:55:25.81992116 +0800 CST m=+9317.024305193] 2023-05-15T14:55:25.92748+08:00 INFO [22060,b1abf3ffca6412ad] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1abf3ffca6412ad, body={"processName":"ocp_mgragent"}] 2023-05-15T14:55:25.96469+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.727µs" 2023-05-15T14:55:25.99302+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.37879ms 2023-05-15T14:55:25.9931+08:00 INFO [22060,b1abf3ffca6412ad] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9317964}]" 2023-05-15T14:55:25.99319+08:00 INFO [22060,b1abf3ffca6412ad] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1abf3ffca6412ad, duration=65.605641ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9317964}]}] 2023-05-15T14:55:26.13646+08:00 INFO [22060,cb13a9380bc057c3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb13a9380bc057c3, body={"processName":"ocp_monagent"}] 2023-05-15T14:55:26.16889+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="151.661µs" 2023-05-15T14:55:26.19384+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.097559ms 2023-05-15T14:55:26.19394+08:00 INFO [22060,cb13a9380bc057c3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9318168}]" 2023-05-15T14:55:26.19402+08:00 INFO [22060,cb13a9380bc057c3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb13a9380bc057c3, duration=57.4529ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9318168}]}] 2023-05-15T14:55:26.3084+08:00 INFO [22060,76aa8784876dc66a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76aa8784876dc66a, body={"processName":"ocp_agentd"}] 2023-05-15T14:55:26.34455+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.076µs" 2023-05-15T14:55:26.36949+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.991091ms 2023-05-15T14:55:26.36957+08:00 INFO [22060,76aa8784876dc66a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9318344}]" 2023-05-15T14:55:26.36965+08:00 INFO [22060,76aa8784876dc66a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76aa8784876dc66a, duration=61.146579ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9318344}]}] 2023-05-15T14:55:27.19252+08:00 INFO [22060,fcc4b8a6448ddbb2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcc4b8a6448ddbb2, body=] 2023-05-15T14:55:27.19259+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:55:27.19265+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:55:27.19267+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:55:27.19541+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:55:27.19551+08:00 INFO [22060,fcc4b8a6448ddbb2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcc4b8a6448ddbb2, duration=2.896908ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:56:27.31909+08:00 INFO [22060,448aff38e9b44dd1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=448aff38e9b44dd1, body=] 2023-05-15T14:56:27.31919+08:00 INFO [22060,448aff38e9b44dd1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=448aff38e9b44dd1, duration=8.28µs, status=200, data=2023-05-15 14:56:27.319172619 +0800 CST m=+9378.523556648] 2023-05-15T14:56:27.45994+08:00 INFO [22060,ac585e363519d583] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac585e363519d583, body={"processName":"ocp_mgragent"}] 2023-05-15T14:56:27.50147+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="65.021µs" 2023-05-15T14:56:27.53436+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.957787ms 2023-05-15T14:56:27.53447+08:00 INFO [22060,ac585e363519d583] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379501}]" 2023-05-15T14:56:27.53456+08:00 INFO [22060,ac585e363519d583] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac585e363519d583, duration=74.515108ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379501}]}] 2023-05-15T14:56:27.60747+08:00 INFO [22060,bfc9afaef57fe1c5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bfc9afaef57fe1c5, body={"processName":"ocp_monagent"}] 2023-05-15T14:56:27.64992+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="85.526µs" 2023-05-15T14:56:27.68413+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=34.305815ms 2023-05-15T14:56:27.68423+08:00 INFO [22060,bfc9afaef57fe1c5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379649}]" 2023-05-15T14:56:27.68433+08:00 INFO [22060,bfc9afaef57fe1c5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bfc9afaef57fe1c5, duration=76.737927ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379649}]}] 2023-05-15T14:56:27.78453+08:00 INFO [22060,4600fc305ee9ca0a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4600fc305ee9ca0a, body={"processName":"ocp_agentd"}] 2023-05-15T14:56:27.82224+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="57.393µs" 2023-05-15T14:56:27.84789+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.71091ms 2023-05-15T14:56:27.84798+08:00 INFO [22060,4600fc305ee9ca0a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379822}]" 2023-05-15T14:56:27.84807+08:00 INFO [22060,4600fc305ee9ca0a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4600fc305ee9ca0a, duration=63.428782ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9379822}]}] 2023-05-15T14:56:28.4391+08:00 INFO [22060,0f151f323fff2623] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f151f323fff2623, body=] 2023-05-15T14:56:28.43917+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:56:28.43922+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:56:28.43924+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:56:28.44261+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:56:28.44273+08:00 INFO [22060,0f151f323fff2623] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f151f323fff2623, duration=3.52432ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:57:28.55115+08:00 INFO [22060,8365f35904824f96] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8365f35904824f96, body=] 2023-05-15T14:57:28.55127+08:00 INFO [22060,8365f35904824f96] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8365f35904824f96, duration=4.132µs, status=200, data=2023-05-15 14:57:28.551248465 +0800 CST m=+9439.755632496] 2023-05-15T14:57:28.6878+08:00 INFO [22060,4b63465ba22dc54b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4b63465ba22dc54b, body={"processName":"ocp_mgragent"}] 2023-05-15T14:57:28.72102+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.125µs" 2023-05-15T14:57:28.74432+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=23.353913ms 2023-05-15T14:57:28.74441+08:00 INFO [22060,4b63465ba22dc54b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9440720}]" 2023-05-15T14:57:28.74449+08:00 INFO [22060,4b63465ba22dc54b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4b63465ba22dc54b, duration=56.587324ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9440720}]}] 2023-05-15T14:57:28.83581+08:00 INFO [22060,84b8b08c560adcfc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84b8b08c560adcfc, body={"processName":"ocp_monagent"}] 2023-05-15T14:57:28.87566+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="218.119µs" 2023-05-15T14:57:28.89939+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.95109ms 2023-05-15T14:57:28.89948+08:00 INFO [22060,84b8b08c560adcfc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9440875}]" 2023-05-15T14:57:28.89957+08:00 INFO [22060,84b8b08c560adcfc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84b8b08c560adcfc, duration=63.64996ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9440875}]}] 2023-05-15T14:57:29.0058+08:00 INFO [22060,5389ec088f949816] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5389ec088f949816, body={"processName":"ocp_agentd"}] 2023-05-15T14:57:29.03955+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.231µs" 2023-05-15T14:57:29.06478+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.278388ms 2023-05-15T14:57:29.06486+08:00 INFO [22060,5389ec088f949816] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9441039}]" 2023-05-15T14:57:29.06495+08:00 INFO [22060,5389ec088f949816] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5389ec088f949816, duration=59.037249ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9441039}]}] 2023-05-15T14:57:29.9225+08:00 INFO [22060,ef0d026cc32512c0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ef0d026cc32512c0, body=] 2023-05-15T14:57:29.92257+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:57:29.92262+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:57:29.92264+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:57:29.92555+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:57:29.92564+08:00 INFO [22060,ef0d026cc32512c0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ef0d026cc32512c0, duration=3.046305ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:58:30.07957+08:00 INFO [22060,6bf34828f8848c55] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bf34828f8848c55, body=] 2023-05-15T14:58:30.07969+08:00 INFO [22060,6bf34828f8848c55] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6bf34828f8848c55, duration=5.255µs, status=200, data=2023-05-15 14:58:30.079670548 +0800 CST m=+9501.284054581] 2023-05-15T14:58:30.28174+08:00 INFO [22060,bdbee935f8163ddc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdbee935f8163ddc, body={"processName":"ocp_mgragent"}] 2023-05-15T14:58:30.32398+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.601µs" 2023-05-15T14:58:30.35066+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.748058ms 2023-05-15T14:58:30.35077+08:00 INFO [22060,bdbee935f8163ddc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502323}]" 2023-05-15T14:58:30.35089+08:00 INFO [22060,bdbee935f8163ddc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bdbee935f8163ddc, duration=69.000651ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502323}]}] 2023-05-15T14:58:30.55317+08:00 INFO [22060,040e2b7128b96a5e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=040e2b7128b96a5e, body={"processName":"ocp_monagent"}] 2023-05-15T14:58:30.59807+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="63.695µs" 2023-05-15T14:58:30.62459+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.586321ms 2023-05-15T14:58:30.62468+08:00 INFO [22060,040e2b7128b96a5e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502597}]" 2023-05-15T14:58:30.62478+08:00 INFO [22060,040e2b7128b96a5e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=040e2b7128b96a5e, duration=71.489763ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502597}]}] 2023-05-15T14:58:30.70166+08:00 INFO [22060,a38ff63628be51a3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a38ff63628be51a3, body={"processName":"ocp_agentd"}] 2023-05-15T14:58:30.73813+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="55.385µs" 2023-05-15T14:58:30.76368+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.60906ms 2023-05-15T14:58:30.76377+08:00 INFO [22060,a38ff63628be51a3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502737}]" 2023-05-15T14:58:30.76388+08:00 INFO [22060,a38ff63628be51a3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a38ff63628be51a3, duration=62.07826ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9502737}]}] 2023-05-15T14:58:31.61705+08:00 INFO [22060,9b7dea3f0c36d6d9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9b7dea3f0c36d6d9, body=] 2023-05-15T14:58:31.61714+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:58:31.61719+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:58:31.61721+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:58:31.62064+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:58:31.62073+08:00 INFO [22060,9b7dea3f0c36d6d9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9b7dea3f0c36d6d9, duration=3.572609ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T14:59:31.79466+08:00 INFO [22060,f94f0c88739063e7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f94f0c88739063e7, body=] 2023-05-15T14:59:31.79479+08:00 INFO [22060,f94f0c88739063e7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f94f0c88739063e7, duration=3.823µs, status=200, data=2023-05-15 14:59:31.79474324 +0800 CST m=+9562.999127268] 2023-05-15T14:59:31.98948+08:00 INFO [22060,05d427630ea7d22f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05d427630ea7d22f, body={"processName":"ocp_mgragent"}] 2023-05-15T14:59:32.02465+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.275µs" 2023-05-15T14:59:32.05197+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.369984ms 2023-05-15T14:59:32.05205+08:00 INFO [22060,05d427630ea7d22f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564024}]" 2023-05-15T14:59:32.05213+08:00 INFO [22060,05d427630ea7d22f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05d427630ea7d22f, duration=62.55593ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564024}]}] 2023-05-15T14:59:32.21719+08:00 INFO [22060,6e4da22a74de51ef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e4da22a74de51ef, body={"processName":"ocp_monagent"}] 2023-05-15T14:59:32.25028+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.346µs" 2023-05-15T14:59:32.27585+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.636809ms 2023-05-15T14:59:32.27595+08:00 INFO [22060,6e4da22a74de51ef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564250}]" 2023-05-15T14:59:32.27603+08:00 INFO [22060,6e4da22a74de51ef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6e4da22a74de51ef, duration=58.750715ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564250}]}] 2023-05-15T14:59:32.45666+08:00 INFO [22060,7474a2d4d1d408e6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7474a2d4d1d408e6, body={"processName":"ocp_agentd"}] 2023-05-15T14:59:32.49098+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.316µs" 2023-05-15T14:59:32.51619+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.271374ms 2023-05-15T14:59:32.51635+08:00 INFO [22060,7474a2d4d1d408e6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564490}]" 2023-05-15T14:59:32.51643+08:00 INFO [22060,7474a2d4d1d408e6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7474a2d4d1d408e6, duration=59.647354ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9564490}]}] 2023-05-15T14:59:33.38294+08:00 INFO [22060,df461c54d8bed7da] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df461c54d8bed7da, body=] 2023-05-15T14:59:33.38302+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T14:59:33.38307+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T14:59:33.38309+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T14:59:33.38565+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T14:59:33.38572+08:00 INFO [22060,df461c54d8bed7da] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df461c54d8bed7da, duration=2.677523ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:00:33.53375+08:00 INFO [22060,3a0b1e3fc89b5755] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a0b1e3fc89b5755, body=] 2023-05-15T15:00:33.53385+08:00 INFO [22060,3a0b1e3fc89b5755] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3a0b1e3fc89b5755, duration=3.832µs, status=200, data=2023-05-15 15:00:33.533832844 +0800 CST m=+9624.738216873] 2023-05-15T15:00:33.79128+08:00 INFO [22060,b9785947e19174b3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9785947e19174b3, body={"processName":"ocp_mgragent"}] 2023-05-15T15:00:33.82583+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.009µs" 2023-05-15T15:00:33.85412+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.342646ms 2023-05-15T15:00:33.85423+08:00 INFO [22060,b9785947e19174b3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9625825}]" 2023-05-15T15:00:33.85433+08:00 INFO [22060,b9785947e19174b3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b9785947e19174b3, duration=62.921795ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9625825}]}] 2023-05-15T15:00:34.02416+08:00 INFO [22060,74db0d1f4f3a96e0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74db0d1f4f3a96e0, body={"processName":"ocp_monagent"}] 2023-05-15T15:00:34.06316+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.21µs" 2023-05-15T15:00:34.09516+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.055037ms 2023-05-15T15:00:34.09525+08:00 INFO [22060,74db0d1f4f3a96e0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9626062}]" 2023-05-15T15:00:34.09535+08:00 INFO [22060,74db0d1f4f3a96e0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74db0d1f4f3a96e0, duration=71.080489ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9626062}]}] 2023-05-15T15:00:34.2578+08:00 INFO [22060,a9edf74563efbe3e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a9edf74563efbe3e, body={"processName":"ocp_agentd"}] 2023-05-15T15:00:34.29856+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.895µs" 2023-05-15T15:00:34.32759+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.093447ms 2023-05-15T15:00:34.32768+08:00 INFO [22060,a9edf74563efbe3e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9626298}]" 2023-05-15T15:00:34.32777+08:00 INFO [22060,a9edf74563efbe3e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a9edf74563efbe3e, duration=69.860015ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9626298}]}] 2023-05-15T15:00:34.91996+08:00 INFO [22060,43b5db870dc26d4c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43b5db870dc26d4c, body=] 2023-05-15T15:00:34.92005+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:00:34.92012+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:00:34.92015+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:00:34.92376+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:00:34.92385+08:00 INFO [22060,43b5db870dc26d4c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=43b5db870dc26d4c, duration=3.777819ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:01:35.16749+08:00 INFO [22060,2e013c6d4b63962d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2e013c6d4b63962d, body=] 2023-05-15T15:01:35.1676+08:00 INFO [22060,2e013c6d4b63962d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2e013c6d4b63962d, duration=4.884µs, status=200, data=2023-05-15 15:01:35.167575892 +0800 CST m=+9686.371959923] 2023-05-15T15:01:35.36415+08:00 INFO [22060,8922277c0b418781] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8922277c0b418781, body={"processName":"ocp_mgragent"}] 2023-05-15T15:01:35.40235+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.696µs" 2023-05-15T15:01:35.43765+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=35.353731ms 2023-05-15T15:01:35.43774+08:00 INFO [22060,8922277c0b418781] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687402}]" 2023-05-15T15:01:35.43793+08:00 INFO [22060,8922277c0b418781] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8922277c0b418781, duration=73.675124ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687402}]}] 2023-05-15T15:01:35.55062+08:00 INFO [22060,dcdcc0a639459743] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dcdcc0a639459743, body={"processName":"ocp_monagent"}] 2023-05-15T15:01:35.58555+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.293µs" 2023-05-15T15:01:35.60983+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.324047ms 2023-05-15T15:01:35.60992+08:00 INFO [22060,dcdcc0a639459743] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687585}]" 2023-05-15T15:01:35.61+08:00 INFO [22060,dcdcc0a639459743] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dcdcc0a639459743, duration=59.285111ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687585}]}] 2023-05-15T15:01:35.71163+08:00 INFO [22060,fd5ee9989424fc99] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fd5ee9989424fc99, body={"processName":"ocp_agentd"}] 2023-05-15T15:01:35.74967+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="62.717µs" 2023-05-15T15:01:35.77581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.200201ms 2023-05-15T15:01:35.77593+08:00 INFO [22060,fd5ee9989424fc99] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687749}]" 2023-05-15T15:01:35.77604+08:00 INFO [22060,fd5ee9989424fc99] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fd5ee9989424fc99, duration=64.27141ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9687749}]}] 2023-05-15T15:01:36.37964+08:00 INFO [22060,93abf1f7829bd259] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93abf1f7829bd259, body=] 2023-05-15T15:01:36.37971+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:01:36.37976+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:01:36.37978+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:01:36.38297+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:01:36.38305+08:00 INFO [22060,93abf1f7829bd259] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93abf1f7829bd259, duration=3.319714ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:02:36.75322+08:00 INFO [22060,b64a577d1ddcb402] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b64a577d1ddcb402, body=] 2023-05-15T15:02:36.75332+08:00 INFO [22060,b64a577d1ddcb402] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b64a577d1ddcb402, duration=4.545µs, status=200, data=2023-05-15 15:02:36.753300336 +0800 CST m=+9747.957684366] 2023-05-15T15:02:36.93039+08:00 INFO [22060,488447072fbda05f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=488447072fbda05f, body={"processName":"ocp_mgragent"}] 2023-05-15T15:02:36.96674+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="210.832µs" 2023-05-15T15:02:36.99277+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.244127ms 2023-05-15T15:02:36.99288+08:00 INFO [22060,488447072fbda05f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9748966}]" 2023-05-15T15:02:36.99299+08:00 INFO [22060,488447072fbda05f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=488447072fbda05f, duration=62.437073ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9748966}]}] 2023-05-15T15:02:37.27703+08:00 INFO [22060,b7640395535af07b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b7640395535af07b, body={"processName":"ocp_monagent"}] 2023-05-15T15:02:37.31152+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="60.508µs" 2023-05-15T15:02:37.33645+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.992891ms 2023-05-15T15:02:37.33655+08:00 INFO [22060,b7640395535af07b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9749311}]" 2023-05-15T15:02:37.33664+08:00 INFO [22060,b7640395535af07b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b7640395535af07b, duration=59.513371ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9749311}]}] 2023-05-15T15:02:37.46698+08:00 INFO [22060,8df06b8176fd90d0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8df06b8176fd90d0, body={"processName":"ocp_agentd"}] 2023-05-15T15:02:37.50308+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.772µs" 2023-05-15T15:02:37.53224+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.208063ms 2023-05-15T15:02:37.53232+08:00 INFO [22060,8df06b8176fd90d0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9749502}]" 2023-05-15T15:02:37.53241+08:00 INFO [22060,8df06b8176fd90d0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8df06b8176fd90d0, duration=65.343432ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9749502}]}] 2023-05-15T15:02:38.07318+08:00 INFO [22060,6c039e383a46b92d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6c039e383a46b92d, body=] 2023-05-15T15:02:38.07327+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:02:38.07333+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:02:38.07335+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:02:38.07612+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:02:38.0762+08:00 INFO [22060,6c039e383a46b92d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6c039e383a46b92d, duration=2.910933ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:03:38.31936+08:00 INFO [22060,795c4e7f906522e0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=795c4e7f906522e0, body=] 2023-05-15T15:03:38.31945+08:00 INFO [22060,795c4e7f906522e0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=795c4e7f906522e0, duration=3.84µs, status=200, data=2023-05-15 15:03:38.319433939 +0800 CST m=+9809.523817969] 2023-05-15T15:03:38.57479+08:00 INFO [22060,92b6d69bcd93eea6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92b6d69bcd93eea6, body={"processName":"ocp_mgragent"}] 2023-05-15T15:03:38.60853+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="172.807µs" 2023-05-15T15:03:38.63334+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.982174ms 2023-05-15T15:03:38.63345+08:00 INFO [22060,92b6d69bcd93eea6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9810608}]" 2023-05-15T15:03:38.63357+08:00 INFO [22060,92b6d69bcd93eea6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=92b6d69bcd93eea6, duration=58.670718ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9810608}]}] 2023-05-15T15:03:38.74255+08:00 INFO [22060,b375f0f278cbd9e8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b375f0f278cbd9e8, body={"processName":"ocp_monagent"}] 2023-05-15T15:03:38.78627+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="75.445µs" 2023-05-15T15:03:38.81228+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.086024ms 2023-05-15T15:03:38.81236+08:00 INFO [22060,b375f0f278cbd9e8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9810786}]" 2023-05-15T15:03:38.81244+08:00 INFO [22060,b375f0f278cbd9e8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b375f0f278cbd9e8, duration=69.794633ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9810786}]}] 2023-05-15T15:03:38.98601+08:00 INFO [22060,87746489e227198b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87746489e227198b, body={"processName":"ocp_agentd"}] 2023-05-15T15:03:39.02341+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.197µs" 2023-05-15T15:03:39.04877+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.417984ms 2023-05-15T15:03:39.04888+08:00 INFO [22060,87746489e227198b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9811023}]" 2023-05-15T15:03:39.04896+08:00 INFO [22060,87746489e227198b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87746489e227198b, duration=62.855715ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9811023}]}] 2023-05-15T15:03:39.83983+08:00 INFO [22060,7a7baad153553aae] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a7baad153553aae, body=] 2023-05-15T15:03:39.83992+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:03:39.83997+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:03:39.84+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:03:39.84349+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:03:39.84359+08:00 INFO [22060,7a7baad153553aae] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a7baad153553aae, duration=3.643945ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:04:40.15489+08:00 INFO [22060,690af2c5e2702610] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=690af2c5e2702610, body=] 2023-05-15T15:04:40.15501+08:00 INFO [22060,690af2c5e2702610] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=690af2c5e2702610, duration=5.405µs, status=200, data=2023-05-15 15:04:40.154982195 +0800 CST m=+9871.359366237] 2023-05-15T15:04:40.3803+08:00 INFO [22060,bc76411ba088c059] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc76411ba088c059, body={"processName":"ocp_mgragent"}] 2023-05-15T15:04:40.4181+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.362µs" 2023-05-15T15:04:40.44382+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.769314ms 2023-05-15T15:04:40.44395+08:00 INFO [22060,bc76411ba088c059] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872417}]" 2023-05-15T15:04:40.44406+08:00 INFO [22060,bc76411ba088c059] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc76411ba088c059, duration=63.641569ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872417}]}] 2023-05-15T15:04:40.58906+08:00 INFO [22060,6da40eddadd05a49] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6da40eddadd05a49, body={"processName":"ocp_monagent"}] 2023-05-15T15:04:40.62918+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="86.384µs" 2023-05-15T15:04:40.66127+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=32.182847ms 2023-05-15T15:04:40.6614+08:00 INFO [22060,6da40eddadd05a49] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872628}]" 2023-05-15T15:04:40.66152+08:00 INFO [22060,6da40eddadd05a49] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6da40eddadd05a49, duration=72.316649ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872628}]}] 2023-05-15T15:04:40.75436+08:00 INFO [22060,b35645e9e31bc3ef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b35645e9e31bc3ef, body={"processName":"ocp_agentd"}] 2023-05-15T15:04:40.79763+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="69.283µs" 2023-05-15T15:04:40.8227+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.134023ms 2023-05-15T15:04:40.82278+08:00 INFO [22060,b35645e9e31bc3ef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872797}]" 2023-05-15T15:04:40.82291+08:00 INFO [22060,b35645e9e31bc3ef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b35645e9e31bc3ef, duration=68.41641ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9872797}]}] 2023-05-15T15:04:41.77853+08:00 INFO [22060,b33e3f8794f58d58] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b33e3f8794f58d58, body=] 2023-05-15T15:04:41.77867+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:04:41.77874+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:04:41.77879+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:04:41.78193+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:04:41.78205+08:00 INFO [22060,b33e3f8794f58d58] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b33e3f8794f58d58, duration=3.354193ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:05:41.96885+08:00 INFO [22060,b219e7052d55f2e6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b219e7052d55f2e6, body=] 2023-05-15T15:05:41.96899+08:00 INFO [22060,b219e7052d55f2e6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b219e7052d55f2e6, duration=6.503µs, status=200, data=2023-05-15 15:05:41.968964468 +0800 CST m=+9933.173348505] 2023-05-15T15:05:42.20449+08:00 INFO [22060,9d77c9459d62b6d3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9d77c9459d62b6d3, body={"processName":"ocp_mgragent"}] 2023-05-15T15:05:42.24247+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.373µs" 2023-05-15T15:05:42.26861+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.195806ms 2023-05-15T15:05:42.26872+08:00 INFO [22060,9d77c9459d62b6d3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934242}]" 2023-05-15T15:05:42.2688+08:00 INFO [22060,9d77c9459d62b6d3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9d77c9459d62b6d3, duration=64.196266ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934242}]}] 2023-05-15T15:05:42.42987+08:00 INFO [22060,11eaad6982e8cd7c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11eaad6982e8cd7c, body={"processName":"ocp_monagent"}] 2023-05-15T15:05:42.46873+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="82.102µs" 2023-05-15T15:05:42.49547+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.821957ms 2023-05-15T15:05:42.49558+08:00 INFO [22060,11eaad6982e8cd7c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934468}]" 2023-05-15T15:05:42.49568+08:00 INFO [22060,11eaad6982e8cd7c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=11eaad6982e8cd7c, duration=65.692811ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934468}]}] 2023-05-15T15:05:42.60918+08:00 INFO [22060,962f69ad647591d3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=962f69ad647591d3, body={"processName":"ocp_agentd"}] 2023-05-15T15:05:42.6443+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.305µs" 2023-05-15T15:05:42.67302+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.776144ms 2023-05-15T15:05:42.67311+08:00 INFO [22060,962f69ad647591d3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934644}]" 2023-05-15T15:05:42.6732+08:00 INFO [22060,962f69ad647591d3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=962f69ad647591d3, duration=63.901788ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9934644}]}] 2023-05-15T15:05:43.36653+08:00 INFO [22060,1f2319142b2cb9eb] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f2319142b2cb9eb, body=] 2023-05-15T15:05:43.36661+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:05:43.36666+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:05:43.36668+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:05:43.37114+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:05:43.37125+08:00 INFO [22060,1f2319142b2cb9eb] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f2319142b2cb9eb, duration=4.613462ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:06:43.55362+08:00 INFO [22060,5f919de681028298] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5f919de681028298, body=] 2023-05-15T15:06:43.55374+08:00 INFO [22060,5f919de681028298] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5f919de681028298, duration=3.72µs, status=200, data=2023-05-15 15:06:43.553708362 +0800 CST m=+9994.758092393] 2023-05-15T15:06:43.83487+08:00 INFO [22060,4e8abd194e2ab512] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e8abd194e2ab512, body={"processName":"ocp_mgragent"}] 2023-05-15T15:06:43.87313+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.317µs" 2023-05-15T15:06:43.89827+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.195757ms 2023-05-15T15:06:43.89837+08:00 INFO [22060,4e8abd194e2ab512] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9995872}]" 2023-05-15T15:06:43.89845+08:00 INFO [22060,4e8abd194e2ab512] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e8abd194e2ab512, duration=63.470268ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9995872}]}] 2023-05-15T15:06:44.08923+08:00 INFO [22060,de15fc113f86270b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de15fc113f86270b, body={"processName":"ocp_monagent"}] 2023-05-15T15:06:44.12614+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.589µs" 2023-05-15T15:06:44.15565+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.559598ms 2023-05-15T15:06:44.15576+08:00 INFO [22060,de15fc113f86270b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9996125}]" 2023-05-15T15:06:44.15585+08:00 INFO [22060,de15fc113f86270b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de15fc113f86270b, duration=66.481439ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9996125}]}] 2023-05-15T15:06:44.34281+08:00 INFO [22060,4e0b35ac66b71223] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e0b35ac66b71223, body={"processName":"ocp_agentd"}] 2023-05-15T15:06:44.37971+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="60.684µs" 2023-05-15T15:06:44.40697+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.316193ms 2023-05-15T15:06:44.40706+08:00 INFO [22060,4e0b35ac66b71223] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9996379}]" 2023-05-15T15:06:44.40713+08:00 INFO [22060,4e0b35ac66b71223] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e0b35ac66b71223, duration=64.212673ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 9996379}]}] 2023-05-15T15:06:45.00578+08:00 INFO [22060,0b2b78276397ebe6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b2b78276397ebe6, body=] 2023-05-15T15:06:45.00588+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:06:45.00593+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:06:45.00596+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:06:45.01003+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:06:45.01011+08:00 INFO [22060,0b2b78276397ebe6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b2b78276397ebe6, duration=4.21286ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:07:45.16614+08:00 INFO [22060,7719e07fd977f65a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7719e07fd977f65a, body=] 2023-05-15T15:07:45.16626+08:00 INFO [22060,7719e07fd977f65a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7719e07fd977f65a, duration=5.447µs, status=200, data=2023-05-15 15:07:45.166238266 +0800 CST m=+10056.370622301] 2023-05-15T15:07:45.31984+08:00 INFO [22060,59c1350fe97720e2] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=59c1350fe97720e2, body={"processName":"ocp_mgragent"}] 2023-05-15T15:07:45.35888+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="85.36µs" 2023-05-15T15:07:45.39142+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.622514ms 2023-05-15T15:07:45.39151+08:00 INFO [22060,59c1350fe97720e2] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057358}]" 2023-05-15T15:07:45.39162+08:00 INFO [22060,59c1350fe97720e2] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=59c1350fe97720e2, duration=71.652826ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057358}]}] 2023-05-15T15:07:45.54437+08:00 INFO [22060,f8f933b5645301af] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8f933b5645301af, body={"processName":"ocp_monagent"}] 2023-05-15T15:07:45.58013+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="60.974µs" 2023-05-15T15:07:45.60581+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.738248ms 2023-05-15T15:07:45.60592+08:00 INFO [22060,f8f933b5645301af] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057579}]" 2023-05-15T15:07:45.606+08:00 INFO [22060,f8f933b5645301af] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f8f933b5645301af, duration=61.502905ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057579}]}] 2023-05-15T15:07:45.71961+08:00 INFO [22060,a5cc4458f42ee7b6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a5cc4458f42ee7b6, body={"processName":"ocp_agentd"}] 2023-05-15T15:07:45.75481+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="55.954µs" 2023-05-15T15:07:45.78159+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.832101ms 2023-05-15T15:07:45.78167+08:00 INFO [22060,a5cc4458f42ee7b6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057754}]" 2023-05-15T15:07:45.78175+08:00 INFO [22060,a5cc4458f42ee7b6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a5cc4458f42ee7b6, duration=62.035245ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10057754}]}] 2023-05-15T15:07:46.50825+08:00 INFO [22060,030fcd4cb9963506] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=030fcd4cb9963506, body=] 2023-05-15T15:07:46.50834+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:07:46.50841+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:07:46.50843+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:07:46.51129+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:07:46.51138+08:00 INFO [22060,030fcd4cb9963506] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=030fcd4cb9963506, duration=3.015805ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:08:46.70485+08:00 INFO [22060,7647591a47d82a64] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7647591a47d82a64, body=] 2023-05-15T15:08:46.70498+08:00 INFO [22060,7647591a47d82a64] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7647591a47d82a64, duration=4.442µs, status=200, data=2023-05-15 15:08:46.704945267 +0800 CST m=+10117.909329299] 2023-05-15T15:08:46.88334+08:00 INFO [22060,39d2dd0ea6ae355b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39d2dd0ea6ae355b, body={"processName":"ocp_mgragent"}] 2023-05-15T15:08:46.92601+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="54.427µs" 2023-05-15T15:08:46.95159+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.635015ms 2023-05-15T15:08:46.95168+08:00 INFO [22060,39d2dd0ea6ae355b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10118925}]" 2023-05-15T15:08:46.95176+08:00 INFO [22060,39d2dd0ea6ae355b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=39d2dd0ea6ae355b, duration=68.314712ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10118925}]}] 2023-05-15T15:08:47.10888+08:00 INFO [22060,4d99202b3f1c06c3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d99202b3f1c06c3, body={"processName":"ocp_monagent"}] 2023-05-15T15:08:47.14767+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.22µs" 2023-05-15T15:08:47.17404+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.420147ms 2023-05-15T15:08:47.17412+08:00 INFO [22060,4d99202b3f1c06c3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10119147}]" 2023-05-15T15:08:47.17421+08:00 INFO [22060,4d99202b3f1c06c3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d99202b3f1c06c3, duration=65.227515ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10119147}]}] 2023-05-15T15:08:47.37137+08:00 INFO [22060,77306539d578c15c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=77306539d578c15c, body={"processName":"ocp_agentd"}] 2023-05-15T15:08:47.4073+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="67.319µs" 2023-05-15T15:08:47.43892+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.692858ms 2023-05-15T15:08:47.43901+08:00 INFO [22060,77306539d578c15c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10119407}]" 2023-05-15T15:08:47.43911+08:00 INFO [22060,77306539d578c15c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=77306539d578c15c, duration=67.625292ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10119407}]}] 2023-05-15T15:08:48.15178+08:00 INFO [22060,846fd22894e01838] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=846fd22894e01838, body=] 2023-05-15T15:08:48.15185+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:08:48.15192+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:08:48.15195+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:08:48.15826+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:08:48.15835+08:00 INFO [22060,846fd22894e01838] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=846fd22894e01838, duration=6.476237ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:09:48.6507+08:00 INFO [22060,62dff67b8b224556] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62dff67b8b224556, body=] 2023-05-15T15:09:48.65085+08:00 INFO [22060,62dff67b8b224556] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62dff67b8b224556, duration=5.676µs, status=200, data=2023-05-15 15:09:48.650819843 +0800 CST m=+10179.855203877] 2023-05-15T15:09:48.84402+08:00 INFO [22060,71519bc633cfb34e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71519bc633cfb34e, body={"processName":"ocp_mgragent"}] 2023-05-15T15:09:48.8765+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="67.383µs" 2023-05-15T15:09:48.90102+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.593749ms 2023-05-15T15:09:48.90112+08:00 INFO [22060,71519bc633cfb34e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10180876}]" 2023-05-15T15:09:48.9012+08:00 INFO [22060,71519bc633cfb34e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=71519bc633cfb34e, duration=57.071359ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10180876}]}] 2023-05-15T15:09:49.10753+08:00 INFO [22060,8a5e0631c140e918] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a5e0631c140e918, body={"processName":"ocp_monagent"}] 2023-05-15T15:09:49.14341+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.441µs" 2023-05-15T15:09:49.16751+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.150521ms 2023-05-15T15:09:49.16759+08:00 INFO [22060,8a5e0631c140e918] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10181143}]" 2023-05-15T15:09:49.16767+08:00 INFO [22060,8a5e0631c140e918] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a5e0631c140e918, duration=60.027505ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10181143}]}] 2023-05-15T15:09:49.40319+08:00 INFO [22060,fcf085d92e012991] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcf085d92e012991, body={"processName":"ocp_agentd"}] 2023-05-15T15:09:49.43573+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.129µs" 2023-05-15T15:09:49.46431+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.638513ms 2023-05-15T15:09:49.46439+08:00 INFO [22060,fcf085d92e012991] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10181435}]" 2023-05-15T15:09:49.46447+08:00 INFO [22060,fcf085d92e012991] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcf085d92e012991, duration=61.1794ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10181435}]}] 2023-05-15T15:09:50.30623+08:00 INFO [22060,670800457f22bdda] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670800457f22bdda, body=] 2023-05-15T15:09:50.30631+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:09:50.30636+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:09:50.30638+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:09:50.30892+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:09:50.309+08:00 INFO [22060,670800457f22bdda] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=670800457f22bdda, duration=2.671996ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:10:50.50627+08:00 INFO [22060,f489d9eabc93d42c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f489d9eabc93d42c, body=] 2023-05-15T15:10:50.50638+08:00 INFO [22060,f489d9eabc93d42c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f489d9eabc93d42c, duration=3.938µs, status=200, data=2023-05-15 15:10:50.506360781 +0800 CST m=+10241.710744811] 2023-05-15T15:10:50.70697+08:00 INFO [22060,f1f3100c1ac5c952] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1f3100c1ac5c952, body={"processName":"ocp_mgragent"}] 2023-05-15T15:10:50.74911+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.946µs" 2023-05-15T15:10:50.77656+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.506127ms 2023-05-15T15:10:50.77665+08:00 INFO [22060,f1f3100c1ac5c952] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10242748}]" 2023-05-15T15:10:50.77673+08:00 INFO [22060,f1f3100c1ac5c952] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1f3100c1ac5c952, duration=69.650657ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10242748}]}] 2023-05-15T15:10:50.86626+08:00 INFO [22060,14b31f8c23f04bef] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14b31f8c23f04bef, body={"processName":"ocp_monagent"}] 2023-05-15T15:10:50.91256+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="72.56µs" 2023-05-15T15:10:50.94081+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.32834ms 2023-05-15T15:10:50.94095+08:00 INFO [22060,14b31f8c23f04bef] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10242912}]" 2023-05-15T15:10:50.94106+08:00 INFO [22060,14b31f8c23f04bef] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=14b31f8c23f04bef, duration=74.675407ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10242912}]}] 2023-05-15T15:10:51.08432+08:00 INFO [22060,24e08529fed396d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24e08529fed396d6, body={"processName":"ocp_agentd"}] 2023-05-15T15:10:51.12125+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.179µs" 2023-05-15T15:10:51.14793+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.731645ms 2023-05-15T15:10:51.14801+08:00 INFO [22060,24e08529fed396d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10243121}]" 2023-05-15T15:10:51.14811+08:00 INFO [22060,24e08529fed396d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24e08529fed396d6, duration=63.678705ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10243121}]}] 2023-05-15T15:10:52.05804+08:00 INFO [22060,9f3d85c8d6f0b997] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3d85c8d6f0b997, body=] 2023-05-15T15:10:52.05813+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:10:52.0582+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:10:52.05823+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:10:52.06143+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:10:52.06152+08:00 INFO [22060,9f3d85c8d6f0b997] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3d85c8d6f0b997, duration=3.37029ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:11:52.26744+08:00 INFO [22060,938ec5b37666c533] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=938ec5b37666c533, body=] 2023-05-15T15:11:52.26755+08:00 INFO [22060,938ec5b37666c533] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=938ec5b37666c533, duration=4.03µs, status=200, data=2023-05-15 15:11:52.267531601 +0800 CST m=+10303.471915634] 2023-05-15T15:11:52.52789+08:00 INFO [22060,4d244febfc55a453] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d244febfc55a453, body={"processName":"ocp_mgragent"}] 2023-05-15T15:11:52.57375+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.654µs" 2023-05-15T15:11:52.599+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.317617ms 2023-05-15T15:11:52.59909+08:00 INFO [22060,4d244febfc55a453] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10304573}]" 2023-05-15T15:11:52.59919+08:00 INFO [22060,4d244febfc55a453] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d244febfc55a453, duration=71.179241ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10304573}]}] 2023-05-15T15:11:52.8137+08:00 INFO [22060,17afcf9cf59f4818] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=17afcf9cf59f4818, body={"processName":"ocp_monagent"}] 2023-05-15T15:11:52.84944+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.734µs" 2023-05-15T15:11:52.8743+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.911927ms 2023-05-15T15:11:52.87439+08:00 INFO [22060,17afcf9cf59f4818] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10304849}]" 2023-05-15T15:11:52.87449+08:00 INFO [22060,17afcf9cf59f4818] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=17afcf9cf59f4818, duration=60.682785ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10304849}]}] 2023-05-15T15:11:53.1429+08:00 INFO [22060,9e19c82838f4c6c7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9e19c82838f4c6c7, body={"processName":"ocp_agentd"}] 2023-05-15T15:11:53.17711+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.059µs" 2023-05-15T15:11:53.20548+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.41875ms 2023-05-15T15:11:53.20557+08:00 INFO [22060,9e19c82838f4c6c7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10305176}]" 2023-05-15T15:11:53.20565+08:00 INFO [22060,9e19c82838f4c6c7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9e19c82838f4c6c7, duration=62.651909ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10305176}]}] 2023-05-15T15:11:54.00349+08:00 INFO [22060,65e8033f238e92c5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65e8033f238e92c5, body=] 2023-05-15T15:11:54.00358+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:11:54.00365+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:11:54.00367+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:11:54.01144+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:11:54.01153+08:00 INFO [22060,65e8033f238e92c5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65e8033f238e92c5, duration=7.925507ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:12:54.24526+08:00 INFO [22060,ab64c63e99cb27e5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ab64c63e99cb27e5, body=] 2023-05-15T15:12:54.24547+08:00 INFO [22060,ab64c63e99cb27e5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ab64c63e99cb27e5, duration=50.276µs, status=200, data=2023-05-15 15:12:54.245376866 +0800 CST m=+10365.449760915] 2023-05-15T15:12:54.36096+08:00 INFO [22060,849af21b3c08d391] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=849af21b3c08d391, body={"processName":"ocp_mgragent"}] 2023-05-15T15:12:54.41189+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="130.18µs" 2023-05-15T15:12:54.44655+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.788762ms 2023-05-15T15:12:54.44667+08:00 INFO [22060,849af21b3c08d391] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366411}]" 2023-05-15T15:12:54.4468+08:00 INFO [22060,849af21b3c08d391] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=849af21b3c08d391, duration=85.681672ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366411}]}] 2023-05-15T15:12:54.65524+08:00 INFO [22060,072a95e082e6752c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=072a95e082e6752c, body={"processName":"ocp_monagent"}] 2023-05-15T15:12:54.69552+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.586µs" 2023-05-15T15:12:54.72495+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=29.676553ms 2023-05-15T15:12:54.72524+08:00 INFO [22060,072a95e082e6752c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366695}]" 2023-05-15T15:12:54.72535+08:00 INFO [22060,072a95e082e6752c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=072a95e082e6752c, duration=69.977381ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366695}]}] 2023-05-15T15:12:54.82746+08:00 INFO [22060,f6d9a8971df03344] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6d9a8971df03344, body={"processName":"ocp_agentd"}] 2023-05-15T15:12:54.86332+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.583µs" 2023-05-15T15:12:54.89773+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=34.456949ms 2023-05-15T15:12:54.89782+08:00 INFO [22060,f6d9a8971df03344] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366863}]" 2023-05-15T15:12:54.89793+08:00 INFO [22060,f6d9a8971df03344] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f6d9a8971df03344, duration=70.380871ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10366863}]}] 2023-05-15T15:12:55.36541+08:00 INFO [22060,5165399fa693ec7e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5165399fa693ec7e, body=] 2023-05-15T15:12:55.36552+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:12:55.36558+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:12:55.36561+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:12:55.369+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:12:55.36909+08:00 INFO [22060,5165399fa693ec7e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5165399fa693ec7e, duration=3.546761ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:13:55.58921+08:00 INFO [22060,102042d437126773] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=102042d437126773, body=] 2023-05-15T15:13:55.58933+08:00 INFO [22060,102042d437126773] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=102042d437126773, duration=3.284µs, status=200, data=2023-05-15 15:13:55.58929702 +0800 CST m=+10426.793681052] 2023-05-15T15:13:55.67769+08:00 INFO [22060,51c043134629cd83] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51c043134629cd83, body={"processName":"ocp_mgragent"}] 2023-05-15T15:13:55.70988+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="58.52µs" 2023-05-15T15:13:55.73496+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.139493ms 2023-05-15T15:13:55.73505+08:00 INFO [22060,51c043134629cd83] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10427709}]" 2023-05-15T15:13:55.73512+08:00 INFO [22060,51c043134629cd83] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=51c043134629cd83, duration=57.32192ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10427709}]}] 2023-05-15T15:13:55.85183+08:00 INFO [22060,f1c08e54efcf8e87] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1c08e54efcf8e87, body={"processName":"ocp_monagent"}] 2023-05-15T15:13:55.88433+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="65.979µs" 2023-05-15T15:13:55.91088+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.622371ms 2023-05-15T15:13:55.91097+08:00 INFO [22060,f1c08e54efcf8e87] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10427884}]" 2023-05-15T15:13:55.91107+08:00 INFO [22060,f1c08e54efcf8e87] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f1c08e54efcf8e87, duration=59.115384ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10427884}]}] 2023-05-15T15:13:56.08241+08:00 INFO [22060,99b69949e4862ef9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99b69949e4862ef9, body={"processName":"ocp_agentd"}] 2023-05-15T15:13:56.11682+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.772µs" 2023-05-15T15:13:56.14253+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.763213ms 2023-05-15T15:13:56.14263+08:00 INFO [22060,99b69949e4862ef9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10428116}]" 2023-05-15T15:13:56.14271+08:00 INFO [22060,99b69949e4862ef9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=99b69949e4862ef9, duration=60.198445ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10428116}]}] 2023-05-15T15:13:56.73317+08:00 INFO [22060,10affe251b552ff1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10affe251b552ff1, body=] 2023-05-15T15:13:56.73328+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:13:56.73332+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:13:56.73336+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:13:56.7361+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:13:56.73619+08:00 INFO [22060,10affe251b552ff1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10affe251b552ff1, duration=2.889619ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:14:56.88191+08:00 INFO [22060,2753c1519a9e33bd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2753c1519a9e33bd, body=] 2023-05-15T15:14:56.88203+08:00 INFO [22060,2753c1519a9e33bd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2753c1519a9e33bd, duration=4.15µs, status=200, data=2023-05-15 15:14:56.881997268 +0800 CST m=+10488.086381301] 2023-05-15T15:14:57.0207+08:00 INFO [22060,a54f706a27062943] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a54f706a27062943, body={"processName":"ocp_mgragent"}] 2023-05-15T15:14:57.05542+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="61.053µs" 2023-05-15T15:14:57.0812+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.845119ms 2023-05-15T15:14:57.08131+08:00 INFO [22060,a54f706a27062943] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489055}]" 2023-05-15T15:14:57.0814+08:00 INFO [22060,a54f706a27062943] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a54f706a27062943, duration=60.60171ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489055}]}] 2023-05-15T15:14:57.19351+08:00 INFO [22060,d7b08131f8eab501] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7b08131f8eab501, body={"processName":"ocp_monagent"}] 2023-05-15T15:14:57.22516+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="71.912µs" 2023-05-15T15:14:57.24984+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.746681ms 2023-05-15T15:14:57.24993+08:00 INFO [22060,d7b08131f8eab501] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489224}]" 2023-05-15T15:14:57.25001+08:00 INFO [22060,d7b08131f8eab501] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7b08131f8eab501, duration=56.380326ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489224}]}] 2023-05-15T15:14:57.35799+08:00 INFO [22060,8c00b69182873053] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c00b69182873053, body={"processName":"ocp_agentd"}] 2023-05-15T15:14:57.38906+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.948µs" 2023-05-15T15:14:57.41227+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.256296ms 2023-05-15T15:14:57.41234+08:00 INFO [22060,8c00b69182873053] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489388}]" 2023-05-15T15:14:57.41242+08:00 INFO [22060,8c00b69182873053] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8c00b69182873053, duration=54.332371ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10489388}]}] 2023-05-15T15:14:57.99871+08:00 INFO [22060,45909bff87aedb42] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45909bff87aedb42, body=] 2023-05-15T15:14:57.9988+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:14:57.99888+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:14:57.99892+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:14:58.00353+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:14:58.00362+08:00 INFO [22060,45909bff87aedb42] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45909bff87aedb42, duration=4.798438ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:15:58.1817+08:00 INFO [22060,4718fd8af9e4073a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4718fd8af9e4073a, body=] 2023-05-15T15:15:58.18181+08:00 INFO [22060,4718fd8af9e4073a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4718fd8af9e4073a, duration=3.745µs, status=200, data=2023-05-15 15:15:58.181776018 +0800 CST m=+10549.386160046] 2023-05-15T15:15:58.31011+08:00 INFO [22060,37b8768408b4d263] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37b8768408b4d263, body={"processName":"ocp_mgragent"}] 2023-05-15T15:15:58.34275+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.497µs" 2023-05-15T15:15:58.36927+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.567581ms 2023-05-15T15:15:58.36936+08:00 INFO [22060,37b8768408b4d263] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550342}]" 2023-05-15T15:15:58.36943+08:00 INFO [22060,37b8768408b4d263] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=37b8768408b4d263, duration=59.230831ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550342}]}] 2023-05-15T15:15:58.54452+08:00 INFO [22060,b47186176c5cf81c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b47186176c5cf81c, body={"processName":"ocp_monagent"}] 2023-05-15T15:15:58.58385+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.093µs" 2023-05-15T15:15:58.60948+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.676358ms 2023-05-15T15:15:58.60956+08:00 INFO [22060,b47186176c5cf81c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550583}]" 2023-05-15T15:15:58.60963+08:00 INFO [22060,b47186176c5cf81c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b47186176c5cf81c, duration=64.984678ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550583}]}] 2023-05-15T15:15:58.68564+08:00 INFO [22060,dca140172f2fb66f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dca140172f2fb66f, body={"processName":"ocp_agentd"}] 2023-05-15T15:15:58.71749+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.164µs" 2023-05-15T15:15:58.74183+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.386737ms 2023-05-15T15:15:58.74192+08:00 INFO [22060,dca140172f2fb66f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550717}]" 2023-05-15T15:15:58.742+08:00 INFO [22060,dca140172f2fb66f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dca140172f2fb66f, duration=56.266369ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10550717}]}] 2023-05-15T15:15:59.37497+08:00 INFO [22060,9155ee5d06ec6707] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9155ee5d06ec6707, body=] 2023-05-15T15:15:59.37506+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:15:59.37511+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:15:59.37514+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:15:59.37804+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:15:59.37813+08:00 INFO [22060,9155ee5d06ec6707] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9155ee5d06ec6707, duration=3.048303ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:16:59.48031+08:00 INFO [22060,c438acae6b4043ea] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c438acae6b4043ea, body=] 2023-05-15T15:16:59.48044+08:00 INFO [22060,c438acae6b4043ea] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c438acae6b4043ea, duration=6.08µs, status=200, data=2023-05-15 15:16:59.480413985 +0800 CST m=+10610.684798022] 2023-05-15T15:16:59.58093+08:00 INFO [22060,87731fb4e86b87b5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87731fb4e86b87b5, body={"processName":"ocp_mgragent"}] 2023-05-15T15:16:59.61499+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="62.873µs" 2023-05-15T15:16:59.64013+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.199863ms 2023-05-15T15:16:59.64021+08:00 INFO [22060,87731fb4e86b87b5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611614}]" 2023-05-15T15:16:59.6403+08:00 INFO [22060,87731fb4e86b87b5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=87731fb4e86b87b5, duration=59.248941ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611614}]}] 2023-05-15T15:16:59.7447+08:00 INFO [22060,e67dec7287c86dd6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e67dec7287c86dd6, body={"processName":"ocp_monagent"}] 2023-05-15T15:16:59.77669+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.844µs" 2023-05-15T15:16:59.80032+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.682135ms 2023-05-15T15:16:59.8004+08:00 INFO [22060,e67dec7287c86dd6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611776}]" 2023-05-15T15:16:59.80048+08:00 INFO [22060,e67dec7287c86dd6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e67dec7287c86dd6, duration=55.685483ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611776}]}] 2023-05-15T15:16:59.89141+08:00 INFO [22060,bf7ec4e979823085] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bf7ec4e979823085, body={"processName":"ocp_agentd"}] 2023-05-15T15:16:59.92514+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="54.362µs" 2023-05-15T15:16:59.94949+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.410719ms 2023-05-15T15:16:59.94957+08:00 INFO [22060,bf7ec4e979823085] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611924}]" 2023-05-15T15:16:59.94966+08:00 INFO [22060,bf7ec4e979823085] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bf7ec4e979823085, duration=58.148605ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10611924}]}] 2023-05-15T15:17:00.64058+08:00 INFO [22060,1690ca0d5df84257] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1690ca0d5df84257, body=] 2023-05-15T15:17:00.64064+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:17:00.64069+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:17:00.64071+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:17:00.64364+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:17:00.64372+08:00 INFO [22060,1690ca0d5df84257] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1690ca0d5df84257, duration=3.052928ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:18:00.81643+08:00 INFO [22060,81707a7ab37d8c44] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=81707a7ab37d8c44, body=] 2023-05-15T15:18:00.81655+08:00 INFO [22060,81707a7ab37d8c44] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=81707a7ab37d8c44, duration=4.043µs, status=200, data=2023-05-15 15:18:00.81652004 +0800 CST m=+10672.020904070] 2023-05-15T15:18:00.96824+08:00 INFO [22060,98f46210f6bbdab3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=98f46210f6bbdab3, body={"processName":"ocp_mgragent"}] 2023-05-15T15:18:01.00174+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.84µs" 2023-05-15T15:18:01.02613+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.438934ms 2023-05-15T15:18:01.02623+08:00 INFO [22060,98f46210f6bbdab3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673001}]" 2023-05-15T15:18:01.02633+08:00 INFO [22060,98f46210f6bbdab3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=98f46210f6bbdab3, duration=57.983447ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673001}]}] 2023-05-15T15:18:01.13731+08:00 INFO [22060,1cd357c9d0d2db7e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1cd357c9d0d2db7e, body={"processName":"ocp_monagent"}] 2023-05-15T15:18:01.17603+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="70.061µs" 2023-05-15T15:18:01.20469+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.722856ms 2023-05-15T15:18:01.20477+08:00 INFO [22060,1cd357c9d0d2db7e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673175}]" 2023-05-15T15:18:01.20485+08:00 INFO [22060,1cd357c9d0d2db7e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1cd357c9d0d2db7e, duration=67.454603ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673175}]}] 2023-05-15T15:18:01.29207+08:00 INFO [22060,a4005e8006ee16fd] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4005e8006ee16fd, body={"processName":"ocp_agentd"}] 2023-05-15T15:18:01.32764+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="72.998µs" 2023-05-15T15:18:01.35315+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.595781ms 2023-05-15T15:18:01.35324+08:00 INFO [22060,a4005e8006ee16fd] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673327}]" 2023-05-15T15:18:01.35332+08:00 INFO [22060,a4005e8006ee16fd] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a4005e8006ee16fd, duration=61.156135ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10673327}]}] 2023-05-15T15:18:02.2256+08:00 INFO [22060,3b7c091d52deaeff] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b7c091d52deaeff, body=] 2023-05-15T15:18:02.22568+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:18:02.22573+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:18:02.22576+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:18:02.22862+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:18:02.2287+08:00 INFO [22060,3b7c091d52deaeff] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3b7c091d52deaeff, duration=2.999572ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:19:02.33829+08:00 INFO [22060,e255cce3886389ac] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e255cce3886389ac, body=] 2023-05-15T15:19:02.33841+08:00 INFO [22060,e255cce3886389ac] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e255cce3886389ac, duration=5.028µs, status=200, data=2023-05-15 15:19:02.338381111 +0800 CST m=+10733.542765154] 2023-05-15T15:19:02.47222+08:00 INFO [22060,407adc021cc63ab6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=407adc021cc63ab6, body={"processName":"ocp_mgragent"}] 2023-05-15T15:19:02.50613+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.725µs" 2023-05-15T15:19:02.52983+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=23.753004ms 2023-05-15T15:19:02.52993+08:00 INFO [22060,407adc021cc63ab6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734505}]" 2023-05-15T15:19:02.53002+08:00 INFO [22060,407adc021cc63ab6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=407adc021cc63ab6, duration=57.651967ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734505}]}] 2023-05-15T15:19:02.6943+08:00 INFO [22060,a7f3d078402fcaea] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7f3d078402fcaea, body={"processName":"ocp_monagent"}] 2023-05-15T15:19:02.72863+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.62µs" 2023-05-15T15:19:02.75373+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.15274ms 2023-05-15T15:19:02.75381+08:00 INFO [22060,a7f3d078402fcaea] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734728}]" 2023-05-15T15:19:02.7539+08:00 INFO [22060,a7f3d078402fcaea] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a7f3d078402fcaea, duration=59.505877ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734728}]}] 2023-05-15T15:19:02.90469+08:00 INFO [22060,93fd87e960283cca] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93fd87e960283cca, body={"processName":"ocp_agentd"}] 2023-05-15T15:19:02.93734+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.289µs" 2023-05-15T15:19:02.96095+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.656845ms 2023-05-15T15:19:02.96104+08:00 INFO [22060,93fd87e960283cca] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734937}]" 2023-05-15T15:19:02.96112+08:00 INFO [22060,93fd87e960283cca] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=93fd87e960283cca, duration=56.345638ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10734937}]}] 2023-05-15T15:19:03.70007+08:00 INFO [22060,b89c499d1879c8a7] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b89c499d1879c8a7, body=] 2023-05-15T15:19:03.70014+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:19:03.70019+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:19:03.70022+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:19:03.70319+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:19:03.70326+08:00 INFO [22060,b89c499d1879c8a7] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b89c499d1879c8a7, duration=3.101975ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:20:03.92377+08:00 INFO [22060,a0ff5bf788327e50] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0ff5bf788327e50, body=] 2023-05-15T15:20:03.92389+08:00 INFO [22060,a0ff5bf788327e50] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a0ff5bf788327e50, duration=3.876µs, status=200, data=2023-05-15 15:20:03.923875601 +0800 CST m=+10795.128259630] 2023-05-15T15:20:04.36204+08:00 INFO [22060,8247b6e5f3cb4e04] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8247b6e5f3cb4e04, body={"processName":"ocp_mgragent"}] 2023-05-15T15:20:04.39919+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="159.682µs" 2023-05-15T15:20:04.42323+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.200446ms 2023-05-15T15:20:04.42334+08:00 INFO [22060,8247b6e5f3cb4e04] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10796398}]" 2023-05-15T15:20:04.42342+08:00 INFO [22060,8247b6e5f3cb4e04] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8247b6e5f3cb4e04, duration=61.279516ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10796398}]}] 2023-05-15T15:20:04.64956+08:00 INFO [22060,9104486f50413dfc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9104486f50413dfc, body={"processName":"ocp_monagent"}] 2023-05-15T15:20:04.68319+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.052µs" 2023-05-15T15:20:04.70725+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.109325ms 2023-05-15T15:20:04.70733+08:00 INFO [22060,9104486f50413dfc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10796683}]" 2023-05-15T15:20:04.70743+08:00 INFO [22060,9104486f50413dfc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9104486f50413dfc, duration=57.759348ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10796683}]}] 2023-05-15T15:20:05.01696+08:00 INFO [22060,5bf816f4e81ea908] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5bf816f4e81ea908, body={"processName":"ocp_agentd"}] 2023-05-15T15:20:05.05078+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="51.794µs" 2023-05-15T15:20:05.07471+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=23.98559ms 2023-05-15T15:20:05.07479+08:00 INFO [22060,5bf816f4e81ea908] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10797050}]" 2023-05-15T15:20:05.07487+08:00 INFO [22060,5bf816f4e81ea908] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5bf816f4e81ea908, duration=57.80889ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10797050}]}] 2023-05-15T15:20:05.90799+08:00 INFO [22060,9db010dbf91cf9b0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9db010dbf91cf9b0, body=] 2023-05-15T15:20:05.9081+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:20:05.90816+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:20:05.90819+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:20:05.91216+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:20:05.91229+08:00 INFO [22060,9db010dbf91cf9b0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9db010dbf91cf9b0, duration=4.161628ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:21:06.14707+08:00 INFO [22060,4f1adad6aedbd672] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f1adad6aedbd672, body=] 2023-05-15T15:21:06.14718+08:00 INFO [22060,4f1adad6aedbd672] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4f1adad6aedbd672, duration=3.688µs, status=200, data=2023-05-15 15:21:06.147158008 +0800 CST m=+10857.351542039] 2023-05-15T15:21:06.29925+08:00 INFO [22060,3d5e1b94d44e1578] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d5e1b94d44e1578, body={"processName":"ocp_mgragent"}] 2023-05-15T15:21:06.33491+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="77.079µs" 2023-05-15T15:21:06.36063+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.799803ms 2023-05-15T15:21:06.36071+08:00 INFO [22060,3d5e1b94d44e1578] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858334}]" 2023-05-15T15:21:06.36079+08:00 INFO [22060,3d5e1b94d44e1578] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d5e1b94d44e1578, duration=61.440234ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858334}]}] 2023-05-15T15:21:06.50016+08:00 INFO [22060,84e3186e30ef209d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84e3186e30ef209d, body={"processName":"ocp_monagent"}] 2023-05-15T15:21:06.53411+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="44.376µs" 2023-05-15T15:21:06.56021+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.137858ms 2023-05-15T15:21:06.56029+08:00 INFO [22060,84e3186e30ef209d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858533}]" 2023-05-15T15:21:06.56039+08:00 INFO [22060,84e3186e30ef209d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84e3186e30ef209d, duration=60.113795ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858533}]}] 2023-05-15T15:21:06.67025+08:00 INFO [22060,7a006f4fd8d2f253] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a006f4fd8d2f253, body={"processName":"ocp_agentd"}] 2023-05-15T15:21:06.70439+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="191.113µs" 2023-05-15T15:21:06.73105+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.847439ms 2023-05-15T15:21:06.73114+08:00 INFO [22060,7a006f4fd8d2f253] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858704}]" 2023-05-15T15:21:06.73128+08:00 INFO [22060,7a006f4fd8d2f253] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7a006f4fd8d2f253, duration=60.93743ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10858704}]}] 2023-05-15T15:21:07.78027+08:00 INFO [22060,f04ef5b45d358f7b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f04ef5b45d358f7b, body=] 2023-05-15T15:21:07.78034+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:21:07.78039+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:21:07.78042+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:21:07.78292+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:21:07.783+08:00 INFO [22060,f04ef5b45d358f7b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f04ef5b45d358f7b, duration=2.635756ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:22:07.90411+08:00 INFO [22060,ea784b36e7de9c4f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ea784b36e7de9c4f, body=] 2023-05-15T15:22:07.90424+08:00 INFO [22060,ea784b36e7de9c4f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ea784b36e7de9c4f, duration=5.416µs, status=200, data=2023-05-15 15:22:07.90421414 +0800 CST m=+10919.108598178] 2023-05-15T15:22:08.02828+08:00 INFO [22060,5a4ea0adf8100131] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5a4ea0adf8100131, body={"processName":"ocp_mgragent"}] 2023-05-15T15:22:08.06269+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="51.206µs" 2023-05-15T15:22:08.08797+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.325091ms 2023-05-15T15:22:08.08805+08:00 INFO [22060,5a4ea0adf8100131] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920062}]" 2023-05-15T15:22:08.08813+08:00 INFO [22060,5a4ea0adf8100131] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5a4ea0adf8100131, duration=59.722059ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920062}]}] 2023-05-15T15:22:08.18106+08:00 INFO [22060,323d6bd263ff4bff] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=323d6bd263ff4bff, body={"processName":"ocp_monagent"}] 2023-05-15T15:22:08.21766+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.828µs" 2023-05-15T15:22:08.24398+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.36771ms 2023-05-15T15:22:08.24409+08:00 INFO [22060,323d6bd263ff4bff] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920217}]" 2023-05-15T15:22:08.2442+08:00 INFO [22060,323d6bd263ff4bff] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=323d6bd263ff4bff, duration=63.016823ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920217}]}] 2023-05-15T15:22:08.35149+08:00 INFO [22060,56ac863b70b69460] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56ac863b70b69460, body={"processName":"ocp_agentd"}] 2023-05-15T15:22:08.38549+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.01µs" 2023-05-15T15:22:08.41063+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.18544ms 2023-05-15T15:22:08.41071+08:00 INFO [22060,56ac863b70b69460] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920385}]" 2023-05-15T15:22:08.4108+08:00 INFO [22060,56ac863b70b69460] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=56ac863b70b69460, duration=59.209945ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10920385}]}] 2023-05-15T15:22:09.26761+08:00 INFO [22060,ed41527a56bd5492] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed41527a56bd5492, body=] 2023-05-15T15:22:09.26769+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:22:09.26774+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:22:09.26776+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:22:09.27044+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:22:09.27053+08:00 INFO [22060,ed41527a56bd5492] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed41527a56bd5492, duration=2.807483ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:23:09.39826+08:00 INFO [22060,eb41fe94d402a948] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb41fe94d402a948, body=] 2023-05-15T15:23:09.3984+08:00 INFO [22060,eb41fe94d402a948] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb41fe94d402a948, duration=3.97µs, status=200, data=2023-05-15 15:23:09.398367567 +0800 CST m=+10980.602751600] 2023-05-15T15:23:09.49723+08:00 INFO [22060,659c84036d0a84d8] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=659c84036d0a84d8, body={"processName":"ocp_mgragent"}] 2023-05-15T15:23:09.53845+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="71.664µs" 2023-05-15T15:23:09.57167+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.288794ms 2023-05-15T15:23:09.57176+08:00 INFO [22060,659c84036d0a84d8] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981538}]" 2023-05-15T15:23:09.57185+08:00 INFO [22060,659c84036d0a84d8] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=659c84036d0a84d8, duration=74.507039ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981538}]}] 2023-05-15T15:23:09.63543+08:00 INFO [22060,7f780a17ed737e4e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f780a17ed737e4e, body={"processName":"ocp_monagent"}] 2023-05-15T15:23:09.67227+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.25µs" 2023-05-15T15:23:09.70561+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=33.383218ms 2023-05-15T15:23:09.70574+08:00 INFO [22060,7f780a17ed737e4e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981672}]" 2023-05-15T15:23:09.70585+08:00 INFO [22060,7f780a17ed737e4e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f780a17ed737e4e, duration=70.310336ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981672}]}] 2023-05-15T15:23:09.83257+08:00 INFO [22060,6291346eaf12aa25] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6291346eaf12aa25, body={"processName":"ocp_agentd"}] 2023-05-15T15:23:09.86697+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="68.427µs" 2023-05-15T15:23:09.8938+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.89692ms 2023-05-15T15:23:09.8939+08:00 INFO [22060,6291346eaf12aa25] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981866}]" 2023-05-15T15:23:09.89399+08:00 INFO [22060,6291346eaf12aa25] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6291346eaf12aa25, duration=61.303727ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 10981866}]}] 2023-05-15T15:23:10.59048+08:00 INFO [22060,64fa310623451ed1] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=64fa310623451ed1, body=] 2023-05-15T15:23:10.59057+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:23:10.59062+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:23:10.59064+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:23:10.59374+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:23:10.59383+08:00 INFO [22060,64fa310623451ed1] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=64fa310623451ed1, duration=3.239681ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:24:10.74009+08:00 INFO [22060,fe4b54782c68ea2e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe4b54782c68ea2e, body=] 2023-05-15T15:24:10.74021+08:00 INFO [22060,fe4b54782c68ea2e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fe4b54782c68ea2e, duration=3.609µs, status=200, data=2023-05-15 15:24:10.740177086 +0800 CST m=+11041.944561117] 2023-05-15T15:24:10.84109+08:00 INFO [22060,70f30da44ccbe2e5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70f30da44ccbe2e5, body={"processName":"ocp_mgragent"}] 2023-05-15T15:24:10.87815+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="54.266µs" 2023-05-15T15:24:10.91229+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.197947ms 2023-05-15T15:24:10.91238+08:00 INFO [22060,70f30da44ccbe2e5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11042877}]" 2023-05-15T15:24:10.91248+08:00 INFO [22060,70f30da44ccbe2e5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=70f30da44ccbe2e5, duration=71.283121ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11042877}]}] 2023-05-15T15:24:11.12481+08:00 INFO [22060,3786033a21ffc3d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3786033a21ffc3d6, body={"processName":"ocp_monagent"}] 2023-05-15T15:24:11.15799+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="62.213µs" 2023-05-15T15:24:11.18511+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.185278ms 2023-05-15T15:24:11.18522+08:00 INFO [22060,3786033a21ffc3d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11043157}]" 2023-05-15T15:24:11.18531+08:00 INFO [22060,3786033a21ffc3d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3786033a21ffc3d6, duration=60.337394ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11043157}]}] 2023-05-15T15:24:11.302+08:00 INFO [22060,456a62ff4c866954] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=456a62ff4c866954, body={"processName":"ocp_agentd"}] 2023-05-15T15:24:11.33545+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.127µs" 2023-05-15T15:24:11.36058+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.18446ms 2023-05-15T15:24:11.36066+08:00 INFO [22060,456a62ff4c866954] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11043335}]" 2023-05-15T15:24:11.36075+08:00 INFO [22060,456a62ff4c866954] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=456a62ff4c866954, duration=58.647827ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11043335}]}] 2023-05-15T15:24:11.93403+08:00 INFO [22060,0c94e8da5b4c2772] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c94e8da5b4c2772, body=] 2023-05-15T15:24:11.93415+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:24:11.93423+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:24:11.93425+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:24:11.93702+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:24:11.93711+08:00 INFO [22060,0c94e8da5b4c2772] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c94e8da5b4c2772, duration=2.93791ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:25:12.03256+08:00 INFO [22060,0b0f49ba10e0ffd3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b0f49ba10e0ffd3, body=] 2023-05-15T15:25:12.03267+08:00 INFO [22060,0b0f49ba10e0ffd3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b0f49ba10e0ffd3, duration=3.66µs, status=200, data=2023-05-15 15:25:12.032657483 +0800 CST m=+11103.237041517] 2023-05-15T15:25:12.14267+08:00 INFO [22060,32214c1da927cfa0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32214c1da927cfa0, body={"processName":"ocp_mgragent"}] 2023-05-15T15:25:12.17648+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.569µs" 2023-05-15T15:25:12.20079+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.358206ms 2023-05-15T15:25:12.2009+08:00 INFO [22060,32214c1da927cfa0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104176}]" 2023-05-15T15:25:12.20098+08:00 INFO [22060,32214c1da927cfa0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32214c1da927cfa0, duration=58.193058ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104176}]}] 2023-05-15T15:25:12.29802+08:00 INFO [22060,f0aa8b93cd5a6452] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0aa8b93cd5a6452, body={"processName":"ocp_monagent"}] 2023-05-15T15:25:12.3363+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="54.227µs" 2023-05-15T15:25:12.36293+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.693454ms 2023-05-15T15:25:12.36303+08:00 INFO [22060,f0aa8b93cd5a6452] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104336}]" 2023-05-15T15:25:12.36311+08:00 INFO [22060,f0aa8b93cd5a6452] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0aa8b93cd5a6452, duration=64.97016ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104336}]}] 2023-05-15T15:25:12.51329+08:00 INFO [22060,770ed598f091c023] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=770ed598f091c023, body={"processName":"ocp_agentd"}] 2023-05-15T15:25:12.54898+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.805µs" 2023-05-15T15:25:12.5745+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.568681ms 2023-05-15T15:25:12.57459+08:00 INFO [22060,770ed598f091c023] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104548}]" 2023-05-15T15:25:12.57467+08:00 INFO [22060,770ed598f091c023] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=770ed598f091c023, duration=61.268435ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11104548}]}] 2023-05-15T15:25:13.18236+08:00 INFO [22060,21aeffa0d849b791] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21aeffa0d849b791, body=] 2023-05-15T15:25:13.18246+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:25:13.18251+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:25:13.18255+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:25:13.18681+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:25:13.18695+08:00 INFO [22060,21aeffa0d849b791] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21aeffa0d849b791, duration=4.44575ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:26:13.28457+08:00 INFO [22060,851c875e30391061] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=851c875e30391061, body=] 2023-05-15T15:26:13.28468+08:00 INFO [22060,851c875e30391061] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=851c875e30391061, duration=4.63µs, status=200, data=2023-05-15 15:26:13.284661814 +0800 CST m=+11164.489045846] 2023-05-15T15:26:13.4124+08:00 INFO [22060,da519dcaf668afa4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=da519dcaf668afa4, body={"processName":"ocp_mgragent"}] 2023-05-15T15:26:13.44624+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.981µs" 2023-05-15T15:26:13.4702+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.007025ms 2023-05-15T15:26:13.47028+08:00 INFO [22060,da519dcaf668afa4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165446}]" 2023-05-15T15:26:13.47038+08:00 INFO [22060,da519dcaf668afa4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=da519dcaf668afa4, duration=57.879873ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165446}]}] 2023-05-15T15:26:13.57907+08:00 INFO [22060,84816cef481d7888] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84816cef481d7888, body={"processName":"ocp_monagent"}] 2023-05-15T15:26:13.61257+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.787µs" 2023-05-15T15:26:13.63759+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.075322ms 2023-05-15T15:26:13.63772+08:00 INFO [22060,84816cef481d7888] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165612}]" 2023-05-15T15:26:13.63784+08:00 INFO [22060,84816cef481d7888] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84816cef481d7888, duration=58.635021ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165612}]}] 2023-05-15T15:26:13.6974+08:00 INFO [22060,e01ca3e68ed0cebb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e01ca3e68ed0cebb, body={"processName":"ocp_agentd"}] 2023-05-15T15:26:13.72883+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.797µs" 2023-05-15T15:26:13.75504+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.257907ms 2023-05-15T15:26:13.75513+08:00 INFO [22060,e01ca3e68ed0cebb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165728}]" 2023-05-15T15:26:13.75521+08:00 INFO [22060,e01ca3e68ed0cebb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e01ca3e68ed0cebb, duration=57.714148ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11165728}]}] 2023-05-15T15:26:14.48004+08:00 INFO [22060,ed3d8ddef225128b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed3d8ddef225128b, body=] 2023-05-15T15:26:14.48013+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:26:14.48018+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:26:14.4802+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:26:14.48334+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:26:14.48347+08:00 INFO [22060,ed3d8ddef225128b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed3d8ddef225128b, duration=3.307949ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:27:14.65499+08:00 INFO [22060,0a8342cb8649f289] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a8342cb8649f289, body=] 2023-05-15T15:27:14.65515+08:00 INFO [22060,0a8342cb8649f289] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a8342cb8649f289, duration=11.829µs, status=200, data=2023-05-15 15:27:14.655107938 +0800 CST m=+11225.859491975] 2023-05-15T15:27:14.79856+08:00 INFO [22060,7f8c2131dea0df59] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f8c2131dea0df59, body={"processName":"ocp_mgragent"}] 2023-05-15T15:27:14.83806+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.646µs" 2023-05-15T15:27:14.86884+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.826989ms 2023-05-15T15:27:14.86897+08:00 INFO [22060,7f8c2131dea0df59] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11226837}]" 2023-05-15T15:27:14.86907+08:00 INFO [22060,7f8c2131dea0df59] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f8c2131dea0df59, duration=70.402805ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11226837}]}] 2023-05-15T15:27:14.96848+08:00 INFO [22060,b1c9666d89f39cde] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1c9666d89f39cde, body={"processName":"ocp_monagent"}] 2023-05-15T15:27:15.00448+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="49.149µs" 2023-05-15T15:27:15.03468+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.257446ms 2023-05-15T15:27:15.03481+08:00 INFO [22060,b1c9666d89f39cde] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11227004}]" 2023-05-15T15:27:15.03492+08:00 INFO [22060,b1c9666d89f39cde] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1c9666d89f39cde, duration=66.301223ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11227004}]}] 2023-05-15T15:27:15.12618+08:00 INFO [22060,080d71f4c3fe6422] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=080d71f4c3fe6422, body={"processName":"ocp_agentd"}] 2023-05-15T15:27:15.15809+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.339µs" 2023-05-15T15:27:15.18253+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.485223ms 2023-05-15T15:27:15.18262+08:00 INFO [22060,080d71f4c3fe6422] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11227157}]" 2023-05-15T15:27:15.18269+08:00 INFO [22060,080d71f4c3fe6422] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=080d71f4c3fe6422, duration=56.418225ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11227157}]}] 2023-05-15T15:27:15.82298+08:00 INFO [22060,819c2f9e5d58dcb5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=819c2f9e5d58dcb5, body=] 2023-05-15T15:27:15.82311+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:27:15.82319+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:27:15.82323+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:27:15.82621+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:27:15.82687+08:00 INFO [22060,819c2f9e5d58dcb5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=819c2f9e5d58dcb5, duration=3.197393ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:28:15.96159+08:00 INFO [22060,3f3baa09d8cc21cd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3f3baa09d8cc21cd, body=] 2023-05-15T15:28:15.96171+08:00 INFO [22060,3f3baa09d8cc21cd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3f3baa09d8cc21cd, duration=3.845µs, status=200, data=2023-05-15 15:28:15.961694362 +0800 CST m=+11287.166078392] 2023-05-15T15:28:16.19514+08:00 INFO [22060,63b19239e92d1ca5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=63b19239e92d1ca5, body={"processName":"ocp_mgragent"}] 2023-05-15T15:28:16.23502+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="54.999µs" 2023-05-15T15:28:16.26548+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.523368ms 2023-05-15T15:28:16.26558+08:00 INFO [22060,63b19239e92d1ca5] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288234}]" 2023-05-15T15:28:16.26567+08:00 INFO [22060,63b19239e92d1ca5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=63b19239e92d1ca5, duration=70.425121ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288234}]}] 2023-05-15T15:28:16.39225+08:00 INFO [22060,9c06146356108b6e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c06146356108b6e, body={"processName":"ocp_monagent"}] 2023-05-15T15:28:16.42576+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.483µs" 2023-05-15T15:28:16.45588+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=30.164584ms 2023-05-15T15:28:16.45599+08:00 INFO [22060,9c06146356108b6e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288425}]" 2023-05-15T15:28:16.45613+08:00 INFO [22060,9c06146356108b6e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c06146356108b6e, duration=63.770275ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288425}]}] 2023-05-15T15:28:16.54699+08:00 INFO [22060,6b5676c9d6732736] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b5676c9d6732736, body={"processName":"ocp_agentd"}] 2023-05-15T15:28:16.58588+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="59.142µs" 2023-05-15T15:28:16.6127+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.877308ms 2023-05-15T15:28:16.61279+08:00 INFO [22060,6b5676c9d6732736] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288585}]" 2023-05-15T15:28:16.61291+08:00 INFO [22060,6b5676c9d6732736] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b5676c9d6732736, duration=65.816246ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11288585}]}] 2023-05-15T15:28:17.535+08:00 INFO [22060,0de5a52ebf8c5a2a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0de5a52ebf8c5a2a, body=] 2023-05-15T15:28:17.53508+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:28:17.53513+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:28:17.53516+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:28:17.53808+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:28:17.53816+08:00 INFO [22060,0de5a52ebf8c5a2a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0de5a52ebf8c5a2a, duration=3.063967ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:29:17.7524+08:00 INFO [22060,394bf7b6ebbb221d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=394bf7b6ebbb221d, body=] 2023-05-15T15:29:17.75251+08:00 INFO [22060,394bf7b6ebbb221d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=394bf7b6ebbb221d, duration=4.253µs, status=200, data=2023-05-15 15:29:17.752485327 +0800 CST m=+11348.956869356] 2023-05-15T15:29:18.04268+08:00 INFO [22060,6eb59149ba7b331c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6eb59149ba7b331c, body={"processName":"ocp_mgragent"}] 2023-05-15T15:29:18.08206+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.545µs" 2023-05-15T15:29:18.10865+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.63663ms 2023-05-15T15:29:18.10876+08:00 INFO [22060,6eb59149ba7b331c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350081}]" 2023-05-15T15:29:18.10888+08:00 INFO [22060,6eb59149ba7b331c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6eb59149ba7b331c, duration=66.067927ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350081}]}] 2023-05-15T15:29:18.29856+08:00 INFO [22060,5fdc123e4b452ba7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fdc123e4b452ba7, body={"processName":"ocp_monagent"}] 2023-05-15T15:29:18.33225+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="44.505µs" 2023-05-15T15:29:18.3573+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.09351ms 2023-05-15T15:29:18.3574+08:00 INFO [22060,5fdc123e4b452ba7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350332}]" 2023-05-15T15:29:18.35748+08:00 INFO [22060,5fdc123e4b452ba7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5fdc123e4b452ba7, duration=58.822236ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350332}]}] 2023-05-15T15:29:18.53497+08:00 INFO [22060,62651dcf3b864652] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62651dcf3b864652, body={"processName":"ocp_agentd"}] 2023-05-15T15:29:18.56952+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.488µs" 2023-05-15T15:29:18.59825+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.773294ms 2023-05-15T15:29:18.59839+08:00 INFO [22060,62651dcf3b864652] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350569}]" 2023-05-15T15:29:18.59851+08:00 INFO [22060,62651dcf3b864652] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62651dcf3b864652, duration=63.43146ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11350569}]}] 2023-05-15T15:29:19.54847+08:00 INFO [22060,c328977d571abf1f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c328977d571abf1f, body=] 2023-05-15T15:29:19.54856+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:29:19.54861+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:29:19.54864+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:29:19.55155+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:29:19.55162+08:00 INFO [22060,c328977d571abf1f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c328977d571abf1f, duration=3.042332ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:30:19.68597+08:00 INFO [22060,410b8f81a73e46da] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=410b8f81a73e46da, body=] 2023-05-15T15:30:19.68609+08:00 INFO [22060,410b8f81a73e46da] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=410b8f81a73e46da, duration=4.779µs, status=200, data=2023-05-15 15:30:19.686056378 +0800 CST m=+11410.890440410] 2023-05-15T15:30:19.82741+08:00 INFO [22060,7d985fd5fedb0769] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7d985fd5fedb0769, body={"processName":"ocp_mgragent"}] 2023-05-15T15:30:19.86265+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="93.046µs" 2023-05-15T15:30:19.89283+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.272196ms 2023-05-15T15:30:19.89295+08:00 INFO [22060,7d985fd5fedb0769] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11411862}]" 2023-05-15T15:30:19.89305+08:00 INFO [22060,7d985fd5fedb0769] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7d985fd5fedb0769, duration=65.533271ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11411862}]}] 2023-05-15T15:30:20.09329+08:00 INFO [22060,18f6a71d19ee9449] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18f6a71d19ee9449, body={"processName":"ocp_monagent"}] 2023-05-15T15:30:20.1272+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="50.924µs" 2023-05-15T15:30:20.1518+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.649325ms 2023-05-15T15:30:20.15193+08:00 INFO [22060,18f6a71d19ee9449] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11412127}]" 2023-05-15T15:30:20.15205+08:00 INFO [22060,18f6a71d19ee9449] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18f6a71d19ee9449, duration=58.660406ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11412127}]}] 2023-05-15T15:30:20.31582+08:00 INFO [22060,aa094721b4fe0f98] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa094721b4fe0f98, body={"processName":"ocp_agentd"}] 2023-05-15T15:30:20.34798+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.592µs" 2023-05-15T15:30:20.37356+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.635032ms 2023-05-15T15:30:20.37365+08:00 INFO [22060,aa094721b4fe0f98] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11412347}]" 2023-05-15T15:30:20.37372+08:00 INFO [22060,aa094721b4fe0f98] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aa094721b4fe0f98, duration=57.793443ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11412347}]}] 2023-05-15T15:30:21.19744+08:00 INFO [22060,83c3608b57f6e643] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=83c3608b57f6e643, body=] 2023-05-15T15:30:21.19752+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:30:21.19758+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:30:21.19761+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:30:21.20035+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:30:21.20041+08:00 INFO [22060,83c3608b57f6e643] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=83c3608b57f6e643, duration=2.873356ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:31:21.43012+08:00 INFO [22060,1cc66e7c7d1df6c3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1cc66e7c7d1df6c3, body=] 2023-05-15T15:31:21.43021+08:00 INFO [22060,1cc66e7c7d1df6c3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1cc66e7c7d1df6c3, duration=4.043µs, status=200, data=2023-05-15 15:31:21.430198193 +0800 CST m=+11472.634582226] 2023-05-15T15:31:21.76881+08:00 INFO [22060,5e5f599bd0a1e979] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e5f599bd0a1e979, body={"processName":"ocp_mgragent"}] 2023-05-15T15:31:21.80494+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="61.973µs" 2023-05-15T15:31:21.83067+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.792367ms 2023-05-15T15:31:21.83076+08:00 INFO [22060,5e5f599bd0a1e979] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11473804}]" 2023-05-15T15:31:21.83085+08:00 INFO [22060,5e5f599bd0a1e979] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e5f599bd0a1e979, duration=61.903193ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11473804}]}] 2023-05-15T15:31:22.14428+08:00 INFO [22060,2c4d39de08f23122] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c4d39de08f23122, body={"processName":"ocp_monagent"}] 2023-05-15T15:31:22.17624+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.415µs" 2023-05-15T15:31:22.20177+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.570919ms 2023-05-15T15:31:22.20189+08:00 INFO [22060,2c4d39de08f23122] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11474176}]" 2023-05-15T15:31:22.20197+08:00 INFO [22060,2c4d39de08f23122] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2c4d39de08f23122, duration=57.576283ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11474176}]}] 2023-05-15T15:31:22.43141+08:00 INFO [22060,efaaef1acebde31a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=efaaef1acebde31a, body={"processName":"ocp_agentd"}] 2023-05-15T15:31:22.46653+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.042µs" 2023-05-15T15:31:22.49168+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.201752ms 2023-05-15T15:31:22.49178+08:00 INFO [22060,efaaef1acebde31a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11474466}]" 2023-05-15T15:31:22.49188+08:00 INFO [22060,efaaef1acebde31a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=efaaef1acebde31a, duration=60.365337ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11474466}]}] 2023-05-15T15:31:23.38569+08:00 INFO [22060,a610658475b3bfab] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a610658475b3bfab, body=] 2023-05-15T15:31:23.38577+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:31:23.38582+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:31:23.38584+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:31:23.38993+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:31:23.39004+08:00 INFO [22060,a610658475b3bfab] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a610658475b3bfab, duration=4.247759ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:32:23.63832+08:00 INFO [22060,18f96dc65e9ae04a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18f96dc65e9ae04a, body=] 2023-05-15T15:32:23.63842+08:00 INFO [22060,18f96dc65e9ae04a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=18f96dc65e9ae04a, duration=4.384µs, status=200, data=2023-05-15 15:32:23.638405607 +0800 CST m=+11534.842789637] 2023-05-15T15:32:23.81057+08:00 INFO [22060,dd33fc3bddb75462] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dd33fc3bddb75462, body={"processName":"ocp_mgragent"}] 2023-05-15T15:32:23.84316+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="94.556µs" 2023-05-15T15:32:23.8694+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.341038ms 2023-05-15T15:32:23.86949+08:00 INFO [22060,dd33fc3bddb75462] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11535842}]" 2023-05-15T15:32:23.86958+08:00 INFO [22060,dd33fc3bddb75462] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dd33fc3bddb75462, duration=58.880663ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11535842}]}] 2023-05-15T15:32:24.07662+08:00 INFO [22060,d6e6fe211c926128] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6e6fe211c926128, body={"processName":"ocp_monagent"}] 2023-05-15T15:32:24.11225+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.174µs" 2023-05-15T15:32:24.13557+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.366322ms 2023-05-15T15:32:24.13567+08:00 INFO [22060,d6e6fe211c926128] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11536112}]" 2023-05-15T15:32:24.13574+08:00 INFO [22060,d6e6fe211c926128] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d6e6fe211c926128, duration=59.032753ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11536112}]}] 2023-05-15T15:32:24.30781+08:00 INFO [22060,7cc7d66ba4c4a4d6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cc7d66ba4c4a4d6, body={"processName":"ocp_agentd"}] 2023-05-15T15:32:24.34756+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="61.743µs" 2023-05-15T15:32:24.37595+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.452144ms 2023-05-15T15:32:24.37605+08:00 INFO [22060,7cc7d66ba4c4a4d6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11536347}]" 2023-05-15T15:32:24.37614+08:00 INFO [22060,7cc7d66ba4c4a4d6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7cc7d66ba4c4a4d6, duration=68.195977ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11536347}]}] 2023-05-15T15:32:25.22754+08:00 INFO [22060,ed7c7346e02a8e65] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed7c7346e02a8e65, body=] 2023-05-15T15:32:25.22762+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:32:25.22768+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:32:25.2277+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:32:25.23082+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:32:25.23091+08:00 INFO [22060,ed7c7346e02a8e65] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed7c7346e02a8e65, duration=3.263402ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:33:25.37832+08:00 INFO [22060,7f2e49a7ca93154e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f2e49a7ca93154e, body=] 2023-05-15T15:33:25.37844+08:00 INFO [22060,7f2e49a7ca93154e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7f2e49a7ca93154e, duration=3.944µs, status=200, data=2023-05-15 15:33:25.378402859 +0800 CST m=+11596.582786891] 2023-05-15T15:33:25.5556+08:00 INFO [22060,0849f98f197122ed] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0849f98f197122ed, body={"processName":"ocp_mgragent"}] 2023-05-15T15:33:25.58985+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="75.939µs" 2023-05-15T15:33:25.61548+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.686783ms 2023-05-15T15:33:25.61557+08:00 INFO [22060,0849f98f197122ed] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597589}]" 2023-05-15T15:33:25.61564+08:00 INFO [22060,0849f98f197122ed] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0849f98f197122ed, duration=59.947341ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597589}]}] 2023-05-15T15:33:25.74292+08:00 INFO [22060,1ef85967ac3efe28] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ef85967ac3efe28, body={"processName":"ocp_monagent"}] 2023-05-15T15:33:25.7777+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="44.299µs" 2023-05-15T15:33:25.80204+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.38463ms 2023-05-15T15:33:25.80212+08:00 INFO [22060,1ef85967ac3efe28] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597777}]" 2023-05-15T15:33:25.80219+08:00 INFO [22060,1ef85967ac3efe28] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1ef85967ac3efe28, duration=59.165914ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597777}]}] 2023-05-15T15:33:25.93066+08:00 INFO [22060,7b05eebb70482b1c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b05eebb70482b1c, body={"processName":"ocp_agentd"}] 2023-05-15T15:33:25.96404+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="82.657µs" 2023-05-15T15:33:25.98968+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.72627ms 2023-05-15T15:33:25.9898+08:00 INFO [22060,7b05eebb70482b1c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597963}]" 2023-05-15T15:33:25.98994+08:00 INFO [22060,7b05eebb70482b1c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b05eebb70482b1c, duration=59.178367ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11597963}]}] 2023-05-15T15:33:26.68955+08:00 INFO [22060,1d51ff8108ff3711] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d51ff8108ff3711, body=] 2023-05-15T15:33:26.68963+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:33:26.68968+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:33:26.6897+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:33:26.69241+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:33:26.69254+08:00 INFO [22060,1d51ff8108ff3711] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d51ff8108ff3711, duration=2.842024ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:34:26.90002+08:00 INFO [22060,341c467eaae385c4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=341c467eaae385c4, body=] 2023-05-15T15:34:26.90011+08:00 INFO [22060,341c467eaae385c4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=341c467eaae385c4, duration=4.19µs, status=200, data=2023-05-15 15:34:26.90009664 +0800 CST m=+11658.104480672] 2023-05-15T15:34:27.09559+08:00 INFO [22060,889637f566a4fd41] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=889637f566a4fd41, body={"processName":"ocp_mgragent"}] 2023-05-15T15:34:27.13737+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.17µs" 2023-05-15T15:34:27.16482+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.503727ms 2023-05-15T15:34:27.16492+08:00 INFO [22060,889637f566a4fd41] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659137}]" 2023-05-15T15:34:27.16502+08:00 INFO [22060,889637f566a4fd41] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=889637f566a4fd41, duration=69.335715ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659137}]}] 2023-05-15T15:34:27.26997+08:00 INFO [22060,113fdee423d9000a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=113fdee423d9000a, body={"processName":"ocp_monagent"}] 2023-05-15T15:34:27.30452+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.782µs" 2023-05-15T15:34:27.33004+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.56603ms 2023-05-15T15:34:27.33012+08:00 INFO [22060,113fdee423d9000a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659304}]" 2023-05-15T15:34:27.3302+08:00 INFO [22060,113fdee423d9000a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=113fdee423d9000a, duration=60.132308ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659304}]}] 2023-05-15T15:34:27.44585+08:00 INFO [22060,de16fc77c34d7699] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de16fc77c34d7699, body={"processName":"ocp_agentd"}] 2023-05-15T15:34:27.48039+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.235µs" 2023-05-15T15:34:27.5048+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.453099ms 2023-05-15T15:34:27.5049+08:00 INFO [22060,de16fc77c34d7699] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659480}]" 2023-05-15T15:34:27.50499+08:00 INFO [22060,de16fc77c34d7699] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=de16fc77c34d7699, duration=59.04011ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11659480}]}] 2023-05-15T15:34:28.31893+08:00 INFO [22060,c803607975514795] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c803607975514795, body=] 2023-05-15T15:34:28.31901+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:34:28.31906+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:34:28.31908+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:34:28.32202+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:34:28.32213+08:00 INFO [22060,c803607975514795] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c803607975514795, duration=3.086194ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:35:28.50242+08:00 INFO [22060,a02fabe83b2f933b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a02fabe83b2f933b, body=] 2023-05-15T15:35:28.50253+08:00 INFO [22060,a02fabe83b2f933b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a02fabe83b2f933b, duration=5.176µs, status=200, data=2023-05-15 15:35:28.502499982 +0800 CST m=+11719.706884015] 2023-05-15T15:35:28.5963+08:00 INFO [22060,62ab1b7f53963b36] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62ab1b7f53963b36, body={"processName":"ocp_mgragent"}] 2023-05-15T15:35:28.64324+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.228µs" 2023-05-15T15:35:28.66807+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.902211ms 2023-05-15T15:35:28.66816+08:00 INFO [22060,62ab1b7f53963b36] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720643}]" 2023-05-15T15:35:28.66824+08:00 INFO [22060,62ab1b7f53963b36] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=62ab1b7f53963b36, duration=71.795025ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720643}]}] 2023-05-15T15:35:28.7862+08:00 INFO [22060,1787785905c329c6] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1787785905c329c6, body={"processName":"ocp_monagent"}] 2023-05-15T15:35:28.81898+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="72.383µs" 2023-05-15T15:35:28.84517+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.257803ms 2023-05-15T15:35:28.84528+08:00 INFO [22060,1787785905c329c6] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720818}]" 2023-05-15T15:35:28.84539+08:00 INFO [22060,1787785905c329c6] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1787785905c329c6, duration=59.072796ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720818}]}] 2023-05-15T15:35:28.95122+08:00 INFO [22060,09ab7f5b991b051d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=09ab7f5b991b051d, body={"processName":"ocp_agentd"}] 2023-05-15T15:35:28.99309+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.18µs" 2023-05-15T15:35:29.01987+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.849422ms 2023-05-15T15:35:29.01999+08:00 INFO [22060,09ab7f5b991b051d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720992}]" 2023-05-15T15:35:29.02012+08:00 INFO [22060,09ab7f5b991b051d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=09ab7f5b991b051d, duration=68.765861ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11720992}]}] 2023-05-15T15:35:29.84553+08:00 INFO [22060,d7318cf503a78e6b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7318cf503a78e6b, body=] 2023-05-15T15:35:29.8456+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:35:29.84566+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:35:29.84569+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:35:29.8488+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:35:29.84894+08:00 INFO [22060,d7318cf503a78e6b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7318cf503a78e6b, duration=3.30163ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:36:29.96364+08:00 INFO [22060,f867dea9227aafb0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f867dea9227aafb0, body=] 2023-05-15T15:36:29.96389+08:00 INFO [22060,f867dea9227aafb0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f867dea9227aafb0, duration=7.265µs, status=200, data=2023-05-15 15:36:29.963823158 +0800 CST m=+11781.168207199] 2023-05-15T15:36:30.0839+08:00 INFO [22060,9576fea0e2a87c1b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9576fea0e2a87c1b, body={"processName":"ocp_mgragent"}] 2023-05-15T15:36:30.11776+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.06µs" 2023-05-15T15:36:30.14126+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=23.546411ms 2023-05-15T15:36:30.14135+08:00 INFO [22060,9576fea0e2a87c1b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782117}]" 2023-05-15T15:36:30.14142+08:00 INFO [22060,9576fea0e2a87c1b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9576fea0e2a87c1b, duration=57.410541ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782117}]}] 2023-05-15T15:36:30.29082+08:00 INFO [22060,3ce783dfbc0905c0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3ce783dfbc0905c0, body={"processName":"ocp_monagent"}] 2023-05-15T15:36:30.32578+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.182µs" 2023-05-15T15:36:30.35054+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.815675ms 2023-05-15T15:36:30.35065+08:00 INFO [22060,3ce783dfbc0905c0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782325}]" 2023-05-15T15:36:30.35076+08:00 INFO [22060,3ce783dfbc0905c0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3ce783dfbc0905c0, duration=59.792374ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782325}]}] 2023-05-15T15:36:30.43081+08:00 INFO [22060,75070e37f5c32130] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75070e37f5c32130, body={"processName":"ocp_agentd"}] 2023-05-15T15:36:30.46527+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="53.707µs" 2023-05-15T15:36:30.49364+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=28.424604ms 2023-05-15T15:36:30.49385+08:00 INFO [22060,75070e37f5c32130] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782465}]" 2023-05-15T15:36:30.49399+08:00 INFO [22060,75070e37f5c32130] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=75070e37f5c32130, duration=63.065064ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11782465}]}] 2023-05-15T15:36:31.07488+08:00 INFO [22060,e78e641bbbf87400] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e78e641bbbf87400, body=] 2023-05-15T15:36:31.07498+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:36:31.07506+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:36:31.07509+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:36:31.07818+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:36:31.07828+08:00 INFO [22060,e78e641bbbf87400] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e78e641bbbf87400, duration=3.276636ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:37:31.25391+08:00 INFO [22060,1bc1d1de50c8e5ed] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1bc1d1de50c8e5ed, body=] 2023-05-15T15:37:31.25406+08:00 INFO [22060,1bc1d1de50c8e5ed] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1bc1d1de50c8e5ed, duration=5.751µs, status=200, data=2023-05-15 15:37:31.254006577 +0800 CST m=+11842.458390616] 2023-05-15T15:37:31.39994+08:00 INFO [22060,cc8e4f4d7be3732e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc8e4f4d7be3732e, body={"processName":"ocp_mgragent"}] 2023-05-15T15:37:31.44013+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.537µs" 2023-05-15T15:37:31.46526+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.177456ms 2023-05-15T15:37:31.46535+08:00 INFO [22060,cc8e4f4d7be3732e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843439}]" 2023-05-15T15:37:31.46545+08:00 INFO [22060,cc8e4f4d7be3732e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cc8e4f4d7be3732e, duration=65.38081ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843439}]}] 2023-05-15T15:37:31.62606+08:00 INFO [22060,5aacc66a792744ba] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5aacc66a792744ba, body={"processName":"ocp_monagent"}] 2023-05-15T15:37:31.66356+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="61.353µs" 2023-05-15T15:37:31.69883+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=35.332119ms 2023-05-15T15:37:31.699+08:00 INFO [22060,5aacc66a792744ba] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843663}]" 2023-05-15T15:37:31.69911+08:00 INFO [22060,5aacc66a792744ba] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5aacc66a792744ba, duration=72.90221ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843663}]}] 2023-05-15T15:37:31.8578+08:00 INFO [22060,f187fc46a2a8ecda] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f187fc46a2a8ecda, body={"processName":"ocp_agentd"}] 2023-05-15T15:37:31.89713+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.066µs" 2023-05-15T15:37:31.92868+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.601971ms 2023-05-15T15:37:31.92876+08:00 INFO [22060,f187fc46a2a8ecda] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843896}]" 2023-05-15T15:37:31.92884+08:00 INFO [22060,f187fc46a2a8ecda] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f187fc46a2a8ecda, duration=70.925124ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11843896}]}] 2023-05-15T15:37:32.55735+08:00 INFO [22060,b77cfe3606ef2c9c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b77cfe3606ef2c9c, body=] 2023-05-15T15:37:32.55743+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:37:32.55748+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:37:32.55751+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:37:32.56058+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:37:32.56067+08:00 INFO [22060,b77cfe3606ef2c9c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b77cfe3606ef2c9c, duration=3.211887ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:38:32.72004+08:00 INFO [22060,9fa22b99bbe12537] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fa22b99bbe12537, body=] 2023-05-15T15:38:32.72029+08:00 INFO [22060,9fa22b99bbe12537] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9fa22b99bbe12537, duration=6.998µs, status=200, data=2023-05-15 15:38:32.720146375 +0800 CST m=+11903.924530410] 2023-05-15T15:38:32.91124+08:00 INFO [22060,68f54740bf59daaa] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=68f54740bf59daaa, body={"processName":"ocp_mgragent"}] 2023-05-15T15:38:32.94825+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="69.259µs" 2023-05-15T15:38:32.97384+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.659553ms 2023-05-15T15:38:32.97398+08:00 INFO [22060,68f54740bf59daaa] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11904948}]" 2023-05-15T15:38:32.97409+08:00 INFO [22060,68f54740bf59daaa] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=68f54740bf59daaa, duration=62.714468ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11904948}]}] 2023-05-15T15:38:33.08703+08:00 INFO [22060,28302c1787c10252] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28302c1787c10252, body={"processName":"ocp_monagent"}] 2023-05-15T15:38:33.11908+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.192µs" 2023-05-15T15:38:33.1463+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.269539ms 2023-05-15T15:38:33.14642+08:00 INFO [22060,28302c1787c10252] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11905118}]" 2023-05-15T15:38:33.14654+08:00 INFO [22060,28302c1787c10252] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=28302c1787c10252, duration=59.383615ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11905118}]}] 2023-05-15T15:38:33.28159+08:00 INFO [22060,c1a97d0eebc86f7b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1a97d0eebc86f7b, body={"processName":"ocp_agentd"}] 2023-05-15T15:38:33.31959+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="52.779µs" 2023-05-15T15:38:33.35455+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=35.011067ms 2023-05-15T15:38:33.35464+08:00 INFO [22060,c1a97d0eebc86f7b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11905319}]" 2023-05-15T15:38:33.35478+08:00 INFO [22060,c1a97d0eebc86f7b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c1a97d0eebc86f7b, duration=73.087802ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11905319}]}] 2023-05-15T15:38:33.95109+08:00 INFO [22060,0d60e24d517cb77d] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d60e24d517cb77d, body=] 2023-05-15T15:38:33.95116+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:38:33.95121+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:38:33.95123+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:38:33.95562+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:38:33.95573+08:00 INFO [22060,0d60e24d517cb77d] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0d60e24d517cb77d, duration=4.539313ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:39:34.16851+08:00 INFO [22060,ba2e998585ddf6a8] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba2e998585ddf6a8, body=] 2023-05-15T15:39:34.16864+08:00 INFO [22060,ba2e998585ddf6a8] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba2e998585ddf6a8, duration=3.93µs, status=200, data=2023-05-15 15:39:34.168609692 +0800 CST m=+11965.372993721] 2023-05-15T15:39:34.53942+08:00 INFO [22060,c6b9f121cbd40db1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c6b9f121cbd40db1, body={"processName":"ocp_mgragent"}] 2023-05-15T15:39:34.57306+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="64.016µs" 2023-05-15T15:39:34.60385+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=30.870242ms 2023-05-15T15:39:34.60398+08:00 INFO [22060,c6b9f121cbd40db1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966572}]" 2023-05-15T15:39:34.60408+08:00 INFO [22060,c6b9f121cbd40db1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c6b9f121cbd40db1, duration=64.5303ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966572}]}] 2023-05-15T15:39:34.69161+08:00 INFO [22060,bedd62110e504579] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bedd62110e504579, body={"processName":"ocp_monagent"}] 2023-05-15T15:39:34.72654+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="52.421µs" 2023-05-15T15:39:34.75389+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.400463ms 2023-05-15T15:39:34.75398+08:00 INFO [22060,bedd62110e504579] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966726}]" 2023-05-15T15:39:34.75406+08:00 INFO [22060,bedd62110e504579] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bedd62110e504579, duration=62.331839ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966726}]}] 2023-05-15T15:39:34.88463+08:00 INFO [22060,65ac5ce53d150ddb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65ac5ce53d150ddb, body={"processName":"ocp_agentd"}] 2023-05-15T15:39:34.91802+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="60.91µs" 2023-05-15T15:39:34.94927+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.302737ms 2023-05-15T15:39:34.94936+08:00 INFO [22060,65ac5ce53d150ddb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966917}]" 2023-05-15T15:39:34.94944+08:00 INFO [22060,65ac5ce53d150ddb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65ac5ce53d150ddb, duration=64.691976ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 11966917}]}] 2023-05-15T15:39:35.73895+08:00 INFO [22060,0c261893c7c1b5ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c261893c7c1b5ee, body=] 2023-05-15T15:39:35.73904+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:39:35.7391+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:39:35.73912+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:39:35.74238+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:39:35.74251+08:00 INFO [22060,0c261893c7c1b5ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0c261893c7c1b5ee, duration=3.436831ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:40:35.93699+08:00 INFO [22060,e6f141c661c2a073] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e6f141c661c2a073, body=] 2023-05-15T15:40:35.93711+08:00 INFO [22060,e6f141c661c2a073] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e6f141c661c2a073, duration=3.794µs, status=200, data=2023-05-15 15:40:35.9370879 +0800 CST m=+12027.141471930] 2023-05-15T15:40:36.12719+08:00 INFO [22060,91f95594dbb27ade] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=91f95594dbb27ade, body={"processName":"ocp_mgragent"}] 2023-05-15T15:40:36.16381+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.416µs" 2023-05-15T15:40:36.19233+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.570996ms 2023-05-15T15:40:36.19243+08:00 INFO [22060,91f95594dbb27ade] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028163}]" 2023-05-15T15:40:36.19251+08:00 INFO [22060,91f95594dbb27ade] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=91f95594dbb27ade, duration=65.217744ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028163}]}] 2023-05-15T15:40:36.36589+08:00 INFO [22060,ba446d28096c39ad] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba446d28096c39ad, body={"processName":"ocp_monagent"}] 2023-05-15T15:40:36.4023+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="55.701µs" 2023-05-15T15:40:36.42902+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.780214ms 2023-05-15T15:40:36.42912+08:00 INFO [22060,ba446d28096c39ad] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028402}]" 2023-05-15T15:40:36.42921+08:00 INFO [22060,ba446d28096c39ad] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ba446d28096c39ad, duration=63.194672ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028402}]}] 2023-05-15T15:40:36.62053+08:00 INFO [22060,d046478790d85f21] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d046478790d85f21, body={"processName":"ocp_agentd"}] 2023-05-15T15:40:36.65649+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.513µs" 2023-05-15T15:40:36.68222+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.784324ms 2023-05-15T15:40:36.68233+08:00 INFO [22060,d046478790d85f21] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028656}]" 2023-05-15T15:40:36.68244+08:00 INFO [22060,d046478790d85f21] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d046478790d85f21, duration=61.789224ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12028656}]}] 2023-05-15T15:40:37.2625+08:00 INFO [22060,d751eb2ec43894ee] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d751eb2ec43894ee, body=] 2023-05-15T15:40:37.26257+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:40:37.26262+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:40:37.26264+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:40:37.2655+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:40:37.26558+08:00 INFO [22060,d751eb2ec43894ee] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d751eb2ec43894ee, duration=2.989746ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:41:37.54513+08:00 INFO [22060,bbeeaaf8437e1e13] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bbeeaaf8437e1e13, body=] 2023-05-15T15:41:37.54525+08:00 INFO [22060,bbeeaaf8437e1e13] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bbeeaaf8437e1e13, duration=3.961µs, status=200, data=2023-05-15 15:41:37.545216291 +0800 CST m=+12088.749600322] 2023-05-15T15:41:37.79538+08:00 INFO [22060,8139648625fed893] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8139648625fed893, body={"processName":"ocp_mgragent"}] 2023-05-15T15:41:37.82943+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="47.077µs" 2023-05-15T15:41:37.85522+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.838944ms 2023-05-15T15:41:37.85532+08:00 INFO [22060,8139648625fed893] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12089829}]" 2023-05-15T15:41:37.8554+08:00 INFO [22060,8139648625fed893] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8139648625fed893, duration=59.915818ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12089829}]}] 2023-05-15T15:41:38.01267+08:00 INFO [22060,57be6b699ba2b104] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=57be6b699ba2b104, body={"processName":"ocp_monagent"}] 2023-05-15T15:41:38.04622+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="77.988µs" 2023-05-15T15:41:38.07116+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.013009ms 2023-05-15T15:41:38.07126+08:00 INFO [22060,57be6b699ba2b104] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12090046}]" 2023-05-15T15:41:38.07136+08:00 INFO [22060,57be6b699ba2b104] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=57be6b699ba2b104, duration=58.586773ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12090046}]}] 2023-05-15T15:41:38.26109+08:00 INFO [22060,f040cd81e965b5cc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f040cd81e965b5cc, body={"processName":"ocp_agentd"}] 2023-05-15T15:41:38.29492+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="101.49µs" 2023-05-15T15:41:38.32176+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.938182ms 2023-05-15T15:41:38.32211+08:00 INFO [22060,f040cd81e965b5cc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12090294}]" 2023-05-15T15:41:38.32223+08:00 INFO [22060,f040cd81e965b5cc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f040cd81e965b5cc, duration=61.027787ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12090294}]}] 2023-05-15T15:41:39.01813+08:00 INFO [22060,60769e308f1bedd9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=60769e308f1bedd9, body=] 2023-05-15T15:41:39.01821+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:41:39.01826+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:41:39.01829+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:41:39.02196+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:41:39.02205+08:00 INFO [22060,60769e308f1bedd9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=60769e308f1bedd9, duration=3.813436ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:42:39.23907+08:00 INFO [22060,76bf1e35014622ba] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76bf1e35014622ba, body=] 2023-05-15T15:42:39.23923+08:00 INFO [22060,76bf1e35014622ba] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=76bf1e35014622ba, duration=5.118µs, status=200, data=2023-05-15 15:42:39.239185747 +0800 CST m=+12150.443569785] 2023-05-15T15:42:39.44273+08:00 INFO [22060,32fe2fef3a7093e4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32fe2fef3a7093e4, body={"processName":"ocp_mgragent"}] 2023-05-15T15:42:39.47927+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="53.88µs" 2023-05-15T15:42:39.50365+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.431499ms 2023-05-15T15:42:39.50374+08:00 INFO [22060,32fe2fef3a7093e4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151479}]" 2023-05-15T15:42:39.50383+08:00 INFO [22060,32fe2fef3a7093e4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=32fe2fef3a7093e4, duration=60.977365ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151479}]}] 2023-05-15T15:42:39.66147+08:00 INFO [22060,553d9b0519f0cc12] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=553d9b0519f0cc12, body={"processName":"ocp_monagent"}] 2023-05-15T15:42:39.69431+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.593µs" 2023-05-15T15:42:39.7183+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.041162ms 2023-05-15T15:42:39.71838+08:00 INFO [22060,553d9b0519f0cc12] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151694}]" 2023-05-15T15:42:39.71847+08:00 INFO [22060,553d9b0519f0cc12] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=553d9b0519f0cc12, duration=56.848118ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151694}]}] 2023-05-15T15:42:39.90735+08:00 INFO [22060,a42ced1ba93f0579] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a42ced1ba93f0579, body={"processName":"ocp_agentd"}] 2023-05-15T15:42:39.94039+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="50.726µs" 2023-05-15T15:42:39.96452+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.18278ms 2023-05-15T15:42:39.96464+08:00 INFO [22060,a42ced1ba93f0579] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151940}]" 2023-05-15T15:42:39.96477+08:00 INFO [22060,a42ced1ba93f0579] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a42ced1ba93f0579, duration=57.30541ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12151940}]}] 2023-05-15T15:42:40.41255+08:00 INFO [22060,5cca67d81773530f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5cca67d81773530f, body=] 2023-05-15T15:42:40.41262+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:42:40.41268+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:42:40.41273+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:42:40.41558+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:42:40.41573+08:00 INFO [22060,5cca67d81773530f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5cca67d81773530f, duration=3.058543ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:43:40.67108+08:00 INFO [22060,d59939aa9fea4892] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d59939aa9fea4892, body=] 2023-05-15T15:43:40.67137+08:00 INFO [22060,d59939aa9fea4892] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d59939aa9fea4892, duration=10.452µs, status=200, data=2023-05-15 15:43:40.671272966 +0800 CST m=+12211.875657036] 2023-05-15T15:43:40.8172+08:00 INFO [22060,297df57117baf8cb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=297df57117baf8cb, body={"processName":"ocp_mgragent"}] 2023-05-15T15:43:40.8532+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.602µs" 2023-05-15T15:43:40.88044+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.286167ms 2023-05-15T15:43:40.88055+08:00 INFO [22060,297df57117baf8cb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12212853}]" 2023-05-15T15:43:40.88068+08:00 INFO [22060,297df57117baf8cb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=297df57117baf8cb, duration=63.35428ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12212853}]}] 2023-05-15T15:43:40.95504+08:00 INFO [22060,10c48dc538653d89] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10c48dc538653d89, body={"processName":"ocp_monagent"}] 2023-05-15T15:43:40.99135+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.654µs" 2023-05-15T15:43:41.01647+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.158064ms 2023-05-15T15:43:41.01656+08:00 INFO [22060,10c48dc538653d89] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12212991}]" 2023-05-15T15:43:41.01664+08:00 INFO [22060,10c48dc538653d89] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=10c48dc538653d89, duration=61.478126ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12212991}]}] 2023-05-15T15:43:41.18278+08:00 INFO [22060,2a4f4adbd3283d60] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a4f4adbd3283d60, body={"processName":"ocp_agentd"}] 2023-05-15T15:43:41.21707+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="45.833µs" 2023-05-15T15:43:41.24434+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.318554ms 2023-05-15T15:43:41.24442+08:00 INFO [22060,2a4f4adbd3283d60] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12213216}]" 2023-05-15T15:43:41.2445+08:00 INFO [22060,2a4f4adbd3283d60] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a4f4adbd3283d60, duration=61.606856ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12213216}]}] 2023-05-15T15:43:42.07648+08:00 INFO [22060,7b4dc3173c98c8b9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b4dc3173c98c8b9, body=] 2023-05-15T15:43:42.07658+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:43:42.07665+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:43:42.07668+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:43:42.08034+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:43:42.08044+08:00 INFO [22060,7b4dc3173c98c8b9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b4dc3173c98c8b9, duration=3.840634ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:44:42.22845+08:00 INFO [22060,53d04587a3ad0dea] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=53d04587a3ad0dea, body=] 2023-05-15T15:44:42.22859+08:00 INFO [22060,53d04587a3ad0dea] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=53d04587a3ad0dea, duration=5.463µs, status=200, data=2023-05-15 15:44:42.22855939 +0800 CST m=+12273.432943434] 2023-05-15T15:44:42.3721+08:00 INFO [22060,b01f09289c0c777f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b01f09289c0c777f, body={"processName":"ocp_mgragent"}] 2023-05-15T15:44:42.40915+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.5µs" 2023-05-15T15:44:42.4357+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.599242ms 2023-05-15T15:44:42.43578+08:00 INFO [22060,b01f09289c0c777f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274408}]" 2023-05-15T15:44:42.4359+08:00 INFO [22060,b01f09289c0c777f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b01f09289c0c777f, duration=63.688467ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274408}]}] 2023-05-15T15:44:42.54114+08:00 INFO [22060,1d1e7b98740d212b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d1e7b98740d212b, body={"processName":"ocp_monagent"}] 2023-05-15T15:44:42.58258+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="81.894µs" 2023-05-15T15:44:42.60708+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.582866ms 2023-05-15T15:44:42.60719+08:00 INFO [22060,1d1e7b98740d212b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274582}]" 2023-05-15T15:44:42.6073+08:00 INFO [22060,1d1e7b98740d212b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1d1e7b98740d212b, duration=66.055067ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274582}]}] 2023-05-15T15:44:42.7087+08:00 INFO [22060,72d9d891dd8d52b0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=72d9d891dd8d52b0, body={"processName":"ocp_agentd"}] 2023-05-15T15:44:42.74094+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.303µs" 2023-05-15T15:44:42.76796+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=27.069494ms 2023-05-15T15:44:42.76807+08:00 INFO [22060,72d9d891dd8d52b0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274740}]" 2023-05-15T15:44:42.76818+08:00 INFO [22060,72d9d891dd8d52b0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=72d9d891dd8d52b0, duration=59.367952ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12274740}]}] 2023-05-15T15:44:43.42155+08:00 INFO [22060,24d4fedb7c51a3a0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24d4fedb7c51a3a0, body=] 2023-05-15T15:44:43.42166+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:44:43.42172+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:44:43.42175+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:44:43.42445+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:44:43.42455+08:00 INFO [22060,24d4fedb7c51a3a0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=24d4fedb7c51a3a0, duration=2.868666ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:45:43.59901+08:00 INFO [22060,b0704d1cd9695965] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0704d1cd9695965, body=] 2023-05-15T15:45:43.59913+08:00 INFO [22060,b0704d1cd9695965] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0704d1cd9695965, duration=3.755µs, status=200, data=2023-05-15 15:45:43.599096903 +0800 CST m=+12334.803480932] 2023-05-15T15:45:43.7191+08:00 INFO [22060,8d112c9f3124ca07] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d112c9f3124ca07, body={"processName":"ocp_mgragent"}] 2023-05-15T15:45:43.7545+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="80.806µs" 2023-05-15T15:45:43.78826+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=33.849241ms 2023-05-15T15:45:43.78836+08:00 INFO [22060,8d112c9f3124ca07] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12335754}]" 2023-05-15T15:45:43.78845+08:00 INFO [22060,8d112c9f3124ca07] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8d112c9f3124ca07, duration=69.24281ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12335754}]}] 2023-05-15T15:45:43.89302+08:00 INFO [22060,696768e38b623716] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=696768e38b623716, body={"processName":"ocp_monagent"}] 2023-05-15T15:45:43.92475+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.588µs" 2023-05-15T15:45:43.94985+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.14877ms 2023-05-15T15:45:43.94995+08:00 INFO [22060,696768e38b623716] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12335924}]" 2023-05-15T15:45:43.95003+08:00 INFO [22060,696768e38b623716] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=696768e38b623716, duration=56.92392ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12335924}]}] 2023-05-15T15:45:44.04083+08:00 INFO [22060,326de1b041032024] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=326de1b041032024, body={"processName":"ocp_agentd"}] 2023-05-15T15:45:44.07697+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="53.784µs" 2023-05-15T15:45:44.10249+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.579695ms 2023-05-15T15:45:44.10263+08:00 INFO [22060,326de1b041032024] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12336076}]" 2023-05-15T15:45:44.10273+08:00 INFO [22060,326de1b041032024] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=326de1b041032024, duration=61.780117ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12336076}]}] 2023-05-15T15:45:44.87244+08:00 INFO [22060,455c0a448ed8d792] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=455c0a448ed8d792, body=] 2023-05-15T15:45:44.87252+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:45:44.87257+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:45:44.8726+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:45:44.87586+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:45:44.87595+08:00 INFO [22060,455c0a448ed8d792] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=455c0a448ed8d792, duration=3.408037ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:46:45.07512+08:00 INFO [22060,1e18bf02e9d2cd22] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1e18bf02e9d2cd22, body=] 2023-05-15T15:46:45.07527+08:00 INFO [22060,1e18bf02e9d2cd22] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1e18bf02e9d2cd22, duration=5.868µs, status=200, data=2023-05-15 15:46:45.075223631 +0800 CST m=+12396.279607666] 2023-05-15T15:46:45.21635+08:00 INFO [22060,aea1b83e93f7cbe9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aea1b83e93f7cbe9, body={"processName":"ocp_mgragent"}] 2023-05-15T15:46:45.25344+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="55.877µs" 2023-05-15T15:46:45.28319+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=29.805231ms 2023-05-15T15:46:45.28328+08:00 INFO [22060,aea1b83e93f7cbe9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397253}]" 2023-05-15T15:46:45.28336+08:00 INFO [22060,aea1b83e93f7cbe9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=aea1b83e93f7cbe9, duration=66.912562ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397253}]}] 2023-05-15T15:46:45.34632+08:00 INFO [22060,a802771f33249419] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a802771f33249419, body={"processName":"ocp_monagent"}] 2023-05-15T15:46:45.3868+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="68.589µs" 2023-05-15T15:46:45.41144+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.708717ms 2023-05-15T15:46:45.41152+08:00 INFO [22060,a802771f33249419] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397386}]" 2023-05-15T15:46:45.41161+08:00 INFO [22060,a802771f33249419] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=a802771f33249419, duration=65.182187ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397386}]}] 2023-05-15T15:46:45.52433+08:00 INFO [22060,27a44363e44e3a43] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=27a44363e44e3a43, body={"processName":"ocp_agentd"}] 2023-05-15T15:46:45.55714+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="51.224µs" 2023-05-15T15:46:45.58331+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.214537ms 2023-05-15T15:46:45.58339+08:00 INFO [22060,27a44363e44e3a43] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397556}]" 2023-05-15T15:46:45.58346+08:00 INFO [22060,27a44363e44e3a43] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=27a44363e44e3a43, duration=59.032332ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12397556}]}] 2023-05-15T15:46:46.31354+08:00 INFO [22060,c91280ef0a0cebef] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c91280ef0a0cebef, body=] 2023-05-15T15:46:46.31365+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:46:46.31371+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:46:46.31375+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:46:46.31648+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:46:46.31658+08:00 INFO [22060,c91280ef0a0cebef] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c91280ef0a0cebef, duration=2.904615ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:47:46.46603+08:00 INFO [22060,4c50aea06f3c3b29] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4c50aea06f3c3b29, body=] 2023-05-15T15:47:46.46614+08:00 INFO [22060,4c50aea06f3c3b29] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4c50aea06f3c3b29, duration=3.828µs, status=200, data=2023-05-15 15:47:46.466119369 +0800 CST m=+12457.670503398] 2023-05-15T15:47:46.56089+08:00 INFO [22060,ed3e73a609ebb2ee] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed3e73a609ebb2ee, body={"processName":"ocp_mgragent"}] 2023-05-15T15:47:46.5949+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="63.172µs" 2023-05-15T15:47:46.62766+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=32.823012ms 2023-05-15T15:47:46.62775+08:00 INFO [22060,ed3e73a609ebb2ee] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458594}]" 2023-05-15T15:47:46.62827+08:00 INFO [22060,ed3e73a609ebb2ee] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ed3e73a609ebb2ee, duration=67.268823ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458594}]}] 2023-05-15T15:47:46.73882+08:00 INFO [22060,b70223d8de867cea] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b70223d8de867cea, body={"processName":"ocp_monagent"}] 2023-05-15T15:47:46.76913+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.388µs" 2023-05-15T15:47:46.79273+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.653609ms 2023-05-15T15:47:46.79281+08:00 INFO [22060,b70223d8de867cea] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458768}]" 2023-05-15T15:47:46.7929+08:00 INFO [22060,b70223d8de867cea] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b70223d8de867cea, duration=53.975498ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458768}]}] 2023-05-15T15:47:46.90876+08:00 INFO [22060,5e0d857c9d3561ac] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e0d857c9d3561ac, body={"processName":"ocp_agentd"}] 2023-05-15T15:47:46.94172+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="53.402µs" 2023-05-15T15:47:46.97161+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.952546ms 2023-05-15T15:47:46.97171+08:00 INFO [22060,5e0d857c9d3561ac] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458941}]" 2023-05-15T15:47:46.97178+08:00 INFO [22060,5e0d857c9d3561ac] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e0d857c9d3561ac, duration=62.927618ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12458941}]}] 2023-05-15T15:47:47.61773+08:00 INFO [22060,65ed7aa6bc4b64d6] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65ed7aa6bc4b64d6, body=] 2023-05-15T15:47:47.61783+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:47:47.61791+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:47:47.61794+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:47:47.62153+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:47:47.62166+08:00 INFO [22060,65ed7aa6bc4b64d6] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65ed7aa6bc4b64d6, duration=3.794657ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:48:47.71438+08:00 INFO [22060,1b43e4b8e5e56c4b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1b43e4b8e5e56c4b, body=] 2023-05-15T15:48:47.71449+08:00 INFO [22060,1b43e4b8e5e56c4b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1b43e4b8e5e56c4b, duration=3.957µs, status=200, data=2023-05-15 15:48:47.714474967 +0800 CST m=+12518.918858998] 2023-05-15T15:48:47.83022+08:00 INFO [22060,5e98689d4336f53e] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e98689d4336f53e, body={"processName":"ocp_mgragent"}] 2023-05-15T15:48:47.8776+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.516µs" 2023-05-15T15:48:47.90203+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=24.502522ms 2023-05-15T15:48:47.90212+08:00 INFO [22060,5e98689d4336f53e] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12519877}]" 2023-05-15T15:48:47.9022+08:00 INFO [22060,5e98689d4336f53e] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5e98689d4336f53e, duration=71.863567ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12519877}]}] 2023-05-15T15:48:47.97799+08:00 INFO [22060,e3be1aee6f817607] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e3be1aee6f817607, body={"processName":"ocp_monagent"}] 2023-05-15T15:48:48.01063+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="46.681µs" 2023-05-15T15:48:48.03361+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=23.02614ms 2023-05-15T15:48:48.03369+08:00 INFO [22060,e3be1aee6f817607] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12520010}]" 2023-05-15T15:48:48.03377+08:00 INFO [22060,e3be1aee6f817607] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e3be1aee6f817607, duration=55.681151ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12520010}]}] 2023-05-15T15:48:48.16643+08:00 INFO [22060,f0a4eb5f867604fb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0a4eb5f867604fb, body={"processName":"ocp_agentd"}] 2023-05-15T15:48:48.20051+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="55.331µs" 2023-05-15T15:48:48.22545+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.98836ms 2023-05-15T15:48:48.22555+08:00 INFO [22060,f0a4eb5f867604fb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12520200}]" 2023-05-15T15:48:48.22565+08:00 INFO [22060,f0a4eb5f867604fb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0a4eb5f867604fb, duration=59.119802ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12520200}]}] 2023-05-15T15:48:48.79044+08:00 INFO [22060,6a7370dd74efcc5a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6a7370dd74efcc5a, body=] 2023-05-15T15:48:48.79052+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:48:48.79058+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:48:48.79061+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:48:48.79337+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:48:48.79346+08:00 INFO [22060,6a7370dd74efcc5a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6a7370dd74efcc5a, duration=2.915043ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:49:48.92559+08:00 INFO [22060,438ce2c87d483423] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=438ce2c87d483423, body=] 2023-05-15T15:49:48.92573+08:00 INFO [22060,438ce2c87d483423] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=438ce2c87d483423, duration=4.89µs, status=200, data=2023-05-15 15:49:48.925699085 +0800 CST m=+12580.130083115] 2023-05-15T15:49:49.02611+08:00 INFO [22060,df0144a6795ba567] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df0144a6795ba567, body={"processName":"ocp_mgragent"}] 2023-05-15T15:49:49.06142+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="48.513µs" 2023-05-15T15:49:49.09325+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=31.879469ms 2023-05-15T15:49:49.09334+08:00 INFO [22060,df0144a6795ba567] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581061}]" 2023-05-15T15:49:49.09342+08:00 INFO [22060,df0144a6795ba567] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=df0144a6795ba567, duration=67.215301ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581061}]}] 2023-05-15T15:49:49.19857+08:00 INFO [22060,620aca1e4de265a3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=620aca1e4de265a3, body={"processName":"ocp_monagent"}] 2023-05-15T15:49:49.23575+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.514µs" 2023-05-15T15:49:49.2641+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=28.397172ms 2023-05-15T15:49:49.26421+08:00 INFO [22060,620aca1e4de265a3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581235}]" 2023-05-15T15:49:49.2643+08:00 INFO [22060,620aca1e4de265a3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=620aca1e4de265a3, duration=65.603447ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581235}]}] 2023-05-15T15:49:49.35044+08:00 INFO [22060,1dd20d864d37ecdc] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1dd20d864d37ecdc, body={"processName":"ocp_agentd"}] 2023-05-15T15:49:49.38741+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.047µs" 2023-05-15T15:49:49.4127+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=25.353183ms 2023-05-15T15:49:49.41279+08:00 INFO [22060,1dd20d864d37ecdc] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581387}]" 2023-05-15T15:49:49.41288+08:00 INFO [22060,1dd20d864d37ecdc] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1dd20d864d37ecdc, duration=62.326565ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12581387}]}] 2023-05-15T15:49:50.09501+08:00 INFO [22060,78a7e7e417d67c81] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=78a7e7e417d67c81, body=] 2023-05-15T15:49:50.09509+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:49:50.09514+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:49:50.09516+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:49:50.0978+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:49:50.09788+08:00 INFO [22060,78a7e7e417d67c81] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=78a7e7e417d67c81, duration=2.761399ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:50:50.3321+08:00 INFO [22060,fc9be4e65dde8006] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc9be4e65dde8006, body=] 2023-05-15T15:50:50.33225+08:00 INFO [22060,fc9be4e65dde8006] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fc9be4e65dde8006, duration=5.589µs, status=200, data=2023-05-15 15:50:50.332221968 +0800 CST m=+12641.536605999] 2023-05-15T15:50:50.5852+08:00 INFO [22060,66bed01660d50dc7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=66bed01660d50dc7, body={"processName":"ocp_mgragent"}] 2023-05-15T15:50:50.62426+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="68.39µs" 2023-05-15T15:50:50.65235+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.150664ms 2023-05-15T15:50:50.65244+08:00 INFO [22060,66bed01660d50dc7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12642624}]" 2023-05-15T15:50:50.65253+08:00 INFO [22060,66bed01660d50dc7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=66bed01660d50dc7, duration=67.22378ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12642624}]}] 2023-05-15T15:50:50.77022+08:00 INFO [22060,d7b80ac1c2932c5b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7b80ac1c2932c5b, body={"processName":"ocp_monagent"}] 2023-05-15T15:50:50.81122+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="65.913µs" 2023-05-15T15:50:50.84635+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=35.193906ms 2023-05-15T15:50:50.84645+08:00 INFO [22060,d7b80ac1c2932c5b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12642810}]" 2023-05-15T15:50:50.84655+08:00 INFO [22060,d7b80ac1c2932c5b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=d7b80ac1c2932c5b, duration=76.220691ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12642810}]}] 2023-05-15T15:50:51.02358+08:00 INFO [22060,639b8782c450f02c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=639b8782c450f02c, body={"processName":"ocp_agentd"}] 2023-05-15T15:50:51.06159+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="64.619µs" 2023-05-15T15:50:51.09472+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=33.191773ms 2023-05-15T15:50:51.0948+08:00 INFO [22060,639b8782c450f02c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12643061}]" 2023-05-15T15:50:51.09489+08:00 INFO [22060,639b8782c450f02c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=639b8782c450f02c, duration=71.195757ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12643061}]}] 2023-05-15T15:50:52.0179+08:00 INFO [22060,fcf40373212abb1a] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcf40373212abb1a, body=] 2023-05-15T15:50:52.01797+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:50:52.01803+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:50:52.01806+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:50:52.02138+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:50:52.02149+08:00 INFO [22060,fcf40373212abb1a] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fcf40373212abb1a, duration=3.486131ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:51:52.23668+08:00 INFO [22060,ac7f8b6013f69ab4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac7f8b6013f69ab4, body=] 2023-05-15T15:51:52.23688+08:00 INFO [22060,ac7f8b6013f69ab4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ac7f8b6013f69ab4, duration=4.534µs, status=200, data=2023-05-15 15:51:52.236821105 +0800 CST m=+12703.441205137] 2023-05-15T15:51:52.60941+08:00 INFO [22060,fbf9f3e73ba2914d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbf9f3e73ba2914d, body={"processName":"ocp_mgragent"}] 2023-05-15T15:51:52.65085+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.216µs" 2023-05-15T15:51:52.67863+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.848513ms 2023-05-15T15:51:52.67873+08:00 INFO [22060,fbf9f3e73ba2914d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12704650}]" 2023-05-15T15:51:52.67881+08:00 INFO [22060,fbf9f3e73ba2914d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fbf9f3e73ba2914d, duration=69.303535ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12704650}]}] 2023-05-15T15:51:52.79098+08:00 INFO [22060,2d8541b18a571656] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d8541b18a571656, body={"processName":"ocp_monagent"}] 2023-05-15T15:51:52.82723+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.137µs" 2023-05-15T15:51:52.85375+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.574482ms 2023-05-15T15:51:52.85385+08:00 INFO [22060,2d8541b18a571656] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12704827}]" 2023-05-15T15:51:52.85394+08:00 INFO [22060,2d8541b18a571656] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2d8541b18a571656, duration=62.857223ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12704827}]}] 2023-05-15T15:51:53.04054+08:00 INFO [22060,625443fc734a8b00] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=625443fc734a8b00, body={"processName":"ocp_agentd"}] 2023-05-15T15:51:53.07628+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="48.402µs" 2023-05-15T15:51:53.10295+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.717927ms 2023-05-15T15:51:53.10303+08:00 INFO [22060,625443fc734a8b00] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12705076}]" 2023-05-15T15:51:53.10312+08:00 INFO [22060,625443fc734a8b00] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=625443fc734a8b00, duration=62.461895ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12705076}]}] 2023-05-15T15:51:53.78028+08:00 INFO [22060,8397a3ac9d63e1bc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8397a3ac9d63e1bc, body=] 2023-05-15T15:51:53.78037+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:51:53.78041+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:51:53.78044+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:51:53.78387+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:51:53.78396+08:00 INFO [22060,8397a3ac9d63e1bc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8397a3ac9d63e1bc, duration=3.572409ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:52:53.9968+08:00 INFO [22060,0f17909b2dd5d3f0] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f17909b2dd5d3f0, body=] 2023-05-15T15:52:53.99694+08:00 INFO [22060,0f17909b2dd5d3f0] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f17909b2dd5d3f0, duration=5.987µs, status=200, data=2023-05-15 15:52:53.99690647 +0800 CST m=+12765.201290502] 2023-05-15T15:52:54.18453+08:00 INFO [22060,eb0787b46e161e29] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb0787b46e161e29, body={"processName":"ocp_mgragent"}] 2023-05-15T15:52:54.21929+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="66.144µs" 2023-05-15T15:52:54.24461+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=25.387394ms 2023-05-15T15:52:54.24471+08:00 INFO [22060,eb0787b46e161e29] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766218}]" 2023-05-15T15:52:54.24481+08:00 INFO [22060,eb0787b46e161e29] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=eb0787b46e161e29, duration=60.166102ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766218}]}] 2023-05-15T15:52:54.44252+08:00 INFO [22060,3d1a42a95ad2d09d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d1a42a95ad2d09d, body={"processName":"ocp_monagent"}] 2023-05-15T15:52:54.48162+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="67.947µs" 2023-05-15T15:52:54.50716+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.591087ms 2023-05-15T15:52:54.50727+08:00 INFO [22060,3d1a42a95ad2d09d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766481}]" 2023-05-15T15:52:54.50737+08:00 INFO [22060,3d1a42a95ad2d09d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d1a42a95ad2d09d, duration=64.744323ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766481}]}] 2023-05-15T15:52:54.7094+08:00 INFO [22060,dacd733b2f353e1d] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dacd733b2f353e1d, body={"processName":"ocp_agentd"}] 2023-05-15T15:52:54.74372+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="44.98µs" 2023-05-15T15:52:54.77301+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=29.340979ms 2023-05-15T15:52:54.77309+08:00 INFO [22060,dacd733b2f353e1d] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766743}]" 2023-05-15T15:52:54.77318+08:00 INFO [22060,dacd733b2f353e1d] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=dacd733b2f353e1d, duration=63.668829ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12766743}]}] 2023-05-15T15:52:55.72706+08:00 INFO [22060,769a08eee70d93f9] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=769a08eee70d93f9, body=] 2023-05-15T15:52:55.72715+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:52:55.72719+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:52:55.72722+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:52:55.72988+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:52:55.72996+08:00 INFO [22060,769a08eee70d93f9] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=769a08eee70d93f9, duration=2.794817ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:53:55.93717+08:00 INFO [22060,21e362e4e9df385e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21e362e4e9df385e, body=] 2023-05-15T15:53:55.93732+08:00 INFO [22060,21e362e4e9df385e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=21e362e4e9df385e, duration=5.242µs, status=200, data=2023-05-15 15:53:55.937290139 +0800 CST m=+12827.141674175] 2023-05-15T15:53:56.14971+08:00 INFO [22060,4e9e0e83b70c4437] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e9e0e83b70c4437, body={"processName":"ocp_mgragent"}] 2023-05-15T15:53:56.18869+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="109.123µs" 2023-05-15T15:53:56.21503+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.444856ms 2023-05-15T15:53:56.21512+08:00 INFO [22060,4e9e0e83b70c4437] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828186}]" 2023-05-15T15:53:56.21531+08:00 INFO [22060,4e9e0e83b70c4437] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4e9e0e83b70c4437, duration=65.395663ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828186}]}] 2023-05-15T15:53:56.32639+08:00 INFO [22060,fa7fd4c9cf951b3c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa7fd4c9cf951b3c, body={"processName":"ocp_monagent"}] 2023-05-15T15:53:56.36547+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.2µs" 2023-05-15T15:53:56.39135+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.934607ms 2023-05-15T15:53:56.39146+08:00 INFO [22060,fa7fd4c9cf951b3c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828365}]" 2023-05-15T15:53:56.39156+08:00 INFO [22060,fa7fd4c9cf951b3c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=fa7fd4c9cf951b3c, duration=65.036842ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828365}]}] 2023-05-15T15:53:56.58431+08:00 INFO [22060,41a8140fd7a49e5a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41a8140fd7a49e5a, body={"processName":"ocp_agentd"}] 2023-05-15T15:53:56.62357+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="200.437µs" 2023-05-15T15:53:56.65362+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.247735ms 2023-05-15T15:53:56.65371+08:00 INFO [22060,41a8140fd7a49e5a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828623}]" 2023-05-15T15:53:56.6538+08:00 INFO [22060,41a8140fd7a49e5a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=41a8140fd7a49e5a, duration=69.393845ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12828623}]}] 2023-05-15T15:53:57.44412+08:00 INFO [22060,05c0ad0959ff11bc] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05c0ad0959ff11bc, body=] 2023-05-15T15:53:57.4442+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:53:57.44425+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:53:57.44428+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:53:57.44773+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:53:57.44785+08:00 INFO [22060,05c0ad0959ff11bc] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=05c0ad0959ff11bc, duration=3.612651ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:54:57.67261+08:00 INFO [22060,9060d3fac347bf69] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9060d3fac347bf69, body=] 2023-05-15T15:54:57.67275+08:00 INFO [22060,9060d3fac347bf69] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9060d3fac347bf69, duration=4.519µs, status=200, data=2023-05-15 15:54:57.672727655 +0800 CST m=+12888.877111684] 2023-05-15T15:54:57.95854+08:00 INFO [22060,c45e0f228a5fa67f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c45e0f228a5fa67f, body={"processName":"ocp_mgragent"}] 2023-05-15T15:54:57.99264+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="49.951µs" 2023-05-15T15:54:58.02053+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.942743ms 2023-05-15T15:54:58.02063+08:00 INFO [22060,c45e0f228a5fa67f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12889992}]" 2023-05-15T15:54:58.02072+08:00 INFO [22060,c45e0f228a5fa67f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c45e0f228a5fa67f, duration=62.075477ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12889992}]}] 2023-05-15T15:54:58.17861+08:00 INFO [22060,47ac68eae91855c4] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=47ac68eae91855c4, body={"processName":"ocp_monagent"}] 2023-05-15T15:54:58.21159+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="63.9µs" 2023-05-15T15:54:58.23857+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.048611ms 2023-05-15T15:54:58.23866+08:00 INFO [22060,47ac68eae91855c4] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12890211}]" 2023-05-15T15:54:58.23875+08:00 INFO [22060,47ac68eae91855c4] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=47ac68eae91855c4, duration=60.021185ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12890211}]}] 2023-05-15T15:54:58.3066+08:00 INFO [22060,b8d1671fbd2fe8b3] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b8d1671fbd2fe8b3, body={"processName":"ocp_agentd"}] 2023-05-15T15:54:58.34679+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.038µs" 2023-05-15T15:54:58.37828+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=31.53971ms 2023-05-15T15:54:58.37837+08:00 INFO [22060,b8d1671fbd2fe8b3] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12890346}]" 2023-05-15T15:54:58.37845+08:00 INFO [22060,b8d1671fbd2fe8b3] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b8d1671fbd2fe8b3, duration=71.740585ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12890346}]}] 2023-05-15T15:54:59.01735+08:00 INFO [22060,08f35c078519e1c4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08f35c078519e1c4, body=] 2023-05-15T15:54:59.01746+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:54:59.01752+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:54:59.01755+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:54:59.03743+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:54:59.03753+08:00 INFO [22060,08f35c078519e1c4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08f35c078519e1c4, duration=20.050977ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:55:59.1817+08:00 INFO [22060,5d0c62a9ee7f39ab] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5d0c62a9ee7f39ab, body=] 2023-05-15T15:55:59.18179+08:00 INFO [22060,5d0c62a9ee7f39ab] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5d0c62a9ee7f39ab, duration=4.232µs, status=200, data=2023-05-15 15:55:59.181777502 +0800 CST m=+12950.386161530] 2023-05-15T15:55:59.31371+08:00 INFO [22060,45429b9ce775a7d0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45429b9ce775a7d0, body={"processName":"ocp_mgragent"}] 2023-05-15T15:55:59.35199+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="50.382µs" 2023-05-15T15:55:59.37916+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=27.213241ms 2023-05-15T15:55:59.37924+08:00 INFO [22060,45429b9ce775a7d0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951350}]" 2023-05-15T15:55:59.37932+08:00 INFO [22060,45429b9ce775a7d0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=45429b9ce775a7d0, duration=65.490274ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951350}]}] 2023-05-15T15:55:59.45983+08:00 INFO [22060,1f96cb8c4a50eb18] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f96cb8c4a50eb18, body={"processName":"ocp_monagent"}] 2023-05-15T15:55:59.49856+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="47.974µs" 2023-05-15T15:55:59.53169+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=33.176445ms 2023-05-15T15:55:59.53179+08:00 INFO [22060,1f96cb8c4a50eb18] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951498}]" 2023-05-15T15:55:59.53188+08:00 INFO [22060,1f96cb8c4a50eb18] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1f96cb8c4a50eb18, duration=71.888555ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951498}]}] 2023-05-15T15:55:59.62481+08:00 INFO [22060,0b71f1535414f560] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b71f1535414f560, body={"processName":"ocp_agentd"}] 2023-05-15T15:55:59.6597+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="46.299µs" 2023-05-15T15:55:59.6898+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=30.151859ms 2023-05-15T15:55:59.68989+08:00 INFO [22060,0b71f1535414f560] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951659}]" 2023-05-15T15:55:59.68996+08:00 INFO [22060,0b71f1535414f560] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0b71f1535414f560, duration=65.036919ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 12951659}]}] 2023-05-15T15:56:00.67755+08:00 INFO [22060,49eb752c1d9d6a64] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=49eb752c1d9d6a64, body=] 2023-05-15T15:56:00.67762+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:56:00.67769+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:56:00.67772+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:56:00.68099+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:56:00.68111+08:00 INFO [22060,49eb752c1d9d6a64] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=49eb752c1d9d6a64, duration=3.454489ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:57:00.81838+08:00 INFO [22060,3112390efa014106] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3112390efa014106, body=] 2023-05-15T15:57:00.81847+08:00 INFO [22060,3112390efa014106] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3112390efa014106, duration=3.895µs, status=200, data=2023-05-15 15:57:00.818449354 +0800 CST m=+13012.022833382] 2023-05-15T15:57:01.04541+08:00 INFO [22060,2ff28891030e154f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2ff28891030e154f, body={"processName":"ocp_mgragent"}] 2023-05-15T15:57:01.08195+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="105.295µs" 2023-05-15T15:57:01.11012+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.288136ms 2023-05-15T15:57:01.11026+08:00 INFO [22060,2ff28891030e154f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013081}]" 2023-05-15T15:57:01.11041+08:00 INFO [22060,2ff28891030e154f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2ff28891030e154f, duration=64.885131ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013081}]}] 2023-05-15T15:57:01.30939+08:00 INFO [22060,48c24fbb9dd18dbf] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48c24fbb9dd18dbf, body={"processName":"ocp_monagent"}] 2023-05-15T15:57:01.34222+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.022µs" 2023-05-15T15:57:01.36666+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=24.485479ms 2023-05-15T15:57:01.36674+08:00 INFO [22060,48c24fbb9dd18dbf] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013342}]" 2023-05-15T15:57:01.36682+08:00 INFO [22060,48c24fbb9dd18dbf] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48c24fbb9dd18dbf, duration=57.323677ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013342}]}] 2023-05-15T15:57:01.47829+08:00 INFO [22060,65aa0bcc361e9568] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65aa0bcc361e9568, body={"processName":"ocp_agentd"}] 2023-05-15T15:57:01.51445+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="63.434µs" 2023-05-15T15:57:01.55026+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=35.869388ms 2023-05-15T15:57:01.55035+08:00 INFO [22060,65aa0bcc361e9568] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013514}]" 2023-05-15T15:57:01.55048+08:00 INFO [22060,65aa0bcc361e9568] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=65aa0bcc361e9568, duration=72.034274ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13013514}]}] 2023-05-15T15:57:02.47523+08:00 INFO [22060,7692582801e048d2] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7692582801e048d2, body=] 2023-05-15T15:57:02.4753+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:57:02.47535+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:57:02.47538+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:57:02.47841+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:57:02.4785+08:00 INFO [22060,7692582801e048d2] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7692582801e048d2, duration=3.173715ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:57:31.16212+08:00 INFO [22060,ff6a2458d1e04835] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff6a2458d1e04835, body={"processName":"observer"}] 2023-05-15T15:57:31.20555+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="68.779µs" 2023-05-15T15:57:31.27543+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=69.940753ms 2023-05-15T15:57:31.27569+08:00 INFO [22060,ff6a2458d1e04835] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7478205}]" 2023-05-15T15:57:31.27578+08:00 INFO [22060,ff6a2458d1e04835] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ff6a2458d1e04835, duration=113.537882ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7478205}]}] 2023-05-15T15:58:02.57907+08:00 INFO [22060,cb29b3f5dbdcc2fd] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb29b3f5dbdcc2fd, body=] 2023-05-15T15:58:02.57918+08:00 INFO [22060,cb29b3f5dbdcc2fd] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=cb29b3f5dbdcc2fd, duration=3.86µs, status=200, data=2023-05-15 15:58:02.579159322 +0800 CST m=+13073.783543352] 2023-05-15T15:58:02.71355+08:00 INFO [22060,4a78997bd2b2b92c] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a78997bd2b2b92c, body={"processName":"ocp_mgragent"}] 2023-05-15T15:58:02.75842+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="62.703µs" 2023-05-15T15:58:02.78653+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.169341ms 2023-05-15T15:58:02.78663+08:00 INFO [22060,4a78997bd2b2b92c] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13074758}]" 2023-05-15T15:58:02.78673+08:00 INFO [22060,4a78997bd2b2b92c] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4a78997bd2b2b92c, duration=73.05732ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13074758}]}] 2023-05-15T15:58:02.88542+08:00 INFO [22060,48c2a6af9150e628] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48c2a6af9150e628, body={"processName":"ocp_monagent"}] 2023-05-15T15:58:02.92298+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="64.854µs" 2023-05-15T15:58:02.94842+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=25.504459ms 2023-05-15T15:58:02.94854+08:00 INFO [22060,48c2a6af9150e628] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13074922}]" 2023-05-15T15:58:02.94863+08:00 INFO [22060,48c2a6af9150e628] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=48c2a6af9150e628, duration=63.109087ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13074922}]}] 2023-05-15T15:58:03.06919+08:00 INFO [22060,38dc196889812ae1] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38dc196889812ae1, body={"processName":"ocp_agentd"}] 2023-05-15T15:58:03.10955+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.966µs" 2023-05-15T15:58:03.13606+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.560096ms 2023-05-15T15:58:03.13614+08:00 INFO [22060,38dc196889812ae1] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13075109}]" 2023-05-15T15:58:03.13622+08:00 INFO [22060,38dc196889812ae1] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=38dc196889812ae1, duration=66.933783ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13075109}]}] 2023-05-15T15:58:03.75481+08:00 INFO [22060,7c4ef9b318588006] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c4ef9b318588006, body=] 2023-05-15T15:58:03.75489+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:58:03.75494+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:58:03.75496+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:58:03.75873+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:58:03.75884+08:00 INFO [22060,7c4ef9b318588006] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7c4ef9b318588006, duration=3.915471ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T15:59:03.85119+08:00 INFO [22060,ffd77b0018d1eb73] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ffd77b0018d1eb73, body=] 2023-05-15T15:59:03.8513+08:00 INFO [22060,ffd77b0018d1eb73] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ffd77b0018d1eb73, duration=8.299µs, status=200, data=2023-05-15 15:59:03.851272681 +0800 CST m=+13135.055656710] 2023-05-15T15:59:04.02409+08:00 INFO [22060,5d8f534215d22126] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5d8f534215d22126, body={"processName":"ocp_mgragent"}] 2023-05-15T15:59:04.05926+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="52.591µs" 2023-05-15T15:59:04.09402+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=34.820261ms 2023-05-15T15:59:04.09411+08:00 INFO [22060,5d8f534215d22126] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136059}]" 2023-05-15T15:59:04.0942+08:00 INFO [22060,5d8f534215d22126] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5d8f534215d22126, duration=70.006723ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136059}]}] 2023-05-15T15:59:04.24435+08:00 INFO [22060,e6841c2c2e835738] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e6841c2c2e835738, body={"processName":"ocp_monagent"}] 2023-05-15T15:59:04.27955+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="48.673µs" 2023-05-15T15:59:04.30733+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.834931ms 2023-05-15T15:59:04.30741+08:00 INFO [22060,e6841c2c2e835738] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136279}]" 2023-05-15T15:59:04.30749+08:00 INFO [22060,e6841c2c2e835738] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e6841c2c2e835738, duration=63.030165ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136279}]}] 2023-05-15T15:59:04.39477+08:00 INFO [22060,b1fd69f46e530be7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1fd69f46e530be7, body={"processName":"ocp_agentd"}] 2023-05-15T15:59:04.42856+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="47.278µs" 2023-05-15T15:59:04.45283+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.325389ms 2023-05-15T15:59:04.45293+08:00 INFO [22060,b1fd69f46e530be7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136428}]" 2023-05-15T15:59:04.45302+08:00 INFO [22060,b1fd69f46e530be7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b1fd69f46e530be7, duration=58.142825ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13136428}]}] 2023-05-15T15:59:05.12668+08:00 INFO [22060,f349af6fda2e53bf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f349af6fda2e53bf, body=] 2023-05-15T15:59:05.12676+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T15:59:05.1272+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T15:59:05.12724+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T15:59:05.13228+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T15:59:05.13235+08:00 INFO [22060,f349af6fda2e53bf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f349af6fda2e53bf, duration=5.577887ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:00:05.45677+08:00 INFO [22060,043db37c58bed9b4] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=043db37c58bed9b4, body=] 2023-05-15T16:00:05.45688+08:00 INFO [22060,043db37c58bed9b4] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=043db37c58bed9b4, duration=4.341µs, status=200, data=2023-05-15 16:00:05.456847614 +0800 CST m=+13196.661231643] 2023-05-15T16:00:05.85928+08:00 INFO [22060,2e21c602cb83d8b0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2e21c602cb83d8b0, body={"processName":"ocp_mgragent"}] 2023-05-15T16:00:05.89589+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="57.583µs" 2023-05-15T16:00:05.92256+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=26.723265ms 2023-05-15T16:00:05.92265+08:00 INFO [22060,2e21c602cb83d8b0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13197895}]" 2023-05-15T16:00:05.92273+08:00 INFO [22060,2e21c602cb83d8b0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2e21c602cb83d8b0, duration=63.34369ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13197895}]}] 2023-05-15T16:00:06.19709+08:00 INFO [22060,84aab4ed35d4c626] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84aab4ed35d4c626, body={"processName":"ocp_monagent"}] 2023-05-15T16:00:06.2339+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="59.944µs" 2023-05-15T16:00:06.26092+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=27.087024ms 2023-05-15T16:00:06.26102+08:00 INFO [22060,84aab4ed35d4c626] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13198233}]" 2023-05-15T16:00:06.2611+08:00 INFO [22060,84aab4ed35d4c626] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=84aab4ed35d4c626, duration=63.909477ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13198233}]}] 2023-05-15T16:00:06.42175+08:00 INFO [22060,b3b8625b93e942b7] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3b8625b93e942b7, body={"processName":"ocp_agentd"}] 2023-05-15T16:00:06.45881+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="49.307µs" 2023-05-15T16:00:06.48479+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=26.033012ms 2023-05-15T16:00:06.48488+08:00 INFO [22060,b3b8625b93e942b7] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13198458}]" 2023-05-15T16:00:06.48496+08:00 INFO [22060,b3b8625b93e942b7] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b3b8625b93e942b7, duration=63.106097ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13198458}]}] 2023-05-15T16:00:07.37961+08:00 INFO [22060,82fd58fe6dade478] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82fd58fe6dade478, body=] 2023-05-15T16:00:07.37969+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:00:07.37974+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:00:07.37977+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:00:07.38257+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:00:07.38264+08:00 INFO [22060,82fd58fe6dade478] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=82fd58fe6dade478, duration=2.936855ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:01:00.22207+08:00 INFO [22060,6b6acf5a7ae54b60] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b6acf5a7ae54b60, body={"processName":"observer"}] 2023-05-15T16:01:00.25866+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="99.335µs" 2023-05-15T16:01:00.30927+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=50.713251ms 2023-05-15T16:01:00.30939+08:00 INFO [22060,6b6acf5a7ae54b60] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7687258}]" 2023-05-15T16:01:00.30947+08:00 INFO [22060,6b6acf5a7ae54b60] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=6b6acf5a7ae54b60, duration=87.301125ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7687258}]}] 2023-05-15T16:01:02.0471+08:00 INFO [22060,8a1870d4d2ae40df] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a1870d4d2ae40df, body={"processName":"observer"}] 2023-05-15T16:01:02.08802+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="74.659µs" 2023-05-15T16:01:02.14181+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=53.869183ms 2023-05-15T16:01:02.14194+08:00 INFO [22060,8a1870d4d2ae40df] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7689087}]" 2023-05-15T16:01:02.14201+08:00 INFO [22060,8a1870d4d2ae40df] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=8a1870d4d2ae40df, duration=94.808569ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7689087}]}] 2023-05-15T16:01:07.52762+08:00 INFO [22060,f92d534673c55dff] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f92d534673c55dff, body=] 2023-05-15T16:01:07.52772+08:00 INFO [22060,f92d534673c55dff] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f92d534673c55dff, duration=4.163µs, status=200, data=2023-05-15 16:01:07.527700005 +0800 CST m=+13258.732084034] 2023-05-15T16:01:07.6707+08:00 INFO [22060,e293ca5fe569c805] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e293ca5fe569c805, body={"processName":"ocp_mgragent"}] 2023-05-15T16:01:07.71208+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration="46.793µs" 2023-05-15T16:01:07.74037+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22060/' || true; }, timeout=10s} fields: duration=28.343025ms 2023-05-15T16:01:07.74046+08:00 INFO [22060,e293ca5fe569c805] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13259711}]" 2023-05-15T16:01:07.74054+08:00 INFO [22060,e293ca5fe569c805] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e293ca5fe569c805, duration=69.707555ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22060, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13259711}]}] 2023-05-15T16:01:07.95149+08:00 INFO [22060,3d00120d3fad38af] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d00120d3fad38af, body={"processName":"ocp_monagent"}] 2023-05-15T16:01:07.9902+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration="51.762µs" 2023-05-15T16:01:08.01645+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22061/' || true; }, timeout=10s} fields: duration=26.307886ms 2023-05-15T16:01:08.01656+08:00 INFO [22060,3d00120d3fad38af] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13259990}]" 2023-05-15T16:01:08.01669+08:00 INFO [22060,3d00120d3fad38af] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3d00120d3fad38af, duration=65.095806ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22061, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13259990}]}] 2023-05-15T16:01:08.12399+08:00 INFO [22060,c21dbd836dbf63f9] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c21dbd836dbf63f9, body={"processName":"ocp_agentd"}] 2023-05-15T16:01:08.16177+08:00 INFO [22060,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration="148.217µs" 2023-05-15T16:01:08.1865+08:00 INFO [22060,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '22054/' || true; }, timeout=10s} fields: duration=24.885126ms 2023-05-15T16:01:08.18659+08:00 INFO [22060,c21dbd836dbf63f9] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13260161}]" 2023-05-15T16:01:08.18666+08:00 INFO [22060,c21dbd836dbf63f9] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c21dbd836dbf63f9, duration=62.576865ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 22054, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 12:20:08 +0800 CST, elapsedTime: 13260161}]}] 2023-05-15T16:01:08.66062+08:00 INFO [22060,33f3a26a153a23ca] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=33f3a26a153a23ca, body=] 2023-05-15T16:01:08.66071+08:00 INFO [22060,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:01:08.66076+08:00 INFO [22060,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:01:08.66078+08:00 INFO [22060,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:01:08.66353+08:00 INFO [22060,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:01:08.6636+08:00 INFO [22060,33f3a26a153a23ca] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=33f3a26a153a23ca, duration=2.877218ms, status=200, data={State:running Ready:true Version: Pid:22054 Socket:/home/admin/ocp_agent/run/ocp_agentd.22054.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:22060 StartAt:1684124408807202799} Socket:/home/admin/ocp_agent/run/ocp_mgragent.22060.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:22061 StartAt:1684124408810125041} Socket:/home/admin/ocp_agent/run/ocp_monagent.22061.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:01:43.58337+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.58348+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=4.614µs, status=200, data=2023-05-15 16:01:43.583457319 +0800 CST m=+13294.787841348] 2023-05-15T16:01:43.58458+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.58466+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=3.912µs, status=200, data=2023-05-15 16:01:43.584646134 +0800 CST m=+13294.789030164] 2023-05-15T16:01:43.59026+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.59038+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=3.347µs, status=200, data=2023-05-15 16:01:43.590330113 +0800 CST m=+13294.794714142] 2023-05-15T16:01:43.59132+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.59138+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=2.363µs, status=200, data=2023-05-15 16:01:43.591374522 +0800 CST m=+13294.795758552] 2023-05-15T16:01:43.59199+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.59203+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=2.153µs, status=200, data=2023-05-15 16:01:43.592029674 +0800 CST m=+13294.796413703] 2023-05-15T16:01:43.59259+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.59264+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=2.49µs, status=200, data=2023-05-15 16:01:43.592633045 +0800 CST m=+13294.797017073] 2023-05-15T16:01:43.59424+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, body=] 2023-05-15T16:01:43.59427+08:00 INFO [22060,3cb531458d0f422f] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=3cb531458d0f422f, duration=2.09µs, status=200, data=2023-05-15 16:01:43.594269505 +0800 CST m=+13294.798653533] 2023-05-15T16:01:43.78004+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78015+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=4.44µs, status=200, data=2023-05-15 16:01:43.78012596 +0800 CST m=+13294.984509991] 2023-05-15T16:01:43.78205+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78212+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=3.364µs, status=200, data=2023-05-15 16:01:43.782110036 +0800 CST m=+13294.986494066] 2023-05-15T16:01:43.78275+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78281+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=13.367µs, status=200, data=2023-05-15 16:01:43.782793287 +0800 CST m=+13294.987177317] 2023-05-15T16:01:43.78333+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.7834+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=2.959µs, status=200, data=2023-05-15 16:01:43.783386485 +0800 CST m=+13294.987770528] 2023-05-15T16:01:43.7839+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78395+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=2.1µs, status=200, data=2023-05-15 16:01:43.783932987 +0800 CST m=+13294.988317017] 2023-05-15T16:01:43.7845+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78454+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=2.221µs, status=200, data=2023-05-15 16:01:43.78453192 +0800 CST m=+13294.988915949] 2023-05-15T16:01:43.78514+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, body=] 2023-05-15T16:01:43.78518+08:00 INFO [22060,74071b13eb0c4f57] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=74071b13eb0c4f57, duration=1.748µs, status=200, data=2023-05-15 16:01:43.78517542 +0800 CST m=+13294.989559449] 2023-05-15T16:01:53.8256+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, body=] 2023-05-15T16:01:53.82569+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, duration=4.305µs, status=200, data=2023-05-15 16:01:53.825680525 +0800 CST m=+13305.030064554] 2023-05-15T16:01:54.08835+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/agent/restart, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, body={"taskToken":"57798b76-157b-4450-aa6c-0fa13e539b82"}] 2023-05-15T16:01:54.09719+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/agent/restart, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, duration=8.739348ms, status=200, data={TaskToken:57798b76-157b-4450-aa6c-0fa13e539b82}] 2023-05-15T16:01:54.10195+08:00 INFO [22060,] caller=mgragent/agent_handler.go:25:func3: restarting agent 2023-05-15T16:01:54.10204+08:00 INFO [22060,] caller=agent/agentctl.go:50:Restart: execute agentctl '/home/admin/ocp_agent/bin/ocp_agentctl' [restart --task-token=57798b76-157b-4450-aa6c-0fa13e539b82] 2023-05-15T16:01:54.28957+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, body={"taskToken":"57798b76-157b-4450-aa6c-0fa13e539b82"}] 2023-05-15T16:01:54.28971+08:00 INFO [22060,4260fa6d2b9e4fe5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, duration=60.631µs, status=200, data={Finished:false Ok:false Result: Err: Progress:}] 2023-05-15T16:01:55.20187+08:00 INFO [22060,68ac67202643471a] caller=mgragent/main.go:50:run: signal 'terminated' received. exiting... 2023-05-15T16:01:55.20208+08:00 FATAL [22060,] caller=runtime/asm_amd64.s:1371:goexit: serve on tcp listener failed fields: error="http: Server closed" cleaner is disabled 2023-05-15T16:01:54.25816+08:00 INFO [16084,c6fb489bdb42c2fd] caller=config/config_version.go:34:SetConfigMetaModuleConfigNotify: receive version backup conf: {MaxBackups:30} 2023-05-15T16:01:54.25906+08:00 INFO [16084,c6fb489bdb42c2fd] caller=mgragent/main.go:40:run: starting ocp manager agent, version 3.3.0-20220427 2023-05-15T16:01:54.2591+08:00 INFO [16084,c6fb489bdb42c2fd] caller=mgragent/main.go:41:run: agent running in release mode 2023-05-15T16:01:54.2598+08:00 INFO [16084,c6fb489bdb42c2fd] caller=runtime/asm_amd64.s:1371:goexit: check config version backups once. 2023-05-15T16:01:54.26014+08:00 INFO [16084,c6fb489bdb42c2fd] caller=config/config_version.go:89:checkConfigVersionBackups: read config from path /home/admin/ocp_agent/conf, files length 9 2023-05-15T16:01:54.26021+08:00 INFO [16084,c6fb489bdb42c2fd] caller=config/config_version.go:105:checkConfigVersionBackups: config stay count:30, config version count:1, no need to rotate. 2023-05-15T16:01:58.75624+08:00 INFO [16084,4260fa6d2b9e4fe5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, body={"taskToken":"57798b76-157b-4450-aa6c-0fa13e539b82"}] 2023-05-15T16:01:58.75678+08:00 INFO [16084,4260fa6d2b9e4fe5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, duration=389.032µs, status=200, data={Finished:false Ok:false Result: Err: Progress:[map[name:restartAgent status:start timestamp:1.6841377141765018e+18] map[name:backupPid status:start timestamp:1.684137714178401e+18] map[name:backupPid status:ok timestamp:1.684137714179488e+18] map[name:confirmCanSignal status:start timestamp:1.684137714182242e+18] map[name:confirmCanSignal status:ok timestamp:1.6841377141851587e+18] map[name:startAgent status:start timestamp:1.684137714185898e+18] map[name:startAgent status:ok timestamp:1.6841377151946263e+18] map[name:stopAgentPid status:start timestamp:1.684137715195498e+18]]}] 2023-05-15T16:02:01.80616+08:00 INFO [16084,4260fa6d2b9e4fe5] caller=common/middleware.go:59:func1: API request: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, body={"taskToken":"57798b76-157b-4450-aa6c-0fa13e539b82"}] 2023-05-15T16:02:01.80644+08:00 INFO [16084,4260fa6d2b9e4fe5] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/task/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4260fa6d2b9e4fe5, duration=142.591µs, status=200, data={Finished:true Ok:true Result:true Err: Progress:[map[name:restartAgent status:start timestamp:1.6841377141765018e+18] map[name:backupPid status:start timestamp:1.684137714178401e+18] map[name:backupPid status:ok timestamp:1.684137714179488e+18] map[name:confirmCanSignal status:start timestamp:1.684137714182242e+18] map[name:confirmCanSignal status:ok timestamp:1.6841377141851587e+18] map[name:startAgent status:start timestamp:1.684137714185898e+18] map[name:startAgent status:ok timestamp:1.6841377151946263e+18] map[name:stopAgentPid status:start timestamp:1.684137715195498e+18] map[name:stopAgentPid status:ok timestamp:1.6841377191990316e+18] map[name:restartAgent status:ok timestamp:1.6841377191999037e+18]]}] 2023-05-15T16:02:09.20649+08:00 INFO [16084,9f3179d8584a5f16] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3179d8584a5f16, body=] 2023-05-15T16:02:09.20659+08:00 INFO [16084,9f3179d8584a5f16] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9f3179d8584a5f16, duration=4.373µs, status=200, data=2023-05-15 16:02:09.206575853 +0800 CST m=+14.998177820] 2023-05-15T16:02:09.4016+08:00 INFO [16084,9c2f6014f0fff73a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c2f6014f0fff73a, body={"processName":"ocp_mgragent"}] 2023-05-15T16:02:09.43842+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration="54.195µs" 2023-05-15T16:02:09.46293+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration=24.574273ms 2023-05-15T16:02:09.46308+08:00 INFO [16084,9c2f6014f0fff73a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16437}]" 2023-05-15T16:02:09.46317+08:00 INFO [16084,9c2f6014f0fff73a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=9c2f6014f0fff73a, duration=61.46661ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16437}]}] 2023-05-15T16:02:09.60794+08:00 INFO [16084,e9f9acddc04eca5b] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e9f9acddc04eca5b, body={"processName":"ocp_monagent"}] 2023-05-15T16:02:09.64584+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration="106.883µs" 2023-05-15T16:02:09.67151+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration=25.770826ms 2023-05-15T16:02:09.67161+08:00 INFO [16084,e9f9acddc04eca5b] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16645}]" 2023-05-15T16:02:09.67174+08:00 INFO [16084,e9f9acddc04eca5b] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=e9f9acddc04eca5b, duration=63.684693ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16645}]}] 2023-05-15T16:02:09.79267+08:00 INFO [16084,4d04708818ff66cb] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d04708818ff66cb, body={"processName":"ocp_agentd"}] 2023-05-15T16:02:09.82672+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration="48.431µs" 2023-05-15T16:02:09.85525+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration=28.585089ms 2023-05-15T16:02:09.85534+08:00 INFO [16084,4d04708818ff66cb] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16826}]" 2023-05-15T16:02:09.85542+08:00 INFO [16084,4d04708818ff66cb] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=4d04708818ff66cb, duration=62.652176ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 16826}]}] 2023-05-15T16:02:10.7081+08:00 INFO [16084,f0ca1e23abd1f1b3] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0ca1e23abd1f1b3, body=] 2023-05-15T16:02:10.70818+08:00 INFO [16084,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:02:10.70825+08:00 INFO [16084,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:02:10.7083+08:00 INFO [16084,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:02:10.71151+08:00 INFO [16084,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:02:10.71158+08:00 INFO [16084,f0ca1e23abd1f1b3] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=f0ca1e23abd1f1b3, duration=3.394142ms, status=200, data={State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:02:26.71709+08:00 INFO [16084,bc8012abd94a4b8f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc8012abd94a4b8f, body={"processName":"observer"}] 2023-05-15T16:02:26.75964+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="62.048µs" 2023-05-15T16:02:26.81449+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=54.914712ms 2023-05-15T16:02:26.81461+08:00 INFO [16084,bc8012abd94a4b8f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7773759}]" 2023-05-15T16:02:26.81468+08:00 INFO [16084,bc8012abd94a4b8f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=bc8012abd94a4b8f, duration=97.474716ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7773759}]}] 2023-05-15T16:02:28.48026+08:00 INFO [16084,325039d9e4734118] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=325039d9e4734118, body={"processName":"observer"}] 2023-05-15T16:02:28.51599+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="92.647µs" 2023-05-15T16:02:28.56602+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=50.122569ms 2023-05-15T16:02:28.56612+08:00 INFO [16084,325039d9e4734118] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7775515}]" 2023-05-15T16:02:28.56619+08:00 INFO [16084,325039d9e4734118] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=325039d9e4734118, duration=85.839803ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7775515}]}] 2023-05-15T16:02:32.86762+08:00 INFO [16084,88fbd153eef9433a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=88fbd153eef9433a, body={"processName":"observer"}] 2023-05-15T16:02:32.90423+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration="55.213µs" 2023-05-15T16:02:32.9563+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=admin, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '27878/' || true; }, timeout=10s} fields: duration=52.130157ms 2023-05-15T16:02:32.95641+08:00 INFO [16084,88fbd153eef9433a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=observer, processes="[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7779901}]" 2023-05-15T16:02:32.95648+08:00 INFO [16084,88fbd153eef9433a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=88fbd153eef9433a, duration=88.758184ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 27878, name: observer, cmdLine: ./bin/observer, username: admin, createTime: 2023-05-15 13:52:53 +0800 CST, elapsedTime: 7779901}]}] 2023-05-15T16:03:10.82948+08:00 INFO [16084,19d27b81bd783f4e] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=19d27b81bd783f4e, body=] 2023-05-15T16:03:10.8296+08:00 INFO [16084,19d27b81bd783f4e] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=19d27b81bd783f4e, duration=5.589µs, status=200, data=2023-05-15 16:03:10.829576912 +0800 CST m=+76.621178886] 2023-05-15T16:03:10.98129+08:00 INFO [16084,991d6e1cb5ec1e2a] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=991d6e1cb5ec1e2a, body={"processName":"ocp_mgragent"}] 2023-05-15T16:03:11.01958+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration="47.722µs" 2023-05-15T16:03:11.05348+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration=33.949802ms 2023-05-15T16:03:11.05358+08:00 INFO [16084,991d6e1cb5ec1e2a] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78019}]" 2023-05-15T16:03:11.05366+08:00 INFO [16084,991d6e1cb5ec1e2a] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=991d6e1cb5ec1e2a, duration=72.255884ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78019}]}] 2023-05-15T16:03:11.18544+08:00 INFO [16084,c3054b53340ba713] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c3054b53340ba713, body={"processName":"ocp_monagent"}] 2023-05-15T16:03:11.22384+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration="47.421µs" 2023-05-15T16:03:11.25232+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration=28.530716ms 2023-05-15T16:03:11.25241+08:00 INFO [16084,c3054b53340ba713] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78223}]" 2023-05-15T16:03:11.2525+08:00 INFO [16084,c3054b53340ba713] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=c3054b53340ba713, duration=66.942508ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78223}]}] 2023-05-15T16:03:11.49504+08:00 INFO [16084,0f1a0d6bb43da505] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f1a0d6bb43da505, body={"processName":"ocp_agentd"}] 2023-05-15T16:03:11.53605+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration="133.624µs" 2023-05-15T16:03:11.56751+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration=31.599853ms 2023-05-15T16:03:11.56763+08:00 INFO [16084,0f1a0d6bb43da505] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78535}]" 2023-05-15T16:03:11.56788+08:00 INFO [16084,0f1a0d6bb43da505] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0f1a0d6bb43da505, duration=72.703508ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 78535}]}] 2023-05-15T16:03:12.28379+08:00 INFO [16084,5daae48f6050e148] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5daae48f6050e148, body=] 2023-05-15T16:03:12.28389+08:00 INFO [16084,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:03:12.28405+08:00 INFO [16084,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:03:12.28408+08:00 INFO [16084,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:03:12.28719+08:00 INFO [16084,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:03:12.28728+08:00 INFO [16084,5daae48f6050e148] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=5daae48f6050e148, duration=3.361423ms, status=200, data={State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:04:12.42111+08:00 INFO [16084,7b24c58b4b1e1eaf] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b24c58b4b1e1eaf, body=] 2023-05-15T16:04:12.42121+08:00 INFO [16084,7b24c58b4b1e1eaf] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=7b24c58b4b1e1eaf, duration=4.053µs, status=200, data=2023-05-15 16:04:12.421192526 +0800 CST m=+138.212794493] 2023-05-15T16:04:12.52738+08:00 INFO [16084,08c2326f50223785] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08c2326f50223785, body={"processName":"ocp_mgragent"}] 2023-05-15T16:04:12.56203+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration="48.007µs" 2023-05-15T16:04:12.59526+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration=33.271867ms 2023-05-15T16:04:12.59535+08:00 INFO [16084,08c2326f50223785] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139561}]" 2023-05-15T16:04:12.59542+08:00 INFO [16084,08c2326f50223785] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=08c2326f50223785, duration=67.948208ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139561}]}] 2023-05-15T16:04:12.70199+08:00 INFO [16084,50513f64e0a9a074] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=50513f64e0a9a074, body={"processName":"ocp_monagent"}] 2023-05-15T16:04:12.73623+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration="46.673µs" 2023-05-15T16:04:12.76966+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration=33.475224ms 2023-05-15T16:04:12.76975+08:00 INFO [16084,50513f64e0a9a074] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139736}]" 2023-05-15T16:04:12.76983+08:00 INFO [16084,50513f64e0a9a074] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=50513f64e0a9a074, duration=67.738596ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139736}]}] 2023-05-15T16:04:12.85691+08:00 INFO [16084,1569b2927e363ea0] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1569b2927e363ea0, body={"processName":"ocp_agentd"}] 2023-05-15T16:04:12.89586+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration="61.253µs" 2023-05-15T16:04:12.92268+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration=26.878896ms 2023-05-15T16:04:12.92281+08:00 INFO [16084,1569b2927e363ea0] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139895}]" 2023-05-15T16:04:12.92299+08:00 INFO [16084,1569b2927e363ea0] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=1569b2927e363ea0, duration=65.956989ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 139895}]}] 2023-05-15T16:04:13.57981+08:00 INFO [16084,ead9db2d9f0d2a8c] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ead9db2d9f0d2a8c, body=] 2023-05-15T16:04:13.5799+08:00 INFO [16084,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:04:13.57994+08:00 INFO [16084,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:04:13.57996+08:00 INFO [16084,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:04:13.58283+08:00 INFO [16084,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:04:13.58296+08:00 INFO [16084,ead9db2d9f0d2a8c] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=ead9db2d9f0d2a8c, duration=3.032134ms, status=200, data={State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]}] 2023-05-15T16:05:13.69349+08:00 INFO [16084,0a6804f04253662b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a6804f04253662b, body=] 2023-05-15T16:05:13.6936+08:00 INFO [16084,0a6804f04253662b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/time, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=0a6804f04253662b, duration=4.012µs, status=200, data=2023-05-15 16:05:13.693579289 +0800 CST m=+199.485181256] 2023-05-15T16:05:13.87632+08:00 INFO [16084,2a7b5aba9ecaae4f] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a7b5aba9ecaae4f, body={"processName":"ocp_mgragent"}] 2023-05-15T16:05:13.91246+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration="51.304µs" 2023-05-15T16:05:13.93792+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16084/' || true; }, timeout=10s} fields: duration=25.513397ms 2023-05-15T16:05:13.938+08:00 INFO [16084,2a7b5aba9ecaae4f] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_mgragent, processes="[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 200912}]" 2023-05-15T16:05:13.93808+08:00 INFO [16084,2a7b5aba9ecaae4f] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=2a7b5aba9ecaae4f, duration=61.673423ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16084, name: ocp_mgragent, cmdLine: /home/admin/ocp_agent/bin/ocp_mgragent -c /home/admin/ocp_agent/conf/mgragent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 200912}]}] 2023-05-15T16:05:14.0066+08:00 INFO [16084,96c95a979c279b74] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=96c95a979c279b74, body={"processName":"ocp_monagent"}] 2023-05-15T16:05:14.04071+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration="43.667µs" 2023-05-15T16:05:14.06541+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16085/' || true; }, timeout=10s} fields: duration=24.750948ms 2023-05-15T16:05:14.06549+08:00 INFO [16084,96c95a979c279b74] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_monagent, processes="[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 201040}]" 2023-05-15T16:05:14.06557+08:00 INFO [16084,96c95a979c279b74] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=96c95a979c279b74, duration=58.857413ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16085, name: ocp_monagent, cmdLine: /home/admin/ocp_agent/bin/ocp_monagent -c /home/admin/ocp_agent/conf/monagent.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 201040}]}] 2023-05-15T16:05:14.17201+08:00 INFO [16084,b0777df8fba18f53] caller=common/middleware.go:59:func1: API request: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0777df8fba18f53, body={"processName":"ocp_agentd"}] 2023-05-15T16:05:14.22071+08:00 INFO [16084,] caller=shell/exec.go:87:execute: execute shell command start, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration="84.508µs" 2023-05-15T16:05:14.2489+08:00 INFO [16084,] caller=shell/exec.go:119:execute: execute shell command end, command=Command{user=root, program=sh, cmd=netstat -tunlp 2>/dev/null | { grep '16078/' || true; }, timeout=10s} fields: duration=28.266324ms 2023-05-15T16:05:14.24898+08:00 INFO [16084,b0777df8fba18f53] caller=mgragent/system_handler.go:24:getProcessInfoHandler: get process info done fields:, name=ocp_agentd, processes="[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 201220}]" 2023-05-15T16:05:14.24907+08:00 INFO [16084,b0777df8fba18f53] caller=common/middleware.go:148:func1: API response OK: [POST /api/v1/process/info, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=b0777df8fba18f53, duration=76.93183ms, status=200, data=&{ProcessInfoList:[ProcessInfo{pid: 16078, name: ocp_agentd, cmdLine: /home/admin/ocp_agent/bin/ocp_agentd -c /home/admin/ocp_agent/conf/agentd.yaml, username: root, createTime: 2023-05-15 16:01:53 +0800 CST, elapsedTime: 201220}]}] 2023-05-15T16:05:15.03162+08:00 INFO [16084,26a85e5201a6724b] caller=common/middleware.go:59:func1: API request: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=26a85e5201a6724b, body=] 2023-05-15T16:05:15.03171+08:00 INFO [16084,] caller=mgragent/agent_handler.go:37:agentStatusService: query agent status 2023-05-15T16:05:15.03177+08:00 INFO [16084,] caller=agent/admin.go:92:NewAdmin: NewAdmin with config {RunDir:/home/admin/ocp_agent/run ConfDir:/home/admin/ocp_agent/conf LogDir:/home/admin/ocp_agent/log BackupDir:/home/admin/ocp_agent/backup TempDir:/home/admin/ocp_agent/tmp TaskStoreDir:/home/admin/ocp_agent/task_store AgentPkgName:/home/admin/ocp_agent/t-oceanbase-ocp-agent PkgExt:rpm PkgStoreDir:/home/admin/ocp_agent/pkg_store StartWaitSeconds:10 StopWaitSeconds:10 AgentdPath:/home/admin/ocp_agent/bin/ocp_agentd} 2023-05-15T16:05:15.0318+08:00 INFO [16084,] caller=agent/admin.go:298:AgentStatus: AgentStatus 2023-05-15T16:05:15.03595+08:00 INFO [16084,] caller=agent/admin.go:310:AgentStatus: check agentd status got: {State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]} 2023-05-15T16:05:15.03607+08:00 INFO [16084,26a85e5201a6724b] caller=common/middleware.go:148:func1: API response OK: [GET /api/v1/agent/status, client=192.168.58.31, ocpServerIp=192.168.58.31, traceId=26a85e5201a6724b, duration=4.326183ms, status=200, data={State:running Ready:true Version: Pid:16078 Socket:/home/admin/ocp_agent/run/ocp_agentd.16078.sock Services:map[ocp_mgragent:{Status:{State:running Version:3.3.0-20220427 Pid:16084 StartAt:1684137714222270527} Socket:/home/admin/ocp_agent/run/ocp_mgragent.16084.sock EndAt:-6795364578871345152} ocp_monagent:{Status:{State:running Version:3.3.0-20220427 Pid:16085 StartAt:1684137714222514678} Socket:/home/admin/ocp_agent/run/ocp_monagent.16085.sock EndAt:-6795364578871345152}] Dangling:[]}]