mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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
|
||||
|
||||
local s=$(( $SPACESIZE / 1000000 ))
|
||||
local s1=$(( $s / 2 ))
|
||||
local s1=$(( $s / 4 ))
|
||||
local s2=$(( $s1 / $lb_procs ))
|
||||
|
||||
MAXPCAPFILES=$s2
|
||||
@@ -280,7 +280,7 @@ function add_sensor_to_minion() {
|
||||
echo " enabled: True" >> $PILLARFILE
|
||||
if [[ $is_pcaplimit ]]; then
|
||||
echo " config:" >> $PILLARFILE
|
||||
echo " diskfreepercentage: 60" >> $PILLARFILE
|
||||
echo " diskfreepercentage: 75" >> $PILLARFILE
|
||||
pcapspace
|
||||
fi
|
||||
echo " " >> $PILLARFILE
|
||||
|
||||
Reference in New Issue
Block a user