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.

Regards
 Christoph

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

Reply via email to