sysPowerSupplyType
SNR-SWITCH-MIB ·
.1.3.6.1.4.1.40418.7.100.1.7.1.6
Object
column Enumeration
Power supply type 0-na 1-ac 2-dc
Context
- MIB
- SNR-SWITCH-MIB
- OID
.1.3.6.1.4.1.40418.7.100.1.7.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sysPowerStateEntry
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 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::sysPowerSupplyType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNR-SWITCH-MIB::sysPowerSupplyType.<sysPowerSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNR-SWITCH-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNR-SWITCH-MIB::sysPowerSupplyType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | na |
1 | ac |
2 | dc |