hpnsaSCHistSample
HPNSASTORAGECAP-MIB ·
.1.3.6.1.4.1.11.2.23.15.4.1.1.3
Object
column mandatory
OctetString
A block of data containing one historical drive
sample. The structure of the bytes are:
octets contents range
__________________________________________
Local date and time on
which sample was taken.
1 years since 1900 0..255
2 month 1..12
3 day 1..31
4 hour 0..23
5 minute 0..59
6 second 0..59
7-10 Total capacity in Kbytes.
The 32-bit integer format
is:
Octet 7 (LSB)
Octet 10 (MSB)
11-14 Available space in Kbytes.
The 32-bit integer format
is:
Octet 11 (LSB)
Octet 14 (MSB)
Context
- MIB
- HPNSASTORAGECAP-MIB
- OID
.1.3.6.1.4.1.11.2.23.15.4.1.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hpnsaSCHistEntry
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 'HPNSASTORAGECAP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSASTORAGECAP-MIB::hpnsaSCHistSample'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPNSASTORAGECAP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPNSASTORAGECAP-MIB::hpnsaSCHistSample.<hpnsaSCHistDriveIndex>.<hpnsaSCHistIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPNSASTORAGECAP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPNSASTORAGECAP-MIB::hpnsaSCHistSample'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 14-14