This commit is contained in:
vcerenu
2022-06-08 17:49:46 -03:00
parent 40f55cfb53
commit 8e8b53e6e1
4 changed files with 4 additions and 34 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
fbout=$(docker exec single-node_wazuh.manager_1 sh -c 'filebeat test output')
fbstatus=$(echo "${fbout}" | grep OK | wc -l)
if [[ fbstatus -eq 7 ]]; then
echo "No errors in master filebeat"
echo "No errors in filebeat"
else
echo "Errors in master filebeat"
echo "Errors in filebeat"
echo "${fbout}"
exit 1
fi