Configuration: WLDF Mail Notification for Runtime Mbean

Weblogic Diagnostics Framework can be used to analyze, collect, archive and access diagnostic data generated by a running server and the applications deployed within its containers.

Here I have provided configuration for sending mail notification on the harversted data for the runtime Mbean which you want to monitor.

1. From <domain_name> -> Diagnostics -> Diagnostics Module Create a diagnostic module and target it to server for which WLDF module has to be used.





For the Diagnostics module created in step 1, create a Collection metrics for mbean you want to monitor:

a) Click on ‘New’ to create a Collection Metrics

b) Select the Mbean Server location for which we want to collect data. It can be DomainRuntime or ServerRuntime Mbean.

c) Select the Mbean which has to be monitored

d) Select the Attributes which you want to collect for the Runtime Mbean selected in Step 2(c)

3) Create a mail session from Services -> Mail Session

a) Specify and JNDI name for mail session and the following as mail session properties:


b) Target the mail session to a server

4) Creating a Notification:

a) From Diagnostics -> Diagnostics Module -> Watches and Notification, Create a New Notification. Specify Notification Type as SMTP (email).Here Keep ‘Enable Notification’ as Checked and click ‘Next’

b) Here select the Mail session which we configured in Step 3 along with the Email Recipients who will be receiving the mail notification for Runtime mbean. Here we can edit the format of Email notification. Click Finish.

5) Create a Watch for Runtime mbean which was mentioned in Collection Metrics configured in Step 2 (Can be Server Log as well):

a) Select the Mbean location

b) Select Mbean to be monitored

c) Select instance for which the Mbean has to be monitored. (Only one instance can be selected at a time. Note: If we want to monitor Runtime Mbean for more than one instance then we can add expression selecting the same mbean for other servers. Refer Step 5-f)

d) Select the attribute for which watch has to be configured and apply desired operation to it. Attribute should be same as what we have configured in Collection Metrics.

f) Verify the Watch Rule Expression created from the previous steps followed. If you want the same mbean to be monitored for more than one server then click on ‘Add Expression’ tab follow steps 5-a through 5-e for other server instance. We can use ‘AND’/’OR’ operations to create Watch Rule as per requirement.

g) Select Alarm on the watch

h) Select the notification which we created in step 4 and Click Finish

After all the above setting we will get an email update if the condition mentioned in the watch rule is met.

Latest Comments

  1. Faisal Khan December 1, 2009
  2. folin November 26, 2010
    • Administrator November 27, 2010
  3. folin November 29, 2010
  4. Anshul November 30, 2010
  5. sid May 7, 2011
  6. anandraj May 9, 2011
  7. satish May 16, 2012
    • Administrator June 5, 2012
  8. Neha Mittal March 27, 2013
    • Administrator March 28, 2013
  9. Pooja April 4, 2015
    • Administrator April 8, 2015

Leave a Reply