cntpSysClock
CISCO-NTP-MIB ·
.1.3.6.1.4.1.9.9.168.1.1.10
Object
scalar NTPTimeStamp
The current local time. Local time is derived from the hardware clock of the particular machine and increments at intervals depending on the design used.
Context
- MIB
- CISCO-NTP-MIB
- OID
.1.3.6.1.4.1.9.9.168.1.1.10- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- cntpSystem
- Groups
- 1
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 'CISCO-NTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-NTP-MIB::cntpSysClock.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::cntpSysClock'
Syntax
- Source
- NTPTimeStamp
- Base type
OctetString
Values & Constraints
Type Constraints
range: 8
Conformance
Member of