bayRelay2Status
NETSURE-DISTRIB-MIB ·
.1.3.6.1.4.1.6302.4.1.2.1.12
Object
scalar RelayState
On/Off status of relay 2. 0=off 1=on
Context
- MIB
- NETSURE-DISTRIB-MIB
- OID
.1.3.6.1.4.1.6302.4.1.2.1.12- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- bay
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NETSURE-DISTRIB-MIB' -M '/opt/observium/mibs/vertiv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSURE-DISTRIB-MIB::bayRelay2Status.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETSURE-DISTRIB-MIB' -M '/opt/observium/mibs/vertiv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETSURE-DISTRIB-MIB::bayRelay2Status'
Syntax
- Source
- RelayState
- Base type
Enumeration
Values & Constraints
Type Values
0 | off |
1 | on |