Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the '--config-path' option to be used when registering the agent. #231

Open
Nicogp opened this issue Oct 18, 2024 · 1 comment
Open
Assignees
Labels
level/task Task issue module/agent phase/mvp Minimum Viable Product

Comments

@Nicogp
Copy link
Member

Nicogp commented Oct 18, 2024

Description

As part of the test of #127 (PR) we noticed the need to add the --config-path option to be used when registering the agent, otherwise it looks for a file named wazuh.conf in the execution directory or otherwise loads the default settings which in the case of manager_ip is "localhost".

Example of how the registration would be performed with config-path option:

./wazuh-agent --register-agent --user user --password pass --key key --config-path /path/to/file

@Nicogp
Copy link
Member Author

Nicogp commented Oct 18, 2024

(2024/10/18)

  • I have performed manual tests
  • I created this problem
  • I made the necessary changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue module/agent phase/mvp Minimum Viable Product
Projects
Status: In progress
Development

No branches or pull requests

2 participants