All MIBs › CISCO-NBAR-PROTOCOL-DISCOVERY-MIB › cnpdThresholdConfigSampleType
cnpdThresholdConfigSampleType
Module: CISCO-NBAR-PROTOCOL-DISCOVERY-MIB
OID (symbolic): CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::cnpdThresholdConfigSampleType
OID (numeric): 1.3.6.1.4.1.9.9.244.1.5.1.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The method of sampling the selected statistic and calculating the value to be compared against cnpdThresholdConfigRising or cnpdThresholdConfigFalling thresholds.
If the value of this object is absoluteValue(1), the value at the end of the sampling interval cnpdThresholdConfigInterval, will be compared with the cnpdThresholdConfigRising and cnpdThresholdConfigFalling thresholds.
In this mode, when cnpdThresholdConfigStatsSelect is byte or packet based, a maximum of two cnpdThresholdHistory entries will be created per application, as these byte and packet counts monotonically increase from zero.
If the value of this object is deltaValue(2), the difference between the samples at the beginning and end of the cnpdThresholdConfigInterval will be compared with the cnpdThresholdConfigRising and cnpdThresholdConfigFalling thresholds.
Because the difference in the previous and current samples are compared over the sample period cnpdThresholdConfigInterval, this mode provides more granularity to the thresholds because the NMS is now provided with the gradient or change in the cnpdThresholdConfigStatsSelect.
Note that even though the sample value is monotonically increasing for byte and packet counts, cnpdThresholdConfigSampleType set to deltaValue, can generate falling cnpdThresholdHistory entries, because the gradient can be lower than the cnpdThresholdConfigFalling value.
What is cnpdThresholdConfigSampleType?
A writable setting that controls how a monitored NBAR statistic is sampled and evaluated (e.g., as an absolute value or a delta) before comparing it against configured rising/falling thresholds.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.244.1.5.1.1.4 snmpwalk -v2c -c public <target> CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::cnpdThresholdConfigSampleType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.244.1.5.1.1.4.1 snmpget -v2c -c public <target> CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::cnpdThresholdConfigSampleType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.244.1.5.1.1.4.1 i <value>
Start monitoring Cisco router/switch with NBAR support with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-NBAR-PROTOCOL-DISCOVERY-MIB::cnpdThresholdConfigSampleType OID value, configure state conditions and alerts, and monitor any Cisco router/switch with NBAR support from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.244 | ciscoNbarProtocolDiscoveryMIB | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |
| 1.3.6.1.4.1.9.9.244.1 | cnpdMIBObjects | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |
| 1.3.6.1.4.1.9.9.244.1.5 | cnpdThresholdConfig | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |
| 1.3.6.1.4.1.9.9.244.1.5.1 | cnpdThresholdConfigTable | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |
| 1.3.6.1.4.1.9.9.244.1.5.1.1 | cnpdThresholdConfigEntry | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |
| 1.3.6.1.4.1.9.9.244.1.5.1.1.4 | cnpdThresholdConfigSampleType | CISCO-NBAR-PROTOCOL-DISCOVERY-MIB |