cntpSysPeer

CISCO-NTP-MIB · .1.3.6.1.4.1.9.9.168.1.1.9

Object

The current synchronization source.  This will
contain the unique association identifier
cntpPeersAssocId of the corresponding peer entry in
the cntpPeersVarTable of the peer acting as the
synchronization source.  If there is no peer, the
value will be 0.

Context

MIB
CISCO-NTP-MIB
OID
.1.3.6.1.4.1.9.9.168.1.1.9
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::cntpSysPeer.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::cntpSysPeer'

Syntax

Source
NTPAssocIdentifier
Base type
Integer32

Values & Constraints

Type Constraints
range: 0..2147483647

Conformance