Managing the Agent
After the Agent is installed, you can view, start, stop, update, or uninstall it as needed. This section describes how to manage the Agent on Linux and Windows systems.

You can only manage the Agent as an administrator (root user for Linux and Administrator user for Windows). Any improper use of this account may cause system stability or data security issues. Exercise caution when using this account.
Prerequisites
- You have installed the Agent on a server. For details, see Installing the Agent.
- You have confirmed the Agent version. The Agent has two versions: new and old. The operations vary according to the version.
Linux:
- Log in to the server as user root.
- Check the Agent version.
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, an early version of the Agent is used. Manage the Agent using the instructions for the early version.
- If a particular version is returned, the new version of the Agent is used. Manage the Agent using the instructions for the early version.
- If 0 is returned, the Agent is not installed.
Windows: Determine the Agent version based on the installation path.- New version: C:\Program Files\uniagent\extension\install\telescope
- Earlier version: C:\Program Files\telescope
Checking the Agent Status
After the Agent is installed, you can also log in to the server to check its running status.
Linux:
- Log in to the server as user root.
- Check the Agent status.
/usr/local/uniagent/extension/install/telescope/telescoped status
- Check whether the following information is displayed. If so, the Agent is running properly.
"Telescope process is running well."
Windows:
In the task manager, check the status of the telescope process.
- Log in to the server as user root.
- Check the Agent status.
service telescoped status
- Check whether the following information is displayed. If so, the Agent is running properly.
"Active (running)" or "Telescope process is running well."
Stopping the Agent
You can disable the Agent during monitoring policy changes or temporary system maintenance.
- Log in to the server as user root.
- Stop the Agent.
service uniagent stop /usr/local/uniagent/extension/install/telescope/telescoped stop
- Go to the C:\Program Files\uniagent\extension\install\telescope directory for storing the Agent installation package.
- Double-click the shutdown.bat script to stop the Agent.
- Log in to the server as user root.
- Stop the Agent.
service telescoped stop
- Go to the C:\Program Files\telescope directory for storing the Agent installation package.
- Double-click the shutdown.bat script to stop the Agent.
Starting the Agent
If the Agent is in the Stopped state, perform the following operations to start the Agent.
- Log in to the server as user root.
- Start the Agent.
/usr/local/uniagent/extension/install/telescope/telescoped start
- Go to the C:\Program Files\uniagent\extension\install\telescope directory for storing the Agent installation package.
- Double-click the start.bat script to start the Agent.
- Log in to the server as user root.
- Start the Agent.
/usr/local/telescope/telescoped start
- Go to the C:\Program Files\telescope directory for storing the Agent installation package.
- Double-click the start.bat script to start the Agent.
Restarting the Agent
If the Agent process is faulty, restart the Agent. If the fault persists after the restart, the Agent files may be damaged. In this case, reinstall the Agent. For details, see Agent Installation and Configuration.
- Log in to the server as user root.
- Restart the Agent.
/usr/local/uniagent/extension/install/telescope/telescoped restart
Windows:
The Agent cannot be restarted.
- Log in to the server as user root.
- Restart the Agent.
/usr/local/telescope/telescoped restart
Windows:
The Agent cannot be restarted.
Uninstalling the Agent
If you need to log in to the server to upgrade the Agent, uninstall the Agent of an earlier version.
- Log in to the server as user root.
- Uninstall the Agent.
bash /usr/local/uniagent/script/uninstall.sh
- Go to the C:\Program Files\uniagent\script directory for storing the Agent installation package.
- Double-click the uninstall.bat script to uninstall the Agent.
After you run the Agent uninstallation command on a Windows server, go to the C:\Program Files\uniagent directory to check whether there are residual files. If there are, manually delete this directory.
- Log in to the server as user root.
- Uninstall the Agent.
/usr/local/telescope/uninstall.sh
- Go to the C:\Program Files\telescope directory for storing the Agent installation package.
- Double-click the uninstall.bat script to uninstall the Agent.
After you run the Agent uninstallation command on a Windows server, go to the C:\Program Files\telescope directory to check whether there are residual files. If there are, manually delete this directory.
Helpful Links
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot