腾讯云服务器监控卸载教程
腾讯云服务器删除监控,指令如下
/usr/local/qcloud/stargate/admin/uninstall.sh
/usr/local/qcloud/YunJing/uninst.sh
/usr/local/qcloud/monitor/barad/admin/uninstall.sh
#删除云监控相关目录文件:
rm -rf /usr/local/qcloud
#最后清理一下 /etc/rc.local 文件,将里面含qcloud的行全部删掉。
sed -i '/.*qcloud.*/d' /etc/rc.local卸载新的TAT自动化助手
systemctl stop tat_agent
systemctl disable tat_agent
rm -f /etc/systemd/system/tat_agent.service
rm -fr /usr/local/qcloud检查 agent 进程是否还在
ps -A | grep agent如无任何输出,则已卸载干净。
恢复安装脚本
sudo wget -qO - https://tat-1258344699.cos-internal.accelerate.tencentcos.cn/tat_agent/tat_agent_installer.sh | sudo sh