cacheClientAddress

SQUID-MIB · .1.3.6.1.4.1.3495.1.5.2.2.2

Object

column OctetString
The Internet address for the client.  The type of this
address is determined by the value of the peerAddressType
object.  Note that implementations must limit themselves
to a single entry in this table per reachable peer.
The peerAddress may not be empty due to the SIZE
restriction.
              
If a row is created administratively by an SNMP
operation and the address type value is dns(16), then
the agent stores the DNS name internally.  A DNS name
lookup must be performed on the internally stored DNS
name whenever it is being used to contact the peer.
              
If a row is created by the managed entity itself and
the address type value is dns(16), then the agent
stores the IP address internally.  A DNS reverse lookup
must be performed on the internally stored IP address
whenever the value is retrieved via SNMP.

Context

MIB
SQUID-MIB
OID
.1.3.6.1.4.1.3495.1.5.2.2.2
Type
column
Access
readonly
Status
current
Parent
cacheClientEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SQUID-MIB::cacheClientAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SQUID-MIB::cacheClientAddress.<cacheClientAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SQUID-MIB::cacheClientAddress'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-64