[squid-users] Average size from squidclient to SNMP

From: Luis Daniel Lucio Quiroz <luis.daniel.lucio_at_gmail.com>
Date: Wed, 11 Nov 2009 19:35:51 -0600

Hi all,

I was wondering if there is a way to obtain the average object size that
reports squidclient if is it possible to obtain it by snmp.

I was reading some SNMP and I got that SNMPv2-
[root_at_greycoat bin]# snmpwalk -v 2c -c public 127.0.0.1:3401
1.3.6.1.4.1.3495.1.3.2.2.1.10
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.10.1 18
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.10.5 19
SNMPv2-SMI::enterprises.3495.1.3.2.2.1.10.60 20

but, these values arent the same. look:
 Mean Object Size: 23.03 KB

I did look that if I do this:

cacheCurrentSwapSize
[root_at_greycoat bin]# snmpwalk -v 2c -c public 127.0.0.1:3401
1.3.6.1.4.1.3495.1.3.2.1.14
SNMPv2-SMI::enterprises.3495.1.3.2.1.14.0 73471772

cacheNumObjCount
[root_at_greycoat bin]# snmpwalk -v 2c -c public 127.0.0.1:3401
1.3.6.1.4.1.3495.1.3.1.7
SNMPv2-SMI::enterprises.3495.1.3.1.7.0 3208274
[root_at_greycoat bin]#

cacheCurrentSwapSize / cacheNumObjCount = 22,900716086, a closer value but
not the same

Am I missing something?

TIA

LD
Received on Thu Nov 12 2009 - 01:36:09 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 12 2009 - 12:00:03 MST