diff --git a/orchestrator/setup-filebeat.sh b/orchestrator/setup-filebeat.sh index a7eb731..79d379d 100755 --- a/orchestrator/setup-filebeat.sh +++ b/orchestrator/setup-filebeat.sh @@ -220,8 +220,8 @@ Main() { case "$action" in install) - if [[ $# -ne 3 ]]; then - LogError "Install command requires 2 parameters: user, password" + if [[ $# -ne 4 ]]; then + LogError "Install command requires 3 parameters: user, password, host" ShowUsage exit 1 fi diff --git a/orchestrator/setup-logstash.sh b/orchestrator/setup-logstash.sh index cb9137f..c0257a0 100755 --- a/orchestrator/setup-logstash.sh +++ b/orchestrator/setup-logstash.sh @@ -245,8 +245,8 @@ Main() { case "$action" in install) - if [[ $# -ne 3 ]]; then - LogError "Install command requires 2 parameters: user, password" + if [[ $# -ne 4 ]]; then + LogError "Install command requires 3 parameters: user, password, host" ShowUsage exit 1 fi diff --git a/orchestrator/setup-metricbeat.sh b/orchestrator/setup-metricbeat.sh index fe8f326..e19cc68 100755 --- a/orchestrator/setup-metricbeat.sh +++ b/orchestrator/setup-metricbeat.sh @@ -220,8 +220,8 @@ Main() { case "$action" in install) - if [[ $# -ne 3 ]]; then - LogError "Install command requires 2 parameters: user, password" + if [[ $# -ne 4 ]]; then + LogError "Install command requires 3 parameters: user, password, host" ShowUsage exit 1 fi