Smart Plug-in for WebLogic Server User's Guide

5-14
Chapter 5: WebLogic Server SPI User Defined Metrics
Introduction to User Defined Metrics
Create a UDM Template Group
To set up monitor and collector templates for UDMs, copy and rename an
existing WLS-SPI template group. Then copy and rename every existing template
you want to use. Delete the originals from the group.
To set up the UDM templates:
1. From the Window menu select the Message Source Templates.
2. In the Message Source Templates window select the WLS-SPI group you
want to use as a starting point, and click the Copy... button.
3. Name the new group according to how you plan to identify the new monitor
and collector templates; for example, you might include UDM to clearly
indicate that the group is made up of custom metric monitors.
4. In the Message Source Template window expand the new template group to
show all templates and select each template you plan to use, click the
Copy... button, and rename it according to your naming scheme.
" The names you give the new metric monitor templates in the group
would contain each new UDM number. For example, a copy of
WLSSPI-0001 could be called
WLSSPI-0701.
" The name you give the new collector monitor template would also
contain the identifying name. You also include the monitor template
name after the
-c parameter on the command line as in the example:
wasspi_wls_ca -c UDM-61-15min -m 701
In this case the copied collector template has been renamed:
UDM-61-15min
5. Delete all original templates from the new group.