Installing Wazuh agents on HP-UX systems
The installed agent runs on the host you want to monitor and communicates with the Wazuh manager, sending data in near real time through an encrypted and authenticated channel.
To start the installation process, download the HP-UX installer.
Create the
wazuh
user and group.# groupadd wazuh # useradd -G wazuh wazuh
Unzip the package in
/
.# tar -xvf wazuh-agent-4.3.1-1-hpux-11v3-ia64.tar
Edit
/var/ossec/etc/ossec.conf
and add the Wazuh manager IP address. The agent registers automatically with the manager through enrollment, configuration details can be found on the Enrollment section.<server> <address>WAZUH_MANAGER_IP</address> <port>1514</port> <protocol>tcp</protocol> </server>
To complete the installation and registration process, start the Wazuh agent service.
# /sbin/init.d/wazuh-agent start
The installation process is now complete and the Wazuh agent is successfully installed and registered.
Uninstall a Wazuh agent
To uninstall the agent, follow these steps:
Stop the Wazuh agent service.
# /var/ossec/bin/wazuh-control stop
Delete
wazuh
user and group:# groupdel wazuh # userdel wazuh
Remove Wazuh files.
# rm -rf /var/ossec
The Wazuh agent is now completely removed from your HP-UX system.