云监控服务 CES-Linux:操作步骤

时间:2024-05-22 09:40:53

操作步骤

  1. 使用root账号,登录ECS。
  2. 执行如下命令,确认当前Agent的版本是新架构Uniagent还是老架构telescope。
    if [[ -f /usr/local/uniagent/extension/install/telescope/bin/telescope ]]; then /usr/local/uniagent/extension/install/telescope/bin/telescope -v; elif [[ -f /usr/local/telescope/bin/telescope ]]; then echo "old agent"; else echo 0; fi
    • 返回“old agent”,表示使用的是老版本Agent(telescope架构)。
    • 返回版本号,表示使用新版本Agent(Uniagent架构)。
    • 返回“0”,表示未安装Agent。
  3. 卸载当前版本的Agent。
  4. 安装最新版本的Agent,安装命令参见操作步骤
support.huaweicloud.com/usermanual-ces/ces_04_0021.html