MacOS X agents¶
Open a session in your MacOS X agent host as root user. After that, you can register the Agent using
Copy the newly created certificate (
.certfile) and its key (
.keyfile) to the
/Library/Ossec/etcfolder and run the
agent-authprogram. For example, if the manager’s IP address is 192.168.1.2:
# cp sslagent.cert sslagent.key /Library/Ossec/etc # /Library/Ossec/bin/agent-auth -m 192.168.1.2 -x /Library/Ossec/etc/sslagent.cert -k /Library/Ossec/etc/sslagent.key
Edit the Wazuh agent configuration to add the Wazuh server IP address.
In the file
/Library/Ossec/etc/ossec.conf, in the
<client><server>section, change the MANAGER_IP value to the Wazuh server address:<client> <server> <address>MANAGER_IP</address> ... </server> </client>
- Start the agent.
# /Library/Ossec/bin/ossec-control start