Merge branch '2.4/dev' into jppsensoroni

This commit is contained in:
Josh Patterson
2024-03-05 17:51:32 -05:00
committed by GitHub
4 changed files with 224 additions and 2 deletions

View File

@@ -96,8 +96,8 @@ function pcapspace() {
fi
local s=$(( $SPACESIZE / 1000000 ))
local s1=$(( $s / 2 ))
local s2=$(( $s1 / $CORECOUNT ))
local s1=$(( $s / 4 ))
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