switchingOperation
PDU2-MIB ·
.1.3.6.1.4.1.13742.6.4.1.2.1.2
Object
The switching operation: switch on, switch off or power-cycle.
Context
- MIB
- PDU2-MIB
- OID
.1.3.6.1.4.1.13742.6.4.1.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- outletSwitchControlEntry
- Groups
- 1
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 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDU2-MIB::switchingOperation'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDU2-MIB::switchingOperation.<pduId>.<outletId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDU2-MIB' -M '/opt/observium/mibs/raritan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDU2-MIB::switchingOperation'
Syntax
- Source
- OutletSwitchingOperationsEnumeration
- Base type
Enumeration
Values & Constraints
Type Values
0 | off |
1 | on |
2 | cycle |
Conformance
Member of