cpqSm2EventLogDate
CPQSM2-MIB ·
.1.3.6.1.4.1.232.9.2.3.2.1.3
Object
column mandatory
OctetString
The time and date for this event log entry.
field octets contents range
===== ====== ======= =====
1 1-2 year 0..65536
2 3 month 1..12
3 4 day 1..31
4 5 hour 0..23
5 6 minute 0..59
6 7 second 0..60
(use 60 for leap-second)
This field will be set to year = 0 if the agent cannot provide
the time and date. The hour, minute, and second field will be set
to zero (0) if they are not relevant. The year field is set
with the most significant octet first.
Context
- MIB
- CPQSM2-MIB
- OID
.1.3.6.1.4.1.232.9.2.3.2.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- cpqSm2EventLogEntry
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 'CPQSM2-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSM2-MIB::cpqSm2EventLogDate'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQSM2-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQSM2-MIB::cpqSm2EventLogDate.<cpqSm2EventLogIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQSM2-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQSM2-MIB::cpqSm2EventLogDate'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 7-7