Re: [squid-users] Solaris, Squid and SNMP statistics

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 29 Dec 2002 14:51:39 +0100

What values are reported for these by cachemgr?

Note: If you compiled your Squid with --enable-time-hack then these
service times will be seriously screwed up, and a number of other
issues.

Regards
Henrik

"Brian E. Seppanen" wrote:
>
> 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 Sun Dec 29 2002 - 07:40:19 MST

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