Smart Plug-in for WebLogic Server User's Guide
5-18
Chapter 5: WebLogic Server SPI User Defined Metrics
Introduction to User Defined Metrics
</AttributeValueMapping>
</MBean>
</Metric>
<!-- Metric IDs that are referenced from the collector
command line must have a namespace prefix followed by
4 digits. The default namespace prefix is 'WLSSPI_'.
The 'namespace' option must be used on the command line
for the following metric since this metric has a
different prefix other than 'WLSSPI_'.
Example:
wasspi_wls_ca -c FIRST_CLIENT_60-5MIN
-x namespace=Testing_ -m 992 ...
User-defined metrics may NOT be graphed. Therefore, the
'graph' attribute on the Metric tag must be specified as
"no" or no specified at all ("no" is the default).
-->
<Metric id="Testing_0992" name="Testing_Metric" alarm="yes">
<MBean>
<ObjectName>*:*,Type=ServerRuntime</ObjectName>
<Attribute>OpenSocketsCurrentCount</Attribute>
</MBean>
</Metric>
</Metrics>
</MetricDefinitions>