Deploying a Ubuntu-based Wazuh agent VM in the isolated lab network and registering it with the manager.
vmbr1 (isolated), static IP 10.10.10.10/24.10.10.10.1 (SIEM VM second NIC).ip a
ping 10.10.10.10
scp wazuh-agent-4.x.deb agent01:/home/agent01/
sudo dpkg -i wazuh-agent-4.x.deb
systemctl status wazuh-agent
sudo nano /var/ossec/etc/ossec.conf
<client>
<server>
<address>10.10.10.1</address>
<port>1514</port>
<protocol>tcp</protocol>
</server>
</client>
sudo systemctl restart wazuh-agent
sudo /var/ossec/bin/manage_agents
sudo systemctl restart wazuh-agent
sudo /var/ossec/bin/agent_control -lc
Expected output:
ID: 001, Name: agent01, IP: 10.10.10.10, Status: Active
Dashboard: Agents → Manage agents → confirms agent01 active.
ossec.conf, and key import..deb files must be side-loaded.10.10.10.0/24 subnet.✅ End result: Agent agent01 deployed and reporting to Wazuh manager 192.168.2.155.