swOperStatus

OBS ✓
SWSYSTEM-MIB · .1.3.6.1.4.1.1588.2.1.1.1.1.7

Object

scalar Enumeration
The current operational status of the switch.
The states are as follow:
o online(1) means the switch is accessible by an external
  port;
o offline(2) means the switch is not accessible;
o testing(3) means the switch is in a built-in test mode
  and is not accessible by an external port;
o faulty(4) means the switch is not operational.
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
SWSYSTEM-MIB
OID
.1.3.6.1.4.1.1588.2.1.1.1.1.7
Type
scalar
Access
readonly
Status
current
Parent
swSystem

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1online
2offline
3testing
4faulty