zxAnSysNtpStatusCurrentState
ZTE-AN-SYS-MIB ·
.1.3.6.1.4.1.3902.1015.1.1.101.4.6
Object
scalar Enumeration
The current state of the NTP.
Context
- MIB
- ZTE-AN-SYS-MIB
- OID
.1.3.6.1.4.1.3902.1015.1.1.101.4.6- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- zxAnSysNtpMgmt
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 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SYS-MIB::zxAnSysNtpStatusCurrentState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SYS-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SYS-MIB::zxAnSysNtpStatusCurrentState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unknown |
2 | notRunning |
3 | notSynchronized |
4 | noneConfigured |
5 | syncToLocal |
6 | syncToRefclock |
7 | syncToRemoteServer |