syslogMsgTimeStamp
SYSLOG-MSG-MIB ·
.1.3.6.1.2.1.192.1.2.1.5
Object
column SyslogTimeStamp
The timestamp of the SYSLOG message. A zero-length string is returned if the timestamp is unknown.
Context
- MIB
- SYSLOG-MSG-MIB
- OID
.1.3.6.1.2.1.192.1.2.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- syslogMsgEntry
- Groups
- 1
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 'SYSLOG-MSG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSLOG-MSG-MIB::syslogMsgTimeStamp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SYSLOG-MSG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SYSLOG-MSG-MIB::syslogMsgTimeStamp.<syslogMsgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SYSLOG-MSG-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SYSLOG-MSG-MIB::syslogMsgTimeStamp'
Syntax
- Source
- SyslogTimeStamp
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0
range: 10
range: 13
Conformance
Member of
Compliance refinements
syslogMsgNotificationCompliance
notifyonly
Read access is not required.