Databases Reference
In-Depth Information
There's more...
Apart from the options discussed earlier, we can view more fine-grained data as well.
Collecting SAR data every minute
SAR can store statistical data in a more fine-grained time interval.
Log in as a root user to the shell and execute the following command:
[root@prod01]$ vi /etc/cron.d/sysstat
Locate the following lines:
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
Change these lines to the following:
# run system activity accounting tool every 1 minute
*/1 * * * * root /usr/lib64/sa/sa1 1 1
Type :wq! to save and close the file.
Sending e-mail notifications with WLDF
The WebLogic Diagnostic Framework (WLDF) is a set of functionalities to monitor,
collect, and analyze runtime counters, metrics, and statistical and diagnostic data from
various WebLogic Server components. The metrics can be gathered from the JRockit JVM,
the WebLogic domain, the WebLogic clusters, Managed Servers, applications, and every
component that exposes data through MBeans.
WebLogic Administrators can include active monitoring in production environments with
WLDF. It is possible to configure WebLogic to send e-mail alerts when certain conditions
and metrics are reached.
In this recipe, the WebLogic domain will be configured to send e-mail alerts when the
WebLogic thread pool from a Managed Server has queued requests waiting to be processed.
Getting ready
A mail session called EmailAlertMailSession and a diagnostic module named
EmailAlertModule will be created using the Administration Console, so make sure
the Administration Server is running.
 
Search WWH ::




Custom Search