Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Event Notifications and Policies Overview

To diagnose a fault or error condition on a device, you need relevant information about the state of the platform. You can derive state information from event notifications. Event notifications are system log messages and SNMP traps. A Junos OS process called the event process (eventd) receives event notifications—henceforth simply called events— from other Junos OS processes.

Timely diagnosis and intervention can correct error conditions and keep the device in operation. After the eventd process receives events, event policies instruct the eventd process to select specific events, correlate the events, and perform a set of actions. These actions can either help you diagnose a fault or take corrective action. For example, the eventd process can upload device files to a given destination and issue operational mode commands.

Events can originate as SNMP traps or system log messages. The event process receives event messages from other Junos OS processes, such as the routing protocol process (rpd) and the management process (mgd). Depending on the custom event policy you configure, eventd listens for specific events and in response to these events might create a log file, invoke a Junos command, or invoke an event script. When an event script is invoked, event details are passed to the event script in the form of XML inputs.

Figure 1 shows how the event process (eventd) interacts with other Junos OS processes.

Figure 1: Interaction of eventd Process with Other Junos OS Processes

Interaction of eventd Process with
Other Junos OS Processes

Published: 2013-03-05

Published: 2013-03-05