Re: [squid-users] snmp to find

From: Tay Teck Wee <[email protected]>
Date: Tue, 9 Sep 2003 00:53:53 +0800 (CST)

 --- Christoph Haas <email@christoph-haas.de> wrote: >
On Fri, Sep 05, 2003 at 06:29:31PM +0800, Tay Teck
> Wee wrote:
> > I am trying to find the number of clients(uniq IP
> > addr) accessing my squid2.5stable3 using snmp at 5
> > mins interval polling. After some searching, I
> know
> > that the cachemgr "Number of clients accessing
> cache"
> > is a cumulative figure. But if I were to use snmp?
>
> >
> > from the MIB.txt that comes with this stable
> release:
> >
> > cacheClients OBJECT-TYPE
> > SYNTAX Gauge32
> > MAX-ACCESS read-only
> > STATUS current
> > DESCRIPTION
> > " Number of clients
> accessing
> > cache "
> > ::= { cacheProtoAggregateStats 15 }
> >
> >
> > Is the output a cumulative number from startup or
> a
> > 'snapshot' number at the particular moment of
> polling?
> > Or is it a 5min/60min average kind of stats?
>
> IMHO it is an absolute number since sometime
> (perhaps since startup).
> I poll these values with Cricket and use a RRD type
> of DERIVE. That
> means it reads the cacheClient value every x minutes
> and divides it by
> x*60. That gives you the clients per second.

does it give you a gauge of the number of uniq IP
addresses for a given period of time, say x minutes?

I wonder if this "number of clients accessing cache"
is a log crunch of access.log? not quite sure how snmp
works to extract this data....thanks.

>
> Regards
> Christoph
>
> --
> ~
> ~
> ".signature" [Modified] 3 lines --100%--
> 3,41 All

__________________________________________________
Do You Yahoo!?
Play now and stand a chance to win cash prizes!
http://yahoo.com.sg/millionaire
Received on Mon Sep 08 2003 - 10:54:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:35 MST