syslogMsgMsgID
SYSLOG-MSG-MIB ·
.1.3.6.1.2.1.192.1.2.1.9
Object
column OctetString
The msgid of the SYSLOG message. A zero-length string indicates an unknown msgid. The SYSLOG protocol specification constrains this string to printable US-ASCII code points.
Context
- MIB
- SYSLOG-MSG-MIB
- OID
.1.3.6.1.2.1.192.1.2.1.9- 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::syslogMsgMsgID'
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::syslogMsgMsgID.<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::syslogMsgMsgID'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-32
Conformance
Member of
Compliance refinements
syslogMsgNotificationCompliance
notifyonly
Read access is not required.