hm2PSUSlotProductCode
HM2-PWRMGMT-MIB ·
.1.3.6.1.4.1.248.11.11.1.1.10.1.6
Object
The product code of the associated power supply slot module.
Context
- MIB
- HM2-PWRMGMT-MIB
- OID
.1.3.6.1.4.1.248.11.11.1.1.10.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hm2PSUSlotInfoEntry
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 'HM2-PWRMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PWRMGMT-MIB::hm2PSUSlotProductCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PWRMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PWRMGMT-MIB::hm2PSUSlotProductCode.<hm2PSUSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PWRMGMT-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PWRMGMT-MIB::hm2PSUSlotProductCode'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255