switchOperState

OBS ✓
SMC6152L2-MIB · .1.3.6.1.4.1.202.20.66.1.1.4

Object

scalar Enumeration
Global operation state of the switch.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Status
Explore Observium network monitoring

Context

MIB
SMC6152L2-MIB
OID
.1.3.6.1.4.1.202.20.66.1.1.4
Type
scalar
Access
readonly
Status
current
Parent
switchMgt

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SMC6152L2-MIB::switchOperState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SMC6152L2-MIB' -M '/opt/observium/mibs/smc:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SMC6152L2-MIB::switchOperState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2unknown
3ok
4noncritical
5critical
6nonrecoverable