cacheRecentPercentByteHit
NS-ROOT-MIB ·
.1.3.6.1.4.1.5951.4.1.1.49.41
Object
scalar SNMPv2-SMIGauge32
Recently recorded cache byte hit ratio expressed as percentage. Here we define byte hit ratio as ((number of bytes served from the cache)/(total number of bytes served to the client)). This is the standard definition of Byte Hit Ratio. If compression is turned ON in NS then this ratio doesn't mean much. This might under or over estimate the origin-to-cache bandwidth saving (depending upon whether bytes served by CMP in Citrix ADC are more or less than compressed bytes served from the cache). If CMP is turned OFF in NS then this ratio is same as cacheRecentPercentOriginBandwidthSaved.
Context
- MIB
- NS-ROOT-MIB
- OID
.1.3.6.1.4.1.5951.4.1.1.49.41- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- nsCacheStatsGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NS-ROOT-MIB::cacheRecentPercentByteHit.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NS-ROOT-MIB' -M '/opt/observium/mibs/citrix:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NS-ROOT-MIB::cacheRecentPercentByteHit'
Syntax
- Source
- SNMPv2-SMIGauge32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295