Bro - Add cron for checking PL

This commit is contained in:
Mike Reeves
2018-11-29 19:55:46 -05:00
parent 016b345dd4
commit 36202faf3f

View File

@@ -1,6 +1,6 @@
#!/bin/bash
BROLOG=$(tac /nsm/bro/logs/packetloss.log | head -2)
BROLOG=$(tac /host/nsm/bro/logs/packetloss.log | head -2)
declare RESULT=($BROLOG)
CURRENTDROP=${RESULT[3]}
PASTDROP=${RESULT[9]}