Squid_ The Definitive Guide - Duane Wessels [160]
The number of entries in Squid's IP (name-to-address) cache. For example:
SQUID-MIB::cacheIpEntries = Gauge32: 10033
cacheIpRequests
The number of requests received by Squid's IP cache. For example:
SQUID-MIB::cacheIpRequests = Counter32: 8195627
cacheIpHits
The number of lookups that were hits in the IP cache. For example:
SQUID-MIB::cacheIpHits = Counter32: 6040658
If the ratio of hits to requests is less than 60-75%, you may want to increase the size of your IP cache.
cacheIpPendingHits
Always zero in the current implementation. For example:
SQUID-MIB::cacheIpPendingHits = Gauge32: 0
Older versions of Squid had the notion of IP cache hits for outstanding queries.
cacheIpNegativeHits
The number of lookups that were negative hits in the IP cache. Certain failed queries may be negatively cached for an amount of time determined by the negative_dns_ttl directive. For example:
SQUID-MIB::cacheIpNegativeHits = Counter32: 49433
cacheIpMisses
The number of IP cache misses. For example:
SQUID-MIB::cacheIpMisses = Counter32: 1807438
cacheBlockingGetHostByName
Always zero in the current implementation. For example:
SQUID-MIB::cacheBlockingGetHostByName = Counter32: 0
Older versions occasionally called the gethostbyname( ) function if the IP cache couldn't provide an answer.
cacheAttemptReleaseLckEntries
Always zero in the current implementation. Older versions would, in some cases, want to release locked IP cache entries. For example:
SQUID-MIB::cacheAttemptReleaseLckEntries = Counter32: 0
cacheFqdnEntries
The number of entries in the FQDN (address-to-name) cache. For example:
SQUID-MIB::cacheFqdnEntries = Gauge32: 1
cacheFqdnRequests
The number of requests to the FQDN cache. For example:
SQUID-MIB::cacheFqdnRequests = Counter32: 0
cacheFqdnHits
The number of FQDN cache requests satisfied as hits. For example:
SQUID-MIB::cacheFqdnHits = Counter32: 0
cacheFqdnPendingHits
Always zero in the current implementation. For example:
SQUID-MIB::cacheFqdnPendingHits = Gauge32: 0
cacheFqdnNegativeHits
The number of FQDN requests satisfied as negative cache hits. For example:
SQUID-MIB::cacheFqdnNegativeHits = Counter32: 0
cacheFqdnMisses
The number of FQDN cache misses. For example:
SQUID-MIB::cacheFqdnMisses = Counter32: 0
cacheBlockingGetHostByAddr
Always zero in the current implementation. For example:
SQUID-MIB::cacheBlockingGetHostByAddr = Counter32: 0
cacheDnsRequests
The number of DNS queries made by Squid. This counter is reset each time you reconfigure the running Squid process. For example:
SQUID-MIB::cacheDnsRequests = Counter32: 3262
cacheDnsReplies
The number of DNS replies received by Squid. This counter is reset each time you reconfigure the running Squid process. For example:
SQUID-MIB::cacheDnsReplies = Counter32: 2440
cacheDnsNumberServers
When using internal DNS (the default), this OID reports the number of nameservers that Squid knows about. For external DNS, it reports the number of (running) dnsserver helper processes. For example:
SQUID-MIB::cacheDnsNumberServers = Counter32: 2
cachePeerName.A.B.C.D
This, and the next group of OIDs, come from the list of neighbor caches. (See Section 14.2.1.50.) These OIDs are indexed by the IPv4 address of the peer. This particular OID returns the neighbor cache's hostname. For example:
SQUID-MIB::cachePeerName.192.203.230.19 = STRING: sv.us.ircache.net
cachePeerAddr.A.B.C.D
This is the IP address of the peer, which, of course, you already know from the OID itself. For example:
SQUID-MIB::cachePeerAddr.192.203.230.19 = IpAddress: 192.203.230.19
cachePeerPortHttp.A.B.C.D
This is the neighbor cache's HTTP port number. For example:
SQUID-MIB::cachePeerPortHttp.192.203.230.19 = INTEGER: 3128
cachePeerPortIcp.A.B.C.D
This is the neighbor cache's ICP or HTCP port number. For example:
SQUID-MIB::cachePeerPortIcp.192.203.230.19 = INTEGER: 3130
cachePeerType.A.B.C.D
The type of the neighbor: 1 for sibling, 2 for parent, and 3 for multicast.