swDevInfoSystemUpTime
SWL2MGMT-MIB ·
d-link variant
·
.0.2.1.1.1
Object
scalar SNMPv2-SMITimeTicks
The value of sysUpTime at the time the switch entered its current operational state. If the current state was entered prior to the last re-initialization, then this object contains a zero value. This value is in units of seconds.
Context
- MIB
- SWL2MGMT-MIB
- OID
.0.2.1.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- swL2DevInfo
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 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWL2MGMT-MIB::swDevInfoSystemUpTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWL2MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWL2MGMT-MIB::swDevInfoSystemUpTime'
Syntax
- Source
- SNMPv2-SMITimeTicks
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295