Smart Plug-in for WebLogic Server User's Guide
5-4
Chapter 5: WebLogic Server SPI User Defined Metrics
Introduction to User Defined Metrics
The MBean Element
The MBean element is used when the data source of the metric is an attribute of
aJMXMBean.TheMBean element contains an ObjectName element, an
Attribute element, and, optionally, an AttributeValueMapping element. These
elements are explained as follows:
" The ObjectName element content specifies the JMX-compliant object
name of the MBean. The object name can include JMX-compliant
pattern matching.
" The Attribute element specifies the MBean attribute name.
" The AttributeValueMapping specifies numeric values that should be
substituted for the values returned by the MBean attribute. This can be
used to convert string attributes to numbers so they can be compared to
a threshold. Each AttributeValueMapping contains a number of Map
alarm
"yes"
"no"
no
"no"
Ifyes,themetricvalue
will be sent to the agent
via opcmon.
report
"yes"
"no"
no
"no"
Ifyes,themetricvalue
will be logged for
reporting.
previous
"yes"
"no"
no
"yes"
Ifyes,themetricvalueis
saved in a history file so
that deltas can be
calculated. If you are not
calcuating deltas on a
metric, set this to "no" for
better performance.
graph
"yes"
"no"
no
"no"
Graphing of user-defined
metrics is not not
supported. This must be
"no" for user-defined
metrics.
description
text
no
""
A description of the metric.
Attribute Type Required Default Description