teTunnelPrimaryTimeUp
TE-MIB ·
.1.3.6.1.2.1.122.1.2.1.18
Object
column SNMPv2-SMITimeTicks
The total time in hundredths of a second that this
Tunnel's primary path 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 field would be to
compute what percentage of time that a TE Tunnel was
on the primary path over a period of time by
computing
((teTunnelPrimaryTimeUp2 - teTunnelPrimaryTimeUp1)/
(teTunnelTimeUp2 - teTunnelTimeUp1))*100 %. In
doing so, the management station must account for
wrapping of the values of teTunnelPrimaryTimeUp and
teTunnelTimeUp between the two measurements.
Context
- MIB
- TE-MIB
- OID
.1.3.6.1.2.1.122.1.2.1.18- 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::teTunnelPrimaryTimeUp'
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::teTunnelPrimaryTimeUp.<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::teTunnelPrimaryTimeUp'
Syntax
- Source
- SNMPv2-SMITimeTicks
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of