cpqHoSwVerDate
CPQHOST-MIB ·
.1.3.6.1.4.1.232.11.2.7.2.1.6
Object
column mandatory
OctetString
The date of the software item, if any.
field octets contents range
===== ====== ======= =====
1 1-2 year 0..65535
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minute 0..59
6 7 second 0..60
(use 60 for leap-second)
The year field is set with the most significant octet first.
An entry of zero (0) means that there is no date associated with
this software item. Zero is the default.
Context
- MIB
- CPQHOST-MIB
- OID
.1.3.6.1.4.1.232.11.2.7.2.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqHoSwVerEntry
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 'CPQHOST-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQHOST-MIB::cpqHoSwVerDate'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQHOST-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQHOST-MIB::cpqHoSwVerDate.<cpqHoSwVerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQHOST-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQHOST-MIB::cpqHoSwVerDate'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 7-7