mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #12502 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update so-minion
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user