mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Bro - Add cron for checking PL
This commit is contained in:
@@ -67,7 +67,7 @@ nodecfgsync:
|
||||
|
||||
brocron:
|
||||
cron.present:
|
||||
- name: docker exec -it so-bro /opt/bro/bin/broctl netstats | awk -F '[ =]' '{RCVD += $5;DRP += $7;TTL += $9} END { print "rcvd: " RCVD, "dropped: " DRP, "total: " TTL}' >> /nsm/bro/logs/packetloss.log
|
||||
- name: docker exec -it so-bro /opt/bro/bin/broctl netstats | awk -F '[ =]' '{RCVD += $5;DRP += $7;TTL += $9} END { print "rcvd: " RCVD, "dropped: " DRP, "total: " TTL}' >> /nsm/bro/logs/packetloss.log;
|
||||
- user: root
|
||||
- minute: '*/10'
|
||||
- hour: '*'
|
||||
|
||||
Reference in New Issue
Block a user