Skip to content

Commit

Permalink
disable elastalert if running on sensor only
Browse files Browse the repository at this point in the history
  • Loading branch information
weslambert committed Jan 4, 2018
1 parent 0d9ff75 commit f9e11f0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion usr/sbin/sosetup-elastic
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,12 @@ EOF
echo "# Please wait while stopping and disabling Kibana..." | tee -a $LOG
docker stop so-kibana >> $LOG 2>&1
sed -i 's|KIBANA_ENABLED="yes"|KIBANA_ENABLED="no"|g' $CONF


echo "91"
echo "# Please wait while stopping and disabling ElastAlert..." | tee -a $LOG
docker stop so-elastalert >> $LOG 2>&1
sed -i 's|ELASTALERT_ENABLED="yes"|ELASTALERT_ENABLED="no"|g' $CONF

echo "93"
echo "# Please wait while stopping and disabling MySQL..." | tee -a $LOG
service mysql stop >> $LOG 2>&1
Expand Down

0 comments on commit f9e11f0

Please sign in to comment.