Upgrading the Agent on a Linux Server
If the Agent of the early architecture cannot meet the requirements, you can upgrade the Agent. The Cloud Eye Agent will be continuously upgraded to provide you with a better monitoring experience. The following describes how to upgrade the Agent of an early architecture (Telescope) to that of the new architecture (Uniagent) on the Linux OS.
Procedure
- Log in to an ECS as user root.
- Run the following command to check whether the current Agent is using the Uniagent or Telescope architecture:
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
- If old agent is returned, the Agent of an early architecture (Telescope) is used.
- If a version is returned, the Agent of the new version (Uniagent) is used.
- If 0 is returned, the Agent is not installed.
- Uninstall the Agent of the current version.
- Early version: Run the command in Uninstalling the Agent (Early Version).
- New version: Run the command in Uninstalling the Agent (Early Version).
- Install the Agent of the latest version by running the command in Procedure.