Groups
Groups
Sign in
Groups
Groups
Wazuh | Mailing List
Conversations
About
Send feedback
Help
Can I restart and enroll wazuh agents remotely?
1,201 views
Skip to first unread message
sau sau
unread,
Aug 8, 2023, 3:02:11 AM
8/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Dear team,
Is there a way i can restart, generate auth keys and enroll agents remotely via wazuh manager?
Harshal Paliwal
unread,
Aug 8, 2023, 4:54:29 AM
8/8/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wazuh mailing list
Hi Team,
Thanks for using the Wazuh.
Yes, you can restart the Wazuh agent from the Manager server. For that, you can use the below command and get more information from
here
/var/ossec/bin/agent_control -R -u 014
You can restart using Wazuh API also.
https://documentation.wazuh.com/4.4/user-manual/api/reference.html#operation/api.controllers.agent_controller.restart_agent
To get the information regarding the auth key you can follow the below documentation.
https://documentation.wazuh.com/current/user-manual/agent-enrollment/via-manager-API/requesting-the-key.html
We can't enroll a Wazuh agent remotely from a Wazuh manager.
Reference:
https://documentation.wazuh.com/current/user-manual/agent-enrollment/index.html
I hope this information helps you. Please feel free to contact us if you have any questions.
Regards,
Reply all
Reply to author
Forward
0 new messages