Hi max.
Regarding your questions:
1) Installation in silent mode is possible. You can use the following command, from Powershell:
Msiexec /i <path/to/packate.msi> WAZUH_MANAGER="<manager IP> /qb! /l*v install.logYou can skipt the
/l*v install.log if you do not want to save the installation log in the agent.
Then you can start the agent with:
NET START WazuhSvc
The agent will register itself and connect to the manager. Further configuration of the agent can be done from the Dashboard or through the API.
2) This is quite a complicated task. First you would need to have access to all the endpoints you want to monitor. Considering you have access, you could write a script that logs through ssh to each endpoint and checks for the existence of the Wazuh service. Just checking for the default installation path would not be enough since if the agent is installed in a different path
, then it would not be found. You could first generate a list of endpoints that are already reporting to your network manager, so you do not check those enpoints needlessly.
I hope this answers your question.
In case of any further doubt, do not hesitate to ask.
Cheers.