asimple math subtraction and its giving me a fit.
I'm doing an snmp walk getting a value and then waiting a period of time and doing it again. Then subtracting to get the difference. I know the diff isn't 0
[#!/bin/bash
#
OLD= snmpwalk -v2c -c AE4ML 192.168.20.254 | grep...
I'm trying to sumarize ip hits on a network. but I can't seem to bring it all together as you can see from my output below
I'm after one line per IP with a total like this.
980 8.8.8.8
274 8.8.4.4
54 1.1.1.1
<CODE>
RAW data::
Jan 29 13:48:22 192.168.20.254 : %ASA-4-106023: Deny udp src...