switchstat

OMNITRON-MIB · .1.3.6.1.4.1.7342.1.1.1.12

Object

The status of any DIP switches on the module.
DIP switch 1 is switchstat.0,
DIP switch 2 is switchstat.1,
DIP switch 3 is switchstat.2, etc.
              
DIP switch bank 1 is switches 0-7
DIP switch bank 2 is switches 8-15
              
Front panel switches start at switchstat.7 for the top switch,
switchstat.6 for the next switch, etc.

Context

MIB
OMNITRON-MIB
OID
.1.3.6.1.4.1.7342.1.1.1.12
Type
column
Access
readonly
Status
current
Parent
chassisEntry
Groups
1

Walk 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 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::switchstat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-MIB::switchstat.<chassisnum>.<slotnum>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-MIB::switchstat'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance

Member of