-->
edocs Home > Oracle WebLogic Server Documentation > Administration Console Online Help > Use SNMP to monitor WebLogic

Use SNMP to monitor WebLogic Server


You can use Simple Network Management Protocol (SNMP) to provide monitoring data to enterprise-wide management systems. With SNMP, you configure agents to gather and send data about managed resources in response to a request from managers. You can also configure agents to issue unsolicited reports to managers when they detect predefined thresholds or conditions on a managed resource.

WebLogic Server SNMP agents query the WebLogic Server management system and communicate the results over the SNMP protocol. The WebLogic Server management system exposes management data through a collection of managed beans (MBeans). When a WebLogic Server SNMP agent receives a request from a manager, it determines which MBean corresponds to the OID in the manager’s request. Then it retrieves the data and wraps it in an SNMP response.

In each WebLogic Server domain, you can create multiple SNMP agents and organize them into a centralized or de-centralized model for SNMP monitoring and communication:

  • In a centralized model, you configure an SNMP agent only on the Administration Server. This agent communicates with all Managed Servers in the domain. Your SNMP manager communicates only with the SNMP agent on the Administration Server. This model is convenient but introduces performance overhead in WebLogic Server. In addition, if the Administration Server is unavailable, you cannot monitor the domain through SNMP.

  • In a de-centralized model, you configure SNMP agents on each Managed Server. Your SNMP manager must communicate with the agents on individual Managed Servers.

Note: To support domains that were created with WebLogic Server release 9.2 and earlier, you can enable and use the domain-scoped SNMP agent instead of configuring SNMP agents on the Administration Server or Managed Servers (server SNMP agents). The domain-scoped agent offers the same features as the server SNMP agent in the centralized model described above. However, its underlying implementation is different and it will eventually be deprecated. The domain-scoped agent is overridden if you target a server SNMP agent to the Administration Server.

You can also use WebLogic Server SNMP agents 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.

    To request data about a specific managed resource, a manager must be able to uniquely identify the resource. In SNMP, each managed resource is described in a Management Information Base (MIB) module as a managed object with a unique object identifier (OID). Both manager and agent must have access to the same MIB module to communicate about specific managed resources.

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

    WebLogic Server installs its MIB module 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. Create SNMP agents.

  4. (Optional) Configure each SNMP agent to actively monitor and send notifications to SNMP managers when events that you define occur:

    1. Create trap destinations.

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

    2. (Optional) Configure the SNMP agent to send INFORM notifications instead of TRAP notifications. See Configure INFORM notifications.

    3. To send notifications immediately after a configuration attribute in a WebLogic Server resource is changed in any way, Create attribute changes.

    4. To periodically poll resources and send notifications when specific runtime or configuration attribute values change in a specific way, Create SNMP monitors.

    5. To send notifications when a server instance emits specific log messages, Create SNMP log filters.

Related Tasks

Related Topics

} } (document.images){ dcs_imgarray[dcs_ptr] = new Image; dcs_imgarray[dcs_ptr].src = dcs_src; WT[myMeta.name.substring(3)]=myMeta.content; } if DCSext[myMeta.name.substring(7)]=myMeta.content; } } } } for (N in DCS){P+=A( N, DCS[N]);} for (N in WT){P+=A( "WT."+N, WT[N]);} for (N in DCSext){P+=A( N, DCSext[N]);} //} aCrumb=aCookie[i].split("="); if (crumb==aCrumb[0]){ return aCrumb[1]; } } return null; } i=0;i