Re: [squid-users] cache_swap_low and high waternmark

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 2 May 2003 11:38:04 +0200

On Friday 02 May 2003 03.38, Jigar Rasalawala wrote:

> Two snmp object that Squid supports seam to reach a numeric value
> and then start going backwards. The two Objects are:
>
> .1.3.6.1.4.1.3495.1.3.1.7.0 = Counter32:

enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheNumObjCount

this is a gauge, not a counter. It will mainly grow until the cache
has been filled, once filled it will go up and down a little.

> .1.3.6.1.4.1.3495.1.3.1.9.0 = Counter32:

enterprises.nlanr.squid.cachePerf.cacheSysPerf.cacheCurrentUnlinkRequests

This too is a gauge... indicates how many cache objects Squid is
currently deleting from the cache. The higher load your Squid cache
is having the higher this value will get, and then decline back to 0
when the cleaning process manages to catch up.

Both these objects should be returned as Gauge32 values, not
Counter32. Thanks for the notification on this error in the Squid
SNMP MIB.

A quick inspection of the MIB revealed a few other values with the
same error. I don't have the time to do a full review of the MIB now,
and would be thankful if someone else could do this:

 * Read the Squid mib.txt, and for each value consider if the SYNTAX
type is correct for the type of value described and if the value
description makes sense.

 * If the syntax type does not match, please indicate what syntax the
value should be using.

 * If the description does not make sense, try to write a better
descripiton. For help on finding out what the value actually is when
writing this description consult squid-dev@squid-cache.org.

 * If would also be good if you could verify that the types returned
by Squid matches what is documented in mib.txt.

Then sumbit your suggestions on MIB updates as a Squid bug to the bug
database, or post them to squid-dev@squid-cache.org.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri May 02 2003 - 03:37:25 MDT

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