Create WebLogic Diagnostic Image With Metric Thresholds

My colleague Jeff West pointed me to Stack Overflow today where someone had a question about how to take a thread dump when a certain condition was present.  In their case, they are trying to troubleshoot a low thread count.  Their monitoring tools were missing the critical time window and by the time the thread dump was taken, the threads had recovered.  I thought this would be a great opportunity to see if a Diagnostic Image would contain a thread dump (yes it does), and whether I could automatically set WebLogic to create the Diagnostic Image easily when this condition was present (yes it is).  Below is the image illustrating the issue they were trying to solve.

Check out this recording if you want to know more about triggering actions when certain conditions are met automatically with WebLogic Server.  I show a WebLogic Diagnostic Framework (WLDF) System Module, configure a Notification and a Watch based on a JMX metric threshold.  The Watch has with an Alarm with a manual reset (via JMX/WLST) so that the Watch will not fire again until I reset it although you can also choose not to have Alarms or have them reset automatically after a time period. 

I encourage you to watch this video in 720p mode or higher for clarity.  You can change that using the menu at the bottom right video widget.  It will not display correctly in this blog template when using 720p mode.

Comments:

In addition to creating a Diagnostic Image if customers are running FMW 11g they can also create a diagnostic Incident, via a WLDF Watch rule, that will capture both the Diagnostic Image and FMW specific diagnostics.

For information on how to configure this refer to Section 13.3.2 "Diagnosing Problems" in the "Oracle® Fusion Middleware Administrator's Guide". Out of the box a number of pre-configured Watch rules are defined for FMW that will automatically generate an Incident.

Posted by guest on July 13, 2011 at 08:28 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

James Bayer Image
I was formerly a Product Manager on the WebLogic Server team based out of Oracle HQ. You can find my new blog at http://iamjambay.com.
Follow Me on Twitter
Oracle WebLogic

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today