qtechTimeRangePeriodQtech
QTECH-TIME-MIB ·
.1.3.6.1.4.1.27514.1.1.10.2.15.2.1.1.2
Object
The qteching time period for this filter. In addition to a normal DateAndTime string, this object may be set to the OCTET STRING value THISANDPRIOR which indicates that the filter is valid from any time before now up until (at least) now.
Context
- MIB
- QTECH-TIME-MIB
- OID
.1.3.6.1.4.1.27514.1.1.10.2.15.2.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
0x0000010100000000- Parent
- qtechTimeRangeEntry
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 'QTECH-TIME-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-TIME-MIB::qtechTimeRangePeriodQtech'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-TIME-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-TIME-MIB::qtechTimeRangePeriodQtech.<qtechTimeRangeName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-TIME-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-TIME-MIB::qtechTimeRangePeriodQtech'
Syntax
- Source
- SNMPv2-TCDateAndTime
- Base type
OctetString- Display format
2d-1d-1d,1d:1d:1d.1d,1a1d:1d
Type Description
A date-time specification.
field octets contents range
----- ------ -------- -----
1 1-2 year* 0..65536
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minutes 0..59
6 7 seconds 0..60
(use 60 for leap-second)
7 8 deci-seconds 0..9
8 9 direction from UTC '+' / '-'
9 10 hours from UTC* 0..13
10 11 minutes from UTC 0..59
* Notes:
- the value of year is in network-byte order
- daylight saving time in New Zealand is +13
For example, Tuesday May 26, 1992 at 1:30:15 PM EDT would be
displayed as:
1992-5-26,13:30:15.0,-4:0
Note that if only local time is known, then timezone
information (fields 8-10) is not present.
Values & Constraints
Type Constraints
range: 8
range: 11