Administration Console Online Help

    Previous Next  Open TOC in new window 
Content starts here

Use SNMP to monitor WebLogic Server

WebLogic Server can use Simple Network Management Protocol (SNMP) to communicate with enterprise-wide management systems. In each WebLogic Server domain the Administration Server hosts an SNMP agent, which gathers management data from WebLogic Server MBeans throughout the domain, converts it to SNMP communication modules (traps), and forwards the traps to SNMP managers.

A managed bean (MBean) is a Java bean that provides a generic management interface based on Java Management Extensions (JMX). All WebLogic resources are instrumented as MBeans and the WebLogic SNMP agent uses their JMX interface to retrieve monitoring data. An SNMP manager is a software component that receives traps. SNMP managers can be packaged within GUI management consoles or can direct their output to scripts or APIs. WebLogic Server includes a simple, Java-based SNMP manager that runs on the command line. See WebLogic SNMP Agent Command-Line Reference.

You can also use the WebLogic SNMP agent to collect SNMP requests from various network resources and forward them to other SNMP agents. See Create SNMP proxies.

You cannot use SNMP to change the configuration of a domain.

To configure SNMP monitoring for WebLogic Server:

  1. In your SNMP managers, load the WebLogic MIB.

    For information about loading a MIB, refer to the documentation that the vendors of your SNMP managers supply.

    WebLogic Server installs its MIB as WL_HOME\server\lib\ BEA-WEBLOGIC-MIB.asn1, where WL_HOME is the directory in which you installed WebLogic Server.

  2. Start the Administration Server for your domain.
  3. Configure the SNMP agent.
  4. Create trap destinations.

    A trap destination contains the information that the WebLogic SNMP agent needs to send traps to an SNMP manager.

  5. Configure WebLogic Server to generate traps:
    • If you want WebLogic Server to send traps to SNMP managers immediately after a configuration attribute in a WebLogic resource is changed in any way, Create attribute changes.
    • If you want WebLogic Server to periodically poll resources and send traps to SNMP managers when specific runtime or configuration attribute values change in a specific way, Create SNMP monitors. Creating a WebLogic Server SNMP monitor offloads polling of WebLogic resources from the SNMP manager to the Administration Server.
    • If you want WebLogic Server to generate traps when a server instance emits specific log messages, Create SNMP log filters.

Related Tasks

Related Topics

  Back to Top