switchOperState

OBS ✓
fs-MIB · .1.3.6.1.4.1.52642.2.1.45.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
fs-MIB
OID
.1.3.6.1.4.1.52642.2.1.45.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 'fs-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'fs-MIB::switchOperState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'fs-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'fs-MIB::switchOperState'

Syntax

Enumeration

Values & Constraints

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