ntpPrimaryServer
CM-SYSTEM-MIB ·
.1.3.6.1.4.1.2544.1.12.2.1.10.2
Object
IP address of the primary remote NTP time server. Value of 0.0.0.0 indicates the NTP server is not configured.
Context
- MIB
- CM-SYSTEM-MIB
- OID
.1.3.6.1.4.1.2544.1.12.2.1.10.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- cmTimeObjects
- Groups
- 2
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 'CM-SYSTEM-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-SYSTEM-MIB::ntpPrimaryServer.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-SYSTEM-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-SYSTEM-MIB::ntpPrimaryServer'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of