Using the SNMP Agent

In order to use WebLogic’s SNMP agent, it needs to be enabled and configured using the Administration Console. To do this, select the Services/SNMP node from the left pane of the Administration Console and then select the SNMP tab. Check the Enabled option and set the SNMP Port on which the SNMP agent will be available. Ensure that the port number for the SNMP agent is available. It may happen that the default value for the port, 161, is already used by the operating system on which you have deployed WebLogic. Table 22-1 lists the other configuration settings that are available for the SNMP agent.

Table 22-1. Configuration options for WebLogic’s SNMP agent

Option

Description

Management Information Base (MIB) Data Refresh Interval

The MIB agent caches requested MIB values. This option defines the minimum number of seconds that the values will be cached before the agent attempts to refresh them.

Community Prefix

This option defines the community prefix that is used to form the community name. It defaults to public.

Debug Level

This can configure the agent to output debug information. A value of 0 means that no debug information will be sent, 1 indicates that fatal information will be sent, 2 indicates critical information, and 3 indicates noncritical information.

Trap Version

This option specifies whether the traps that are generated conform to the SNMPv1 or SNMPv2 protocol. It defaults to SNMPv1.

Send Automatic Traps Enabled

This option, which defaults ...

Get WebLogic: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.