Install wazuh agent without internet

533 views
Skip to first unread message

Le Sok

unread,
Oct 5, 2023, 4:30:47 AM10/5/23
to Wazuh | Mailing List
How can we install Wazuh agent on Linux endpoints without internet or install on local 

Best Regards.

Stuti Gupta

unread,
Oct 5, 2023, 4:50:05 AM10/5/23
to Wazuh | Mailing List
Hi Le sok.
Hope you are doing well and thank you for using wazuh
You can download the package from the package list on a machine with an internet connection and then send it to the Linux server via FTP (as recommended by Matheus) or scp, or whatever method you choose.
After that, you can install it by running the following command:
 WAZUH_MANAGER='Your_manger_ip' WAZUH_AGENT_GROUP='your_group' dpkg -i ./wazuh-agent.deb
In the following link you can find all the deployment variables, including the one used to assign to a group WAZUH AGENT GROUP:
https://documentation.wazuh.com/current/user-manual/deployment-variables/deployment-variables-linux.html#deployment-variables-for-linux

I hope it helps.
Best regards,
Stuti Gupta

Le Sok

unread,
Oct 5, 2023, 4:51:57 AM10/5/23
to Wazuh | Mailing List
My thank to u sir

Le Sok

unread,
Oct 5, 2023, 9:55:23 PM10/5/23
to Stuti Gupta, Wazuh | Mailing List
I don't know why when I set up on ubuntu it's not getting error but in wazuh manager don't see wazuh agent from ubuntu I don't know I already restart and refresh but still not work

--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/S0v504054yQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/672b7163-4f03-42c1-b30f-726415e130afn%40googlegroups.com.

Stuti Gupta

unread,
Oct 6, 2023, 12:40:55 AM10/6/23
to Wazuh | Mailing List
Hi again,
Please share the agent ossec.log  For Linux-based systems, the log file is located at /var/ossec/logs/ossec.log  For Windows endpoints, the log file is located at C:\Program Files (x86)\ossec-agent\ossec.log  On Windows, open a PowerShell terminal and run the following command:

(new-object Net.Sockets.TcpClient).Connect("<MANAGER_IP>", 1514)
(new-object Net.Sockets.TcpClient).Connect("<MANAGER_IP>", 1515)
(new-object Net.Sockets.TcpClient).Connect("<MANAGER_IP>", 55000)


If there is connectivity, there is no output, otherwise, an error will be shown shown 
Please share the manager ossec.log file (in txt. format)

To know how to troubleshoot wazuh agent enrollment please refer to https://documentation.wazuh.com/current/user-manual/agent-enrollment/troubleshooting.html
Regards,
Stuti Gupta
Reply all
Reply to author
Forward
0 new messages