检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
\Program Files\uniagent\script”)下,双击执行uninstall.bat脚本,卸载Agent。
以华东二安装命令为例: 修改前的命令 cd /usr/local && curl -k -O https://uniagent-cn-east-4.obs.cn-east-4.myhuaweicloud.com/package/agent_install.sh && bash agent_install.sh
执行以下命令,安装Agent,安装脚本分为agent_install.sh和agentInstall.sh,分别对应以下两种命令。
" : { "origin_metric_name" : "cpu_util", "metric_prefix" : "cpu", "metric_type" : "type", "custom_proc_name" : "app.sh
" : { "origin_metric_name" : "cpu_util", "metric_prefix" : "cpu", "metric_type" : "type", "custom_proc_name" : "app.sh
"origin_metric_name" : "cpu_util", "metric_prefix" : "cpu", "metric_type" : "type", "custom_proc_name" : "app.sh
/cloudeye-exporter -s true 下面是shell脚本启动的样例,建议在脚本中配置加密后的ak&sk,并通过您自己的解密方法对ak sk进行解密后通过huaweiCloud_AK和huaweiCloud_SK参数传入cloudeye-exporter。 #!
wget http://mirrors.myhuaweicloud.com/repo/mirrors_source.sh && bash mirrors_source.sh 更多内容,请参见如何使用自动化工具配置华为云镜像源(x86_64和ARM)?
Windows系统下: 在Agent安装包存放目录下,先双击执行shutdown.bat脚本,停止Agent,再执行start.bat脚本,启动Agent。 Linux系统下: 执行以下命令查看Agent的PID。
/usr/local/telescope/uninstall.sh 用户可手动卸载Agent插件,卸载后云监控服务将不再主动采集主机的监控数据。如需再次使用,请参考Linux系统或批量安装Agent重新安装。
终止超时lua脚本 scriptsStopped 提醒 一般是由于lua脚本运行时间过长,自动终止脚本运行。 优化lua脚本,防止执行超时。 lua脚本执行时间超长,被强制中断。lua脚本执行时间过长,会阻塞整个实例。
终止超时lua脚本 scriptsStopped 提醒 一般是由于lua脚本运行时间过长,自动终止脚本运行。 优化lua脚本,防止执行超时。 lua脚本执行时间超长,被强制中断。lua脚本执行时间过长,会阻塞整个实例。
Windows系统下: 在Agent安装包存放目录下,先双击执行shutdown.bat脚本,停止Agent,再执行start.bat脚本,启动Agent。 Linux系统下: 执行以下命令查看telescope的PID。
/extension/dc/dc-installer.sh 执行如下命令,运行插件的一键安装脚本,安装成功的信息如图2所示。
wget http://mirrors.myhuaweicloud.com/repo/mirrors_source.sh && bash mirrors_source.sh 更多内容,请参见如何使用自动化工具配置华为云镜像源(x86_64和ARM)?
"origin_metric_name" : "cpu_util", "metric_prefix" : "cpu", "metric_type" : "type", "custom_proc_name" : "app.sh