Why Is No Monitoring Data Displayed After One-Click Agent Configuration?
Symptom
The Agent is running normally after one-click configuration, but no monitoring data is generated.
Constraints
The restoration method in this section only supports new Agent version. If your Agent is of an earlier version, you are advised to upgrade it to the new 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, the earlier version of the Agent is used. Manage the Agent based on its version.
- If a version is returned, the new version of the Agent is in use. Manage the Agent based on its 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
Possible Causes
If no OS monitoring data is available for an ECS or BMS with the Agent installed, the possible causes are as follows:
- There is a problem with the Agent process.
- There is a problem with agency configurations.
- The network is not well connected.
Procedure (Linux)
- Log in to the ECS or BMS as user root.
- Check whether the telescope process is running.
ps -ef |grep telescope
If following information is displayed, the telescope process is normal.
Figure 1 Viewing the telescope processes
- Start the Agent.
- Check whether an agency has been created for the server.
curl -ivk https://agent.ces.myhuaweicloud.com/v1.0/agencies/cesagency/securitykey
- If data is returned, the agency is normal and AK/SK can be obtained. No further action is required.
- If the request fails or the following information is displayed, go to 5. Figure 2 Failing to obtain the AK/SK
- On the IAM console, choose Agencies in the navigation pane. On the displayed page, check details about cesagency. Check whether the current region is listed under Project [Region] of cesagency. If not, click Authorize, search for and select CES Administrator, and click Next. Figure 3 Checking cesagency details
Figure 4 Authorizing the agency
- If the problem is resolved, no further action is required.
- Otherwise, go to 6.
- Check whether the DNS settings are normal.
ping agent.ces.myhuaweicloud.com
- If yes, no further action is required.
- If no, modify the DNS settings or the Cloud Eye endpoint. For details, see Checking/Modifying the DNS and Security Group Configurations.
Procedure (Windows)
- Log in to the ECS or BMS as an administrator.
- Open the Task Manager and check whether the telescope process is running.
If there are Figure 5 and Figure 6, the telescope process is running.
- Double-click start.bat in C:\Program Files\uniagent\script to start the Agent.
- On the IAM console, choose Agencies in the navigation pane. Check details about the cesagency agency. Check whether the current region is listed under Project [Region] of cesagency. If not, perform the following operations:
- Click Authorize, search for and select CES Administrator, and click Next to configure the authorization scope. Figure 7 Checking cesagency details
Figure 8 Authorizing the agency
- If the problem is resolved, no further action is required.
- Otherwise, go to 6.
- Click Authorize, search for and select CES Administrator, and click Next to configure the authorization scope.
- Check whether the DNS settings are normal.
ping agent.ces.myhuaweicloud.com
- If yes, no further action is required.
- If no, modify the DNS settings or the Cloud Eye endpoint. For details, see Checking/Modifying the DNS and Security Group Configurations.
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


