Bro - Add cron for checking PL

This commit is contained in:
Mike Reeves
2018-11-29 19:13:28 -05:00
parent 62e5cb0f94
commit a824d06655
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1 @@
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