This commit is contained in:
vcerenu
2022-06-08 18:14:12 -03:00
parent 42c2ea5dba
commit a34e0af547
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
fbout1=$(docker exec multi-node_wazuh.master_1 sh -c 'filebeat test output')
fbstatus1=$(echo "${fbout1}" | grep OK | wc -l)
fbstatus1=$(echo "${fbout1}" | grep -c OK)
if [[ fbstatus1 -eq 7 ]]; then
echo "No errors in master filebeat"
else
@@ -8,7 +8,7 @@ else
exit 1
fi
fbout2=$(docker exec multi-node_wazuh.worker_1 sh -c 'filebeat test output')
fbstatus2=$(echo "${fbout2}" | grep OK | wc -l)
fbstatus2=$(echo "${fbout2}" | grep -c OK)
if [[ fbstatus2 -eq 7 ]]; then
echo "No errors in worker filebeat"
else