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
Net-SNMP examples
How SNMP and these commands workScalars 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
1 | online |
2 | offline |
3 | testing |
4 | faulty |