阿里云非ECS

linux的init学习:

https://blog.csdn.net/kunkliu/article/details/80942279

开机启动脚本

/etc/init/CmsGoAgent.conf

CMS_AGENT_ACCESSKEY=**** CMS_AGENT_SECRETKEY=***** VERSION=2.1.55 /bin/bash -c "$(curl -s http://cms-download.aliyun.com/cms-go-agent/cms_go_agent_install_necs-1.0.sh)"

# 注册为系统服务
/usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH}install
# 从系统服务中移除
/usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} uninstall # 启动 /usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} start # 停止 /usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} stop # 重启 /usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} restart # 卸载 /usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} stop && \ /usr/local/cloudmonitor/CmsGoAgent.linux-${ARCH} uninstall && \ rm -rf /usr/local/cloudmonitor

云监控日志位置:
  • Linux:/usr/local/cloudmonitor/logs
  • Windows:C:\Program Files\Alibaba\cloudmonitor\logs

阿里云官方文档:

https://help.aliyun.com/document_detail/99300.html?spm=a2c4g.11186623.6.572.641d7ce2rapmeO

https://help.aliyun.com/document_detail/97929.html?spm=a2c4g.11186623.6.573.6dc6634a3CuIua

https://help.aliyun.com/document_detail/48161.html?spm=a2c4g.11186623.6.549.78e23ae4SrFyoX

 

猜你喜欢

转载自www.cnblogs.com/itfat/p/10385130.html