Administration Console Online Help

Create SNMP log
filters

An SNMP log filter configures a
WebLogic Server SNMP agent to listen for log messages that a server
instance broadcasts. When the agent receives a message, it generates an
SNMP notification.

To create a log filter:

If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).

In the
Administration Console, under Domain Structure,
expand Diagnostics and select
SNMP.

On the
Summary of SNMP Agents page, in the
Server SNMP Agents table, click the name of an
SNMP agent.

On the SNMP Agent: Configuration: General
page, click the Log Filters sub-tab.

On the
SNMP Log Filters page, click
New.

Note: Once you create a log filter, you cannot rename
it. Instead, you must delete it and create another one that uses the
new name.

On the
Create a new SNMP Log Filter page, enter a log
filter name, then click OK.

On the SNMP Log Filters page, click the new
log filter name.

On the SNMP Log Filters: General page, enter
criteria that cause the SNMP agent to generate notifications.

The fields on this page
correspond to fields within WebLogic Server log messages. For more
information about these fields, refer to Configuration Options.

For example, any time you change the configuration of a server
instance, the server prints a log message with a message ID of
BEA-140009 and
severity INFO. (You
can see this message ID and severity level by changing a value in
the Administration Console and then viewing the server's log file.
For more information, refer to View server logs.)

If you want WebLogic Server
to generate a notification when a server instance prints this log
message, in the Severity field enter
INFO, and in the Message
ID field, enter BEA-140009 or
140009.

Or, if you want the SNMP
agent to generate notifications when the Security Service generates
any message, in the Severity field enter
Info, and in the Subsystem
Names field enter Security.

To activate these changes, in the Change Center of the Administration Console, click Activate Changes. Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

If you plan to target the SNMP agent that contains this log filter to
the Administration Server, specify on which servers in the domain you
want this log filter to listen. See Target attribute
changes.