Finish reverting yesterday's change to zeekcaptureloss.sh

This commit is contained in:
Doug Burks
2023-08-05 09:23:27 -04:00
committed by GitHub
parent ec81cbd70d
commit 90102b1148

View File

@@ -14,6 +14,7 @@
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then
if [ -d "/host/nsm/zeek/spool/logger" ]; then if [ -d "/host/nsm/zeek/spool/logger" ]; then
WORKERS={{ salt['pillar.get']('sensor:zeek_lbprocs', salt['pillar.get']('sensor:zeek_pins') | length) }}
ZEEKLOG=/host/nsm/zeek/spool/logger/capture_loss.log ZEEKLOG=/host/nsm/zeek/spool/logger/capture_loss.log
elif [ -d "/host/nsm/zeek/spool/zeeksa" ]; then elif [ -d "/host/nsm/zeek/spool/zeeksa" ]; then
WORKERS=1 WORKERS=1