hpnicfLicenseState
HPN-ICF-LICENSE-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.145.2.2.1.5
Object
column Enumeration
The state of an installed license.
invalid - The license is invalid and cannot be used.
inuse - The license is being used.
usable - The license is available for use.
1. If multiple days-restricted licenses for one feature
are installed, only one license is in 'inuse' state and
the rest licenses are in 'usable' state.
2. A date-restricted license is in this state if its
start date is not reached.
expired - The license has expired.
uninstalled - The license has been uninstalled.
unusable - The license cannot be used.
Context
- MIB
- HPN-ICF-LICENSE-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.145.2.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hpnicfLicenseGeneralEntry
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 'HPN-ICF-LICENSE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-LICENSE-MIB::hpnicfLicenseState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-LICENSE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-LICENSE-MIB::hpnicfLicenseState.<hpnicfLicensePhysicalIndex>.<hpnicfLicenseIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-LICENSE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-LICENSE-MIB::hpnicfLicenseState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | invalid |
2 | inuse |
3 | usable |
4 | expired |
5 | uninstalled |
6 | unusable |