es2126NTPTimeSync
LANCOM-ES-2126-MIB ·
.1.3.6.1.4.1.2356.800.2.2126.1.1.3.5
Object
scalar r/w
Integer32
Sync time from NTP Server. Get this OID always return zero. Set the Time Server and Time Zone before doing time sync. Notice that time server must be correct! Value range (1|0): 1 - Sync. 0 - do nothing.
Context
- MIB
- LANCOM-ES-2126-MIB
- OID
.1.3.6.1.4.1.2356.800.2.2126.1.1.3.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- es2126Time
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 'LANCOM-ES-2126-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ES-2126-MIB::es2126NTPTimeSync.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ES-2126-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ES-2126-MIB::es2126NTPTimeSync'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1