agentSNTPBootTime
COMPAQ-AGENT-MIB ·
.1.3.6.1.4.1.232.161.3.1.7.9
Object
The boot time of the switch is equal to subtract systemUpTime from agentSNTPNetworkTime
Context
- MIB
- COMPAQ-AGENT-MIB
- OID
.1.3.6.1.4.1.232.161.3.1.7.9- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- agentSNTP
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 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'COMPAQ-AGENT-MIB::agentSNTPBootTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'COMPAQ-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'COMPAQ-AGENT-MIB::agentSNTPBootTime'
Syntax
- Source
- RFC1213-MIBDisplayString
- Base type
OctetString
Values & Constraints
Object Constraints
range: 0-32