[root@wazuh-centos-agent opt]# systemctl enable wazuh-agent
Created symlink from /etc/systemd/system/multi-user.target.wants/wazuh-agent.service to /usr/lib/systemd/system/wazuh-agent.service.
[root@wazuh-centos-agent opt]# systemctl start wazuh-agent
Job for wazuh-agent.service failed because the control process exited with error code. See "systemctl status wazuh-agent.service" and "journalctl -xe" for details.
[root@wazuh-centos-agent opt]# systemctl status wazuh-agent
● wazuh-agent.service - Wazuh agent
Loaded: loaded (/usr/lib/systemd/system/wazuh-agent.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2021-06-25 10:35:19 EDT; 19s ago
Process: 3065 ExecStart=/usr/bin/env ${DIRECTORY}/bin/ossec-control start (code=exited, status=1/FAILURE)
Jun 25 10:35:19 wazuh-centos-agent systemd[1]: Starting Wazuh agent...
Jun 25 10:35:19 wazuh-centos-agent env[3065]: 2021/06/25 10:35:19 ossec-agentd: ERROR: (4112): Invalid server address found: 'MANAGER_IP'
Jun 25 10:35:19 wazuh-centos-agent env[3065]: 2021/06/25 10:35:19 ossec-agentd: CRITICAL: (1215): No client configured. Exiting.
Jun 25 10:35:19 wazuh-centos-agent env[3065]: ossec-agentd: Configuration error. Exiting
Jun 25 10:35:19 wazuh-centos-agent systemd[1]: wazuh-agent.service: control process exited, code=exited status=1
Jun 25 10:35:19 wazuh-centos-agent systemd[1]: Failed to start Wazuh agent.
Jun 25 10:35:19 wazuh-centos-agent systemd[1]: Unit wazuh-agent.service entered failed state.
Jun 25 10:35:19 wazuh-centos-agent systemd[1]: wazuh-agent.service failed.