swHistoryCntType
HISTORICAL-COUNTER-MIB ·
.1.3.6.1.4.1.171.12.66.2.1.1.1.3
Object
column Enumeration
This object indicates the type of time slot for counters.
Note: When the swHistoryCntTime value is one-day (2), this object only
has two values: slot1 (1) and slot2 (2).
Context
- MIB
- HISTORICAL-COUNTER-MIB
- OID
.1.3.6.1.4.1.171.12.66.2.1.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- swHistoryCntPktEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'HISTORICAL-COUNTER-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HISTORICAL-COUNTER-MIB::swHistoryCntType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HISTORICAL-COUNTER-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HISTORICAL-COUNTER-MIB::swHistoryCntType.<swHistoryCntPort>.<swHistoryCntTime>.<swHistoryCntType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HISTORICAL-COUNTER-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HISTORICAL-COUNTER-MIB::swHistoryCntType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | slot1 |
2 | slot2 |
3 | slot3 |
4 | slot4 |
5 | slot5 |