Smart Plug-in for WebLogic Server User's Guide
Chapter 5: WebLogic Server SPI User Defined Metrics
Introduction to User Defined Metrics
5-15
How to Generate automatic actions (reports):
If you have a UDM for which you want an automatic report to be generated
when alarm conditions occur, you need to link the condition to the newly created
template. For example, to link metric WLSSPI-701 to the new template
UDM_0701, you would do the following:
1. Select the newly created template and click the Conditions... button, or
double-click your newly created template (in our example,
WLSSPI-0701).
2. Select the condition for which you want to generate an automatic action and
click the Modify... button.
3. In the Condition window in the Automatic Actions/Command box, insert
WLSSPI_0701.1 for the existing template as well as the -report
parameter.
The entry for a report on all servers on a managed node would be:
wasspi_wls_ca -report -m 0701 -i <$OPTION (server_name)>
or
The entry for a report on the specific instance* that caused the report on the
managed node would be:
wasspi_wls_ca -report -m 0701 -i <$OPTION (server_name)>
-o <$MSG_OBJECT>
*The specific instance is identified as the OBJECT in <$MSG_OBJECT>