sntpCurrentSource

MX-HOC-MIB · .0.700.1.400.750

Object

Current Source
          
The IP address and port of the last NTP server used to
synchronise the system time. An empty value indicates that no
servers have been successfully contacted since the last
service restart.

Context

MIB
MX-HOC-MIB
OID
.0.700.1.400.750
Type
scalar
Access
readonly
Status
current
Parent
sntpGroup

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

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

Syntax

Source
MX-TC2MxIpHostNamePort
Base type
OctetString

Values & Constraints

Type Constraints
range: 0..255