cpTime
LUXN-MIB ·
.1.3.6.1.4.1.4253.1.2.18
Object
Current Time on the Active Communication Processor. The format is in the form of hh:mm:ss in which hh is the hour, mm is the minute and ss is the second. The valid values for hour goes from 0 to 23. In order to work with LuxN NMS, it needs to be set to GMT time
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 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::cpTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::cpTime'
Syntax
- Source
- DateAndTime
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..20