Related Documentation
- Standard SNMP MIBs Supported by Junos OS
- Juniper Networks Enterprise-Specific MIBs
- Juniper Networks Enterprise-Specific MIBs and Supported Devices
- SNMP MIB Objects Supported by Junos OS for the Set Operation
- Standard SNMP Traps Supported on Devices Running Junos OS
- Juniper Networks Enterprise-Specific SNMP Traps
Interpreting the Enterprise-Specific System Log MIB
System Log MIB
Event policies can include an action that raises traps for events based on system log messages. This feature enables notification of an SNMP trap-based application when an important system log message occurs. You can convert any system log message (for which there are no corresponding traps) into a trap. This feature is valuable for customers who use network management system traps rather than system log messages to monitor their networks. For more information about converting system log messages into traps, see the Junos OS Configuration and Operations Automation Guide.
The Juniper Networks enterprise-specific System Log MIB, whose object identifier is {jnxMibs 35}, provides support for this feature.
For a downloadable version of this MIB, see https://www.juniper.net/techpubs/en_US/junos13.2/topics/ reference/mibs/mib-jnx-syslog.txt .
For information about the enterprise-specific System Log MIB objects, see the following topics:
jnxSyslogTable
The jnxSyslogTable, whose object identifier is {jnxSyslog 1}, provides information about each system log message generated by the router.
The jnxSyslogEntry, whose object identifier is {jnxSyslogTable 1}, has nine objects, which are listed in Table 1. Each entry provides information about a single system log message.
Table 1: jnxSyslogTable
Object | Object Identifier | Description |
|---|---|---|
jnxSyslogID | jnxSyslogEntry 1 | System log message identifier. This identifier is a numerical value and cannot be consecutive. This identifier is also used as the primary index in jnxSyslogAttrValTable. |
jnxSyslogEventName | jnxSyslogEntry 2 | An octet string that contains the system log event name. |
jnxSyslogTimestamp | jnxSyslogEntry 3 | Time the message was generated. This value is expressed as DateAndTime. |
jnxSyslogSeverity | jnxSyslogEntry 4 | Severity of the system log message. The severity value is equal to the value that the system log uses + 1. For example, an emergency message (severity 0 in the system log) has a severity of 1. Severity values include:
|
jnxSyslogFacility | jnxSyslogEntry 5 | Identifies the facility used to generate the log message. (See Table 2.) |
jnxSyslogProcessID | jnxSyslogEntry 6 | Process ID of the process that generated the system log message. |
jnxSyslogProcessName | jnxSyslogEntry 7 | Process that generated the system log message. |
jnxSyslogHostName | jnxSyslogEntry 8 | Hostname of the machine that generated the system log. |
jnxSyslogMessage | jnxSyslogEntry 9 | System log message that was generated. |
Table 2 lists the facilities that generate system log messages.
Table 2: Facilities That Generate System Log Messages
Index | Item | Description |
|---|---|---|
1 | kernel | Kernel messages |
2 | user | User level messages |
3 | Mail system | |
4 | daemon | System processes |
5 | auth | Authorization messages |
6 | syslog | Messages generated by the system log process (syslogd) |
7 | lpr | Line printer subsystem |
8 | news | Network news subsystem |
9 | uucp | UUCP subsystem |
10 | cron | Clock process |
11 | authPriv | Authorization messages |
12 | ftp | FTP process |
13 | ntp | NTP subsystem |
14 | security | Security subsystems (for example, firewall) |
15 | console | /dev/console output |
16 | reserved | Reserved for system use |
17 | loca10 | – |
18 | dfc | Junos names |
19 | loca12 | – |
20 | firewall | Junos names |
21 | pfe | Junos names |
22 | conflict | Junos names |
23 | change | Junos names |
24 | interact | Junos names |
jnxSyslogAvTable
The jnxSyslogAvTable, whose object identifier is {jnxSyslogNotifyVars 2}, provides information about each system log message generated by the router.
The jnxSyslogAvEntry, whose object identifier is {jnxSyslogAvTable 1}, has three objects, which are listed in Table 3. Each entry provides information about attribute value pairs of system log messages generated by a device.
Table 3: jnxSyslogAvTable
Object | Object Identifier | Description |
|---|---|---|
jnxSyslogAvIndex | jnxSyslogAvEntry 1 | Index for the attribute value pair in the system log message. |
jnxSyslogAvAttribute | jnxSyslogAvEntry 2 | Attribute of the system log message (identified by jnxSyslogID). |
jnxSyslogAvValue | jnxSyslogAvEntry 3 | Value of the attribute (identified by jnxSyslogAvAttribute). |
Related Documentation
- Standard SNMP MIBs Supported by Junos OS
- Juniper Networks Enterprise-Specific MIBs
- Juniper Networks Enterprise-Specific MIBs and Supported Devices
- SNMP MIB Objects Supported by Junos OS for the Set Operation
- Standard SNMP Traps Supported on Devices Running Junos OS
- Juniper Networks Enterprise-Specific SNMP Traps