hh3cNTPPeerRec
HH3C-NTP-MIB ·
.1.3.6.1.4.1.25506.8.22.2.1.1.1.19
Object
column OctetString
This is the local time, in timestamp format, when the latest NTP message from the peer arrived. If the peer becomes unreachable the value is set to zero.
Context
- MIB
- HH3C-NTP-MIB
- OID
.1.3.6.1.4.1.25506.8.22.2.1.1.1.19- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cNTPPeerEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPPeerRec'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPPeerRec.<hh3cNTPPeerRemAdr>.<hh3cNTPPeerHMode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NTP-MIB::hh3cNTPPeerRec'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-128