hh3cNTPSysClockSec
HH3C-NTP-MIB ·
.1.3.6.1.4.1.25506.8.22.1.1.18
Object
scalar SNMPv2-SMIInteger32
This is the current local time, in integer format. Local time is derived from the hardware clock of the particular machine and increments at intervals depending on the design used.
Context
- MIB
- HH3C-NTP-MIB
- OID
.1.3.6.1.4.1.25506.8.22.1.1.18- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hh3cNTPSystemMIBObjects
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 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPSysClockSec.0'
More examples
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::hh3cNTPSysClockSec'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647