本帖最后由 堡塔运维小林 于 2023-7-14 15:39 编辑
堡塔云监控的主控端已经装好了,我把默认的806端口转发到3000,然后安装被控端,命令是- bash btmonitoragent.sh https://[IP]:3000 [key]
复制代码 通过命令tail -n200 /usr/local/btmonitoragent/logs/logs.log -f 查看被控端日志发现,请求端口还是806
- 2023/07/13 17:21:39 WebSocketConn 为空
- 链接WssConn================================================================================
- Get "https://[ip]:806/api/recv_body": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
- 2023/07/13 17:21:44 连接主控服务器失败 Get "https://[ip]:806/api/recv_body": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
- 2023/07/13 17:21:44 连接服务器失败.正在重新链接
- Get "https://[ip]:806/api/recv_body": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
- 2023/07/13 17:21:44 连接主控服务器失败 Get "https://[ip]:806/api/recv_body": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
- 2023/07/13 17:21:44 连接服务器失败.正在重新链接
复制代码 被控端安装命令中的端口不能自定义?bash btmonitoragent.sh https://[IP]:3000 [key] 端口不能换成3000?必须是806?
|
|