ntpEntStatusEntityUptime
NTPv4-MIB ·
.1.3.6.1.2.1.197.1.2.8
Object
scalar SNMPv2-SMITimeTicks
The uptime of the NTP entity, (i.e., the time since ntpd was (re-)initialized not sysUptime!). The time is represented in hundreds of seconds since Jan 1, 1970 (00:00:00.000) UTC.
Context
- MIB
- NTPv4-MIB
- OID
.1.3.6.1.2.1.197.1.2.8- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ntpEntStatus
- 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 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NTPv4-MIB::ntpEntStatusEntityUptime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NTPv4-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NTPv4-MIB::ntpEntStatusEntityUptime'
Syntax
- Source
- SNMPv2-SMITimeTicks
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of