Hi Bhavesh,
I'm glad to hear you found it easy to use wazuh, don't hesitate to ask us if you don't understand something about the software.
About DHCP, Wazuh supports it by setting the agents IP which are going to use DHCP to any. There are two ways of doing it:
1. Registering the agents using the tool
manage_agents ( you have to select the option "Add an agent (A)" ) set the name and set the IP to any.
This way Wazuh won't set the agent ip as static. Then you should select "Extract the key for an agent (E)" and select your new agent.
Copy the key and execute the same tool in the agent, select the option "Import key from the server (I)" and paste the key.
This process is explained here:
2. If you prefer to use the authd tool (Registration Service), just set the option <use_source_ip> to no in the manager and then restart it.
Every agent registered will have any as ip from now.
Setting <use_source_ip> to yes and restarting the manager will get you to the normal behavior again.
You may check this link where it's explained:
About password registration:
1. Check the
ossec.conf of your manager, look at the
<auth> section and then set the option
<use_password> to yes
2. Restart the manager
3. Register the agent
Hope it helps.
Regards.