cntpSysSrvStatus

CISCO-NTP-MIB · .1.3.6.1.4.1.9.9.168.1.1.11

Object

scalar Enumeration
Current state of the NTP server with values coded as follows:
1: server status is unknown
2: server is not running
3: server is not synchronized to any time source
4: server is synchronized to its own local clock
5: server is synchronized to a local hardware refclock (e.g. GPS)
6: server is synchronized to a remote NTP server

Context

MIB
CISCO-NTP-MIB
OID
.1.3.6.1.4.1.9.9.168.1.1.11
Type
scalar
Access
readonly
Status
current
Parent
cntpSystem
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NTP-MIB::cntpSysSrvStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-NTP-MIB::cntpSysSrvStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2notRunning
3notSynchronized
4syncToLocal
5syncToRefclock
6syncToRemoteServer

Conformance