ntpEntStatusCurrentModeVal
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.25.1.2.2
Object
scalar Enumeration
The current mode of the NTP as integer value.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.25.1.2.2- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ntpEntStatus
- 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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::ntpEntStatusCurrentModeVal.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::ntpEntStatusCurrentModeVal'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | notRunning |
2 | notSynchronized |
3 | noneConfigured |
4 | syncToLocal |
5 | syncToRefclock |
6 | syncToRemoteServer |
99 | unknown |
Conformance
Member of