licenseKeyCurrentState
IBM-BCCUSTOM-MIB ·
ibm variant
·
.1.3.6.1.4.1.2.6.215.6.1.1.3
Object
column Enumeration
Provides information on the current state of the license
Context
- MIB
- IBM-BCCUSTOM-MIB
- OID
.1.3.6.1.4.1.2.6.215.6.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- licenseKeyInformationEntry
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 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-BCCUSTOM-MIB::licenseKeyCurrentState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-BCCUSTOM-MIB::licenseKeyCurrentState.<licenseKeyIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-BCCUSTOM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-BCCUSTOM-MIB::licenseKeyCurrentState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | valid |
2 | notValid |
3 | expired |
4 | usageExceeded |