[Contents] [Prev] [Next] [Index] [Report an Error]

Referencing Nonstandard Events

Some of the system log messages that you can reference in an event policy are not listed in the output of the set event-options policy policy-name events ? command. These system log messages have an event ID and a message attribute. Event IDs are based on the origin of the message, as shown in Table 22.

Table 22: Event ID by System Log Message Origin

Event IDs

Origin

SYSTEM

Messages from UNIX domain sockets

KERNEL

Messages from the kernel

PIC

Messages from PICs

PFE

Messages from the Packet Forwarding Engine

LCC

On a TX Matrix platform, messages from as line-card chassis (LCC)

SCC

On a TX Matrix platform, messages from a switch-card chassis (SCC)

To base your event policy on the event types shown in Table 22, include the events event-id statement and the attributes-match statement with the event-id.message matches "message" attribute at the [edit event-options policy policy-name] hierarchy level:

[edit event-options policy policy-name]
events event-id;
attributes-match {
event-id.message matches "message";
}

For a configuration example, see Referencing Nonstandard Events.


[Contents] [Prev] [Next] [Index] [Report an Error]