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

Changed starting application messages #1372

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions unattended_installer/install_functions/dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function dashboard_copyCertificates() {

function dashboard_initialize() {

common_logger "Starting Wazuh dashboard."
common_logger "Initializing Wazuh dashboard web application."
alberpilot marked this conversation as resolved.
Show resolved Hide resolved
installCommon_getPass "admin"
j=0

Expand Down Expand Up @@ -122,6 +122,7 @@ function dashboard_initialize() {
common_logger "When Wazuh dashboard is able to connect to your Elasticsearch cluster, you can access the web interface https://${nodes_dashboard_ip}.\n User: admin\n Password: ${u_pass}"
fi
else
common_logger "Wazuh dashboard web application initialized."
common_logger "--- Summary ---"
common_logger "You can access the web interface https://${nodes_dashboard_ip}.\n User: admin\n Password: ${u_pass}"
fi
Expand All @@ -130,7 +131,7 @@ function dashboard_initialize() {

function dashboard_initializeAIO() {

common_logger "Starting Wazuh dashboard."
common_logger "Initializing Wazuh dashboard web application."
installCommon_getPass "admin"
until [ "$(curl -XGET https://localhost/status -uadmin:${u_pass} -k -w %{http_code} -s -o /dev/null)" -eq "200" ] || [ "${i}" -eq 12 ]; do
sleep 10
Expand All @@ -142,7 +143,7 @@ function dashboard_initializeAIO() {
exit 1
fi

common_logger "Wazuh dashboard started."
common_logger "Wazuh dashboard web application initialized."
common_logger "--- Summary ---"
common_logger "You can access the web interface https://<wazuh-dashboard-ip>.\n User: admin\n Password: ${u_pass}"

Expand Down