sRPCAllOutletsCmd
Baytech-MIB-401-4 ·
.1.3.6.1.4.1.4779.1.3.5.5.1.12
Object
column mandatory
r/w
Enumeration
Turns all outlets on, off or reboot.
0 = off
1 = on
2 = reboot
3 = lockon (will lock outlets to on state)
4 = lockoff (will lock outlets to off state)
5 = unlock (will unlock all outlets)
A get will return unknown (6).
Context
- MIB
- Baytech-MIB-401-4
- OID
.1.3.6.1.4.1.4779.1.3.5.5.1.12- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- sBTAModulesRPCModPortEntry
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 'Baytech-MIB-401-4' -M '/opt/observium/mibs/baytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Baytech-MIB-401-4::sRPCAllOutletsCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Baytech-MIB-401-4' -M '/opt/observium/mibs/baytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Baytech-MIB-401-4::sRPCAllOutletsCmd.<sRPCModuleIndex>.<sRPCPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Baytech-MIB-401-4' -M '/opt/observium/mibs/baytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Baytech-MIB-401-4::sRPCAllOutletsCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | off |
1 | on |
2 | reboot |
3 | lockon |
4 | lockoff |
5 | unlock |
6 | unknown |