devNTPEnable
PDN-DEVICE-TIME-MIB ·
.1.3.6.1.4.1.1795.2.24.2.20.1.2.4
Object
scalar mandatory
r/w
Enumeration
Indicates whether or not the local clock is synchronized via NTP/SNTP. When set to enabled(1), NTP/SNTP is operational and will attempt to synchronize the local clock based on the message(s) received from an NTP/SNTP server. Default value is enabled(1).
Context
- MIB
- PDN-DEVICE-TIME-MIB
- OID
.1.3.6.1.4.1.1795.2.24.2.20.1.2.4- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- devNTP
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 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PDN-DEVICE-TIME-MIB::devNTPEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PDN-DEVICE-TIME-MIB' -M '/opt/observium/mibs/paradyne:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PDN-DEVICE-TIME-MIB::devNTPEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |