portState

OBS ✓
OMNITRON-MIB · .1.3.6.1.4.1.7342.2.1.4.1.2

Object

column r/w Enumeration
Used to get or set state of port.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Ports
Explore Observium network monitoring

Context

MIB
OMNITRON-MIB
OID
.1.3.6.1.4.1.7342.2.1.4.1.2
Type
column
Access
readwrite
Status
current
Parent
modulePortsEntry
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::portState'
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::portState.<modchassnum>.<modslotnum>.<portnum>'
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::portState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0undefined
1disabled
2enabled
3unused

Conformance

Member of