wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Validate the information to add a new Agent Debian / Ubuntu SO version with armhf architecture

Open mauceballos opened this issue 2 years ago • 0 comments

  • Path: Agent Page

  • Section: Agent Creation

  • Feature: Check deploy new agent page for Debian/Ubuntu OS

  • Scenario: Validate the information to add a new Agent Debian / Ubuntu SO version with armhf architecture

  • Test Case:

Given the browser is on the new deploy agent page And the new sixth step is added with a ""title"", a ""description"", a ""message"", a ""Wazuh documentation"" link, and ""console command"", and a Copy command button are displayed

title Install and enroll the agent
description You can use this command to install and enroll the Wazuh agent in one or more hosts.
message Running this command on a host with an agent already installed upgrades the agent package without enrolling the agent. To enroll it, see the Wazuh documentation.
Wazuh documentation https://documentation.wazuh.com/current/user-manual/registering/index.html
console command curl -so wazuh-agent-4.3.0.deb https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.3.0-1_armhf.deb && sudo WAZUH_MANAGER='172.19.0.3' dpkg -i ./wazuh-agent-4.3.0.deb

And the new seventh step is added with a ""title"", the ""Systemd"" and ""SysV init"" tabs, a Copy command button, a message, and a ""document"" link are displayed

title
Start the agent
Systemd
sudo systemctl daemon-reload
sudo systemctl enable wazuh-agent
sudo systemctl start wazuh-agent
SysV Init
sudo chkconfig --add wazuh-agent
sudo service wazuh-agent start
message
To verify the connection with the Manager, please follow this document.
document
https://documentation.wazuh.com/4.3/user-manual/agents/agent-connection.html

When the user selects the group in the fifth step Then the console command changes with the new setting and it is displayed on the fifth step

console command
curl -so wazuh-agent-4.3.0.deb https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.3.0-1_armhf.deb && sudo WAZUH_MANAGER='172.19.0.3' WAZUH_AGENT_GROUP='default' dpkg -i ./wazuh-agent-4.3.0.deb

mauceballos avatar Apr 12 '22 19:04 mauceballos