sensorSwitchAdminStatus
APNL-MODULAR-PDU-MIB ·
.1.3.6.1.4.1.29640.4.3.34.1.6
Object
column r/w
Enumeration
The desired admin Status of the switch.
Context
- MIB
- APNL-MODULAR-PDU-MIB
- OID
.1.3.6.1.4.1.29640.4.3.34.1.6- 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::sensorSwitchAdminStatus'
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::sensorSwitchAdminStatus.<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::sensorSwitchAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unknown |
1 | off |
2 | on |