Generating an SNMP trap

WebLogic provides Simple Network Management Protocol (SNMP) standards to monitor the domain, Managed Servers, and applications the same way the exposed MBean's attributes were monitored in the last recipe using WLDF.

In this recipe, an SNMP agent will be added to monitor all Managed Servers of the PROD_Domain, watching for the same QueueLength attribute of the ThreadPoolRuntime MBean.

An SNMP trap will be triggered by adding a gauge monitor to verify if the QueueLength value is above 100.

Getting ready

The Server SNMP agent called PROD_SNMPAgent will be created using the Administration Console, so make sure the Administration Server is running.

This recipe assumes there is an SNMP Manager listening for an SNMP trap at the hostname ...

Get Oracle WebLogic Server 12c Advanced Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.