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 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.