Install AgentX Client on Debian Linux
Install AgentX Client on Debian Linux endpoints to enable log collection and monitoring.
Prerequisites
Ubuntu 22.04, 20.04, or 18.04 (x86_64 architecture)
Root or sudo access
AgentX Client installer (tar.gz file) downloaded from Release Notes
IP address of Logpoint where AgentX Server and AgentX Manager are installed
Network access to Logpoint on ports 1514 and 1515
Procedure
Open a terminal.
Navigate to the directory containing the downloaded AgentX Client file.
Extract the installer:
tar -xvf AgentX_Client_debian.tar.gzRun the installation script:
sudo ./install.shWhen prompted, enter the Logpoint IP address where AgentX Server and AgentX Manager are installed.
When prompted to install osquery, enter
yto enable osquery ornto skip.
The terminal displays "Successfully installed AgentX" when the installation completes.
Install with custom osquery configuration
To install with a custom osquery configuration file:
Replace /path/to/osquery.conf with the path to your custom configuration file.
Install with custom SSL certificates
To install with custom SSL certificates:
Expected outcome
AgentX Client (OSSEC) installs in
/opt/logpoint/ossecosquery installs in
/opt/logpoint/osquery(if enabled)The wazuh-agent service starts automatically
The agent connects to Logpoint and appears in Settings > Configuration > AgentX > Agents
Verification
Verify the wazuh-agent service is running:
Go to Settings > Configuration in Logpoint and select AgentX.
Select Agents.
Verify that your endpoint appears in the agents list.
If the endpoint does not appear, verify:
Network connectivity to Logpoint on ports 1514 and 1515
The wazuh-agent service is running
The correct Logpoint IP address was entered during installation
Change Logpoint IP address after installation
If you need to change the Logpoint IP address after installation:
Edit the OSSEC configuration file:
Locate the
<address>tag and update it with the new Logpoint IP address.Save the file and exit the editor.
Restart the wazuh-agent service:
Next steps
Last updated
Was this helpful?