腾讯云CVM安装监控agent

install monitor_agent_admin


rm -rf qcloud.tar.gz
wget http://10.191.5.2:8888/qcloud.tar.gz
mv -f /usr/local/qcloud /usr/local/qcloud.bk
tar -zxvf qcloud.tar.gz  -C /usr/local/



cat </etc/resolv.conf
#nameserver 192.168.66.11
nameserver 183.60.83.19
nameserver 183.60.82.98
EOF


wget http://update2.agent.tencentyun.com/update/linux_stargate_installer
chmod +x linux_stargate_installer
./linux_stargate_installer


wget http://update2.agent.tencentyun.com/update/monitor_agent_admin
chmod +x monitor_agent_admin
#./monitor_agent_admin check
./monitor_agent_admin install
./monitor_agent_admin restart

/usr/local/qcloud/monitor/barad/admin/trystart.sh

cat </etc/resolv.conf
nameserver 192.168.66.11
nameserver 183.60.83.19
nameserver 183.60.82.98
EOF

ps -ef |grep agent
pwd

你可能感兴趣的:(腾讯云CVM安装监控agent)