Linux阿里云云监控插件安装方法
1、Linux64位系统
sudo bash -c "wget -O /tmp/cloudmonitor.tar.gz 'http://cms-download.aliyun.com/release/1.1.64/linux64/agent-linux64-1.1.64-package.tar.gz' && \
mkdir /usr/local/cloudmonitor && \
tar -xf /tmp/cloudmonitor.tar.gz -C /usr/local/cloudmonitor && \
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh install && \
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh start"
2、Linux32位系统
sudo bash -c "wget -O /tmp/cloudmonitor.tar.gz 'http://cms-download.aliyun.com/release/1.1.64/linux32/agent-linux32-1.1.64-package.tar.gz && \
mkdir /usr/local/cloudmonitor && \
tar -xf /tmp/cloudmonitor.tar.gz -C /usr/local/cloudmonitor && \
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh install && \
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh start"
3、查看插件运行状态
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh status
4、重启插件
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh restart
5、卸载插件
/usr/local/cloudmonitor/wrapper/bin/cloudmonitor.sh remove && rm -rf /usr/local/cloudmonitor