teTunnelTimeUp
TE-MIB ·
.1.3.6.1.2.1.122.1.2.1.17
Object
column SNMPv2-SMITimeTicks
The total time in hundredths of a second that this
Tunnel has been operational. Note that because
TimeTicks wrap in about 16 months, this value is
best used in interval measurements.
An example of usage of this object would be to
compute the percentage up time over a period of time
by obtaining values of teTunnelAge and
teTunnelTimeUp at two points in time and computing
the following ratio:
((teTunnelTimeUp2 - teTunnelTimeUp1)/
(teTunnelAge2 - teTunnelAge1)) * 100 %. In doing
so, the management station must account for
wrapping of the values of teTunnelAge and
teTunnelTimeUp between the two measurements.
Context
- MIB
- TE-MIB
- OID
.1.3.6.1.2.1.122.1.2.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- teTunnelEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'TE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TE-MIB::teTunnelTimeUp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TE-MIB::teTunnelTimeUp.<teTunnelIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TE-MIB::teTunnelTimeUp'
Syntax
- Source
- SNMPv2-SMITimeTicks
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of