swDeviceStatus
SW-MIB ·
.1.3.6.1.4.1.1588.2.1.1.1.1.36
Object
scalar Enumeration
This represents the attached device status. The status will change whenever port/node goes to online/offline
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 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SW-MIB::swDeviceStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SW-MIB' -M '/opt/observium/mibs/brocade:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SW-MIB::swDeviceStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | login |
2 | logout |
3 | unknown |