Smart Plug-in for WebLogic Server User's Guide
Chapter 3: Using and Customizing the WebLogic Server SPI
Advanced Template Customizations
3-15
Changing the Collection Interval for All
Scheduled Metrics
To change the metric collection interval, simply change the Polling Interval in
the appropriate collector template. For example, to change the collection of
default metrics from 5 minutes to 10 minutes for the WebLogic 6.0 template
group, follow these steps:
1. Select the Message Source Templates window.
2. Select the template group SPI for WebLogic Server and open
WebLogic 6.1
→WLS-6.1-Metrics.
3. Select the collector template WLSSPI-61-05min.
4. Click the Modify... button. and change the Monitor
Name to
WLSSPI-61-10min.
5. Change the Polling Interval from 5m to 10m.
6. Modify the command line
-c parameter to reflect the new template name
(
WLSSPI-WLS61-10min) as follows:
wasspi_wls_ca -c WLSSPI-WLS61-10min....
7. Distribute the new templates (described in Chapter 2, Task 8: Distribute
WLS-SPI Templates, page 2-16).