Troubleshooting agent errors means finding and fixing problems with agents that handle tasks like data collection and monitoring. Key steps include checking error messages, reviewing settings, ensuring connectivity, and updating software. This helps keep everything running smoothly.
Failed agent installation
Installing the agent can sometimes encounter issues due to network issues, insufficient permissions, software conflicts, corrupt installation files, or unmet system requirements.
The agent CLI tool provides commands to manage the agent services, which are essential for ensuring optimal performance. Use these commands to diagnose and resolve common issues that can arise during the installation and runtime of the agent.
| Scenario | Solution |
|---|---|
| To list all running agent services. |
./discli agent status
|
| To check agent communication with cloud services. If you get agent details logged in the console, then communication is good. If not, restart the operator service. |
./discli agent details
|
| If you observe one or more failed services, restart the operator service to start the failed services. |
./discli agent restart operator
|
| To retrieve the individual service logs. |
./discli agent logs operator
|
| If the machine restarts, start the agent again. |
./discli agent start
|
| To stop and start the agent service again. Note: This will not fix the issues in the k3s service.
|
Run the commands in this order:
|
| If disk is nearly full and disk space is low, Kubernetes services may stop automatically. | Free up disk space and then restart the k3s agent using the steps above. |
If the agent installation fails with an
error relating to
keytool/bc-fips, then
follow the manual installation steps and
retry the installation. |
|
Log management
This section outlines the key log directories and commands used for monitoring and troubleshooting in the Data Integrity Suite.
-
/logs/precisely/all- This directory contains all log files related to the application. It serves as a centralized location for monitoring and troubleshooting the application's performance and errors. -
/precisely/agent/install/logs- This directory contains installation logs for the agent. These logs provide detailed information about the installation process, helping to diagnose any issues that may arise during setup.
Log collection
Solution: To address more complex scenarios, use the
disdiag.sh utility. This tool gathers not
only logs but also configuration details, metadata, and
environmental information, offering a holistic view needed for
advanced troubleshooting.
The utility is not included by default and must be downloaded manually. You can always find the latest version and knowledge base article: Creating Agent Diagnostic Bundles – Precisely KB
Steps to run the diagnostic utility
To generate a diagnostic bundle, you can generally follow these steps:
-
Sign in to the platform where the diagnostic tool will be used.
-
Download the diagnostic script or utility as described in the above knowledge base article.
-
Follow the instructions in the article to run the tool, as usage details may differ.
-
After execution, locate the generated diagnostic output file following guidance in the article.
Information to include when reporting an issue
When submitting an issue to support, please attach the generated diagnostic bundle and provide the following information:
-
A clear description of the issue (including observed behavior and any error messages)
- Approximate time the issue occurred (please include relevant time zone)
- Relevant environment details (such as affected workspace, project, or instance)