On Fri, 2003-10-03 at 11:53, Terry Collins wrote:
> Tony Green wrote:
> > 
> > On Fri, 2003-10-03 at 11:24, John McQuillen wrote:
> > 
> > > I am very much a novice when it comes to snmp, so please feel free to
> > > hit me with a clue stick if there is much more to it than I am
> > > suggesting :)
> > 
> > Actually, I can't see any reason why that won't work......
> > 
> > I'll start on some perl snmp stuff and see how it goes :-)
> 
> Just checking. You are going to write something in perl to capture the
> snmp packets, thove them into a file and a certain times just count up
> packets for various accts?

My understanding of how this works is that the PIX actually keeps track
of the traffic in and out of each interface (as well as a bunch of other
stuff). All that we need to do with snmp is read the current value of
the counter.

So, once a day/week/month/whatever, we snmp set the counters on the OIDs
interfaces.ifTable.ifEntry.ifInOctets.x (where x is the interface ID of
the external interface) and interfaces.ifTable.ifEntry.ifOutOctets.x to
zero, and at the end of the day/week/month/whatever, we read the value
of the counter that the PIX has been incrementing as it passes traffic.

If my understanding is correct, the PIX is doing most of the work here,
we just have to read the correct counters and analyse the data as
required.

Cheers,

John...
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to