卸载

云镜、云监控卸载命令

systemctl stop tat_agent
systemctl disable tat_agent
/usr/local/qcloud/YunJing/uninst.sh
/usr/local/qcloud/stargate/admin/uninstall.sh
/usr/local/qcloud/monitor/barad/admin/uninstall.sh

删除云监控

删除云监控相关目录文件

rm -f /etc/systemd/system/tat_agent.service
rm -rf /usr/local/qcloud

清理文件

清理 /etc/rc.local 文件,删掉所有包含qcloud的行

vi /etc/rc.local
  • Ins按键进入编辑
  • Esc按键退出编辑
  • 输入:wq并回车,保存并退出

检查

运行此命令,若没有任何输出即卸载干净

ps -A | grep agent

参考文章:
https://www.vpser.net/manage/tencent-cloud-uninstall-yunjing-monitor.html
https://cloud.tencent.com/developer/article/1381482
Last modification:April 10, 2025
如果我的文章帮到你了,欢迎随意赞赏