ntpEnable
THERMOSTAT-MIB ·
.1.3.6.1.4.1.57702.1.3.51
Object
Enables NTP time synchronization
Context
- MIB
- THERMOSTAT-MIB
- OID
.1.3.6.1.4.1.57702.1.3.51- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
enabled- Parent
- control
- Groups
- 1
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 'THERMOSTAT-MIB' -M '/opt/observium/mibs/nthermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'THERMOSTAT-MIB::ntpEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'THERMOSTAT-MIB' -M '/opt/observium/mibs/nthermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'THERMOSTAT-MIB::ntpEnable'
Syntax
- Source
- EnabledType
- Base type
Enumeration
Type Description
Indicates whether something is enabled or not
Values & Constraints
Type Values
1 | disabled |
2 | enabled |
Conformance
Member of