mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Bro - Add cron for checking PL
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
BROLOG=$(tac /nsm/bro/logs/packetloss.log | head -2)
|
BROLOG=$(tac /host/nsm/bro/logs/packetloss.log | head -2)
|
||||||
declare RESULT=($BROLOG)
|
declare RESULT=($BROLOG)
|
||||||
CURRENTDROP=${RESULT[3]}
|
CURRENTDROP=${RESULT[3]}
|
||||||
PASTDROP=${RESULT[9]}
|
PASTDROP=${RESULT[9]}
|
||||||
|
|||||||
Reference in New Issue
Block a user