Merge pull request #12502 from Security-Onion-Solutions/TOoSmOotH-patch-5

Update so-minion
This commit is contained in:
Mike Reeves
2024-03-05 15:10:02 -05:00
committed by GitHub

View File

@@ -96,7 +96,7 @@ function pcapspace() {
fi fi
local s=$(( $SPACESIZE / 1000000 )) local s=$(( $SPACESIZE / 1000000 ))
local s1=$(( $s / 2 )) local s1=$(( $s / 4 ))
local s2=$(( $s1 / $lb_procs )) local s2=$(( $s1 / $lb_procs ))
MAXPCAPFILES=$s2 MAXPCAPFILES=$s2
@@ -280,7 +280,7 @@ function add_sensor_to_minion() {
echo " enabled: True" >> $PILLARFILE echo " enabled: True" >> $PILLARFILE
if [[ $is_pcaplimit ]]; then if [[ $is_pcaplimit ]]; then
echo " config:" >> $PILLARFILE echo " config:" >> $PILLARFILE
echo " diskfreepercentage: 60" >> $PILLARFILE echo " diskfreepercentage: 75" >> $PILLARFILE
pcapspace pcapspace
fi fi
echo " " >> $PILLARFILE echo " " >> $PILLARFILE