[squid-users] Solaris, Squid and SNMP statistics

From: Brian E. Seppanen <[email protected]>
Date: Mon, 23 Dec 2002 15:44:11 -0500 (EST)

Hi Folks:

For a long time, we had been using snmp support built in to squid
(--enable-snmp) to gather statistics about the functioning of our squid
servers. Shortly after a CERT Advisory came out (probably a year ago)
we upgraded UCD-SNMP to fix the vulnerabilities, and our squid snmp
statistics stopped working. We've rebuilt squid and I'm talking several
different releases of squid at this point. At this point I've also
upgraded to the most recent release of ucd-snmp-4.2.6 and squid
2.4STABLE7. I still cannot get statistics for the following

enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpAllSvcTime.1
= 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpAllSvcTime.5
= 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpAllSvcTime.60
= 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpMissSvcTime.1
= 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpMissSvcTime.5
= 0
enterprises.nlanr.squid.cachePerf.cacheProtoStats.cacheMedianSvcTable.cacheMedianSvcEntry.cacheHttpMissSvcTime.60
= 0

They always report 0's. While I'd like to think that our proxy servers
are running very well, there is certainly not an instantaneous response.

I don't necessarily expect anyone to necessarily fix my problems, but if
someone has some ideas on how I can isolate the true issue, I would really
appreciate it.

We're running Solaris 8 in all cases, ucd-snmp 4.2.3 or 4.2.6, squid 2.4STABLE7
(although prior releases after the 2.3STABLE releases seemed to stop
working), 64 bit Sparc Hardware, and support.

One oddity is that it randomly seems to work (and I'm talking infrequently
at best), but 99% of the time will not report anything but zeros.

One reason why this is fresh in my mind is that I recently set up a test
linux proxy server running a patched 2.4STABLE6 with ucd-snmp-4.2.3 and
all of the statistics are just fine.

Where might I find the problem? Any help appreciated.

Could it be architecture related (64bit sparc), or an endianness issue?

Thanks,

Brian Seppanen
seppy@chartermi.net
906-228-4226 ext 23
Received on Mon Dec 23 2002 - 13:44:14 MST

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