Friday, December 20, 2013

Weblogic : Extend Your Weblogic Console with WLDF

WLDF was one of the great tool in Weblogic.WLDF was just an extension before 11g but it was included in the admin console which helps in monitoring all the Weblogic Mbeans and can get other details too.

In this article we will see how we can use the WLDF console integrated in the Weblogic admin console

WebLogic uses watches to monitor all kinds of things to see how you system is performing, but not all watches are running. We will see how we can monitor the System Attributes using the WLDF Console.

First we need to create a watch to pick up notifications about the state of the CPU.

1. Click on the Diagnostic Modules in the Weblogic Console
2. In the next Screen, enter the name for the Diagnostic Module. Save
Even though the Diagnostic module was created, it did not have any metrics enabled. Click on the newly Created Diag­nos­tic mod­ule and select the Con­fig­u­ra­tion tab and Col­lected Met­rics sub tab.

3. Click New in the Configuration tab.
4. In the next screen we can choose between “Server run­time” and “Domain run­time” met­rics. (The for­mer means that met­rics will be col­lected at server level; the other option, Domain Run­time, pro­vides access to the Domain Wide met­rics and is avail­able only for the Admin Server)
Select the ‘Domain Runtime’ Metric

5. In the next screen, select the MBean as ‘’.

6. In the next screen, select from the Available Attributes to Choosen Attributes.

7. In the next Screen, select the Instances and Finish.

Now Go the Home page and Click On the ‘Monitoring DashBoard’

There will be a new Tab Opened, Inside the new Monitoring DashBoard we see
View List and Metric Browser

Select the server for which you have assigned the Diagnostic Module in this case ‘admin Server’.
Once you select this then move to the Metric Browser, Type ‘Unix’ in the Types which will show you the UnixOperatingSystem under that. Click that

Now we can see ‘java.lang:type=OperatingSystem’ in the Instances Field. Click on this which will show the available metrics in the “Metrics” fields.

Select them and drag them to the New Chart which will give you various chart information regarding the metrics we selected.

Note: Make Sure You Start the Monitoring by click on the green Button on the Top of the View List and Metric Browser tabs.

More To Come, happy learning