npRelayMode
DKSF-PWR-MIB ·
.1.3.6.1.4.1.25728.5500.5.1.2
Object
column r/w
Enumeration
Control of relay: -1 - flip between on(1) and off(0) 0 - manual off 1 - manual on 2 - watchdog 3 - schedule 4 - both schedule and watchdog (while switched on by schedule) 5 - logic
Context
- MIB
- DKSF-PWR-MIB
- OID
.1.3.6.1.4.1.25728.5500.5.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- npRelayEntry
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 'DKSF-PWR-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DKSF-PWR-MIB::npRelayMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DKSF-PWR-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DKSF-PWR-MIB::npRelayMode.<npRelayN>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DKSF-PWR-MIB' -M '/opt/observium/mibs/netping:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DKSF-PWR-MIB::npRelayMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | flip |
0 | off |
1 | on |
2 | watchdog |
3 | schedule |
4 | scheduleAndWatchdog |
5 | logic |