mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Moving health checking to the host
This commit is contained in:
parent
fced469534
commit
d7cf373450
2 changed files with 6 additions and 7 deletions
|
@ -80,6 +80,12 @@ start
|
|||
build_container
|
||||
description
|
||||
|
||||
msg_info "Checking Health"
|
||||
echo "User: $ELASTIC_USER"
|
||||
echo "Password: $ELASTIC_PASSWORD"
|
||||
$STD curl -XGET --insecure --fail --user $ELASTIC_USER:$ELASTIC_PASSWORD https://${IP}:$ELASTIC_PORT/_cluster/health?pretty
|
||||
msg_ok "Checked Health"
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${APP} is installed, you can check it's health by running:
|
||||
${BL}curl -XGET --insecure --fail --user $ELASTIC_USER:$ELASTIC_PASSWORD https://${IP}:$ELASTIC_PORT/_cluster/health?pretty${CL}
|
||||
|
|
|
@ -52,13 +52,6 @@ KIBANA_TOKEN=$($STD /usr/share/elasticsearch/bin/elasticsearch-create-enrollment
|
|||
ENROLLMENT_TOKEN=$($STD /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s node)
|
||||
msg_ok "Configured User"
|
||||
|
||||
msg_info "Checking Health"
|
||||
ELASTIC_PORT=9200
|
||||
echo "User: $ELASTIC_USER"
|
||||
echo "Password: $ELASTIC_PASSWORD"
|
||||
$STD curl -XGET --insecure --fail --user $ELASTIC_USER:$ELASTIC_PASSWORD https://localhost:$ELASTIC_PORT/_cluster/health?pretty
|
||||
msg_ok "Checked Health"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue