sensorName
APNL-MODULAR-PDU-MIB ·
.1.3.6.1.4.1.29640.4.3.34.1.10
Object
column r/w
OctetString
The sensor name. May be set by the manager.
Context
- MIB
- APNL-MODULAR-PDU-MIB
- OID
.1.3.6.1.4.1.29640.4.3.34.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- sensorEntry
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 'APNL-MODULAR-PDU-MIB' -M '/opt/observium/mibs/apnl:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'APNL-MODULAR-PDU-MIB::sensorName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'APNL-MODULAR-PDU-MIB' -M '/opt/observium/mibs/apnl:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'APNL-MODULAR-PDU-MIB::sensorName.<sensorIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'APNL-MODULAR-PDU-MIB' -M '/opt/observium/mibs/apnl:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'APNL-MODULAR-PDU-MIB::sensorName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-12