Managing Agents
After installing an agent on a database or application node, you can view the agent information and enable, disable, or delete the agent. If you no longer need to audit a database, you can uninstall the agent from the node where the agent is installed.
Prerequisites
You have installed the agent on a node. For details, see Downloading and Installing the agent.
Managing Agents
- Log in to the DBSS console.
- Click
in the upper left corner on the displayed page and select a region. - In the navigation tree on the left, choose Databases.
- In the Instance drop-down list, select an instance.
Viewing an Agent
| Parameter | Description |
|---|---|
| Agent ID | Agent ID, which is automatically generated |
| Installing Node Type | Type of the node to be installed. The options are as follows:
|
| Installing node IP address | IP address of the node where an agent is installed |
| OS | Agent OS
|
| Audited NIC Name | Name of the NIC to be audited on the node where an agent is installed. Enter a maximum of 64 characters. Only letters, digits, hyphens (-), spaces, periods (.), and colons (:) are allowed. The value cannot start or end with a space. |
| CPU Threshold (%) | CPU threshold of the installing node. The default value is 80. Enter a value from 0 to 100. NOTE: The agent on a node will stop working if the CPU usage of the node exceeds this threshold. You can scale up CPU resources to avoid this problem. |
| Memory Threshold (%) | Memory threshold of the installing node. The default value is 80. Enter a value from 0 to 100. NOTE: The agent on a node will stop working if the memory usage of the node exceeds this threshold. You can scale up memory resources to avoid this problem. |
| General | Whether an agent is a general-purpose agent.
|
| Status | Status of the agent on the installing node.
|
| SHA256Sum | Verification value of the agent installation package. |
| Operation | Operations that can be performed on an agent you added.
|
Enabling an Agent
Enabling the agent automatically starts security audit for its connected database.
- In the Operation of an agent, click Enable.
If no Enable button is displayed in the Operation column, the agent has been enabled.
Disabling an Agent
Disabling the agent automatically stops security audit for its connected database.
- In the Operation column of an agent, click Disable.
- In the displayed dialog box, click OK.
If no Disable button is displayed in the Operation column, the agent has been disabled.
Deleting an Agent
If you delete an agent, you will need to deploy a new one only if you want to resume auditing the database.
- In the Operation column of an agent, click Delete.
- In the displayed dialog box, enter DELETE and click OK.
If the target agent is no longer displayed in the agent list, it has been deleted.
Uninstalling an Agent
This topic describes how to uninstall the agent on a node running a Linux OS and Windows OS.
- Log in to the node where the agent is installed as user root using SSH through a cross-platform remote access tool (such as PuTTY).
- Run the following command to access the directory where the decompressed xxx.tar.gz agent installation package is stored:
cd Directory_containing_decompressed_agent_installation_package
- Run the following command to check whether you have the permission for executing the uninstall.sh script:
ll
- If you do, go to 4.
- If you do not, perform the following operations:
- Run the following command to get the script execution permission:
chmod +x uninstall.sh
- Verify you have the required permissions.
- Run the following command to get the script execution permission:
- Run the following command to uninstall the agent:
sh uninstall.sh
If the following information is displayed, the agent has been uninstalled successfully:
1 2 3 4 5 6 7
uninstall audit agent... exist os-release file stopping audit agent audit agent stopped stop audit_agent success service audit_agent does not support chkconfig uninstall audit agent completed!
- Enter the directory where the agent installation file is stored.
- Double-click the uninstall.bat file to uninstall the agent.
- Verify that the agent has been uninstalled.
- Open the Task Manager and verify that the dbss_audit_agent process is stopped.
- Verify that the entire agent installation directory has been deleted.
References
- For details about the functions provided by the database audit agent, see What Functions Does the Database Audit Agent Provide?
- If the agent is in the hibernating state, see What Do I Do If the Database Audit Agent Is Hibernating?
- For details about how to check the agent status, see How Do I Check the Running Status of the Database Audit Agent?
- If the communication between the agent and the database audit instance is abnormal, see What Do I Do If the Communication Between the Agent and Database Audit Instance Is Abnormal?
What is your overall rating for this page?
Thank 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