This commit is contained in:
vcerenu
2022-06-09 09:24:57 -03:00
parent ddc03699e5
commit 961b8bad21
-6
View File
@@ -1,6 +0,0 @@
nodes="`curl -XGET "https://0.0.0.0:9200/_cat/nodes" -u admin:SecretPassword -k | grep -E "indexer" | wc -l`"
if [[ $nodes -eq 1 ]]; then
echo "bien"
else
echo "mal"
fi